This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftXmlRpc with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/SwiftXmlRpc.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/helje5/SwiftXmlRpc
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 5449191 Update README.md
Cloned https://github.com/helje5/SwiftXmlRpc.git
Revision (git rev-parse @):
544919182a839666e3d1b007e82c14c9eadeb79c
SUCCESS checkout https://github.com/helje5/SwiftXmlRpc.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/helje5/SwiftXmlRpc.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[2/7] Write xmlrpc_call-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/16] Compiling XmlRpc XmlRpcMultiCall.swift
[6/16] Compiling XmlRpc XmlRpcValueRepresentable.swift
[7/16] Compiling XmlRpc XmlRpcUtilities.swift
[8/16] Compiling XmlRpc XmlRpcGeneration.swift
[9/16] Compiling XmlRpc XmlRpcLiterals.swift
[10/16] Compiling XmlRpc XmlRpcParser.swift
[11/16] Compiling XmlRpc XmlRpc.swift
[12/16] Emitting module XmlRpc
/Users/admin/builder/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:80:10: warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
 78 |   public enum ClientError: Swift.Error {
 79 |     case transportError            (Swift.Error)
 80 |     case httpError                 (status: Int, headers: [AnyHashable : Any])
    |          `- warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
 81 |     case noContentInResponse
 82 |     case couldNotDecodeDataAsString(Data, encoding: String.Encoding)
/Users/admin/builder/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:158:16: warning: capture of 'yield' with non-sendable type '(XmlRpcClient.ClientError?, XmlRpc.Value) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
156 |       if let error = error {
157 |         print("ERROR:", error, response as Any, data as Any)
158 |         return yield(.transportError(error), nil)
    |                |- warning: capture of 'yield' with non-sendable type '(XmlRpcClient.ClientError?, XmlRpc.Value) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
159 |       }
160 |
[13/16] Compiling XmlRpc XmlRpcClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:80:10: warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
 78 |   public enum ClientError: Swift.Error {
 79 |     case transportError            (Swift.Error)
 80 |     case httpError                 (status: Int, headers: [AnyHashable : Any])
    |          `- warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
 81 |     case noContentInResponse
 82 |     case couldNotDecodeDataAsString(Data, encoding: String.Encoding)
/Users/admin/builder/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:158:16: warning: capture of 'yield' with non-sendable type '(XmlRpcClient.ClientError?, XmlRpc.Value) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
156 |       if let error = error {
157 |         print("ERROR:", error, response as Any, data as Any)
158 |         return yield(.transportError(error), nil)
    |                |- warning: capture of 'yield' with non-sendable type '(XmlRpcClient.ClientError?, XmlRpc.Value) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
159 |       }
160 |
/Users/admin/builder/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:244:9: warning: capture of 'client' with non-sendable type 'XmlRpcClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |  */
 75 | @dynamicMemberLookup
 76 | public struct XmlRpcClient {
    |               `- note: consider making struct 'XmlRpcClient' conform to the 'Sendable' protocol
 77 |
 78 |   public enum ClientError: Swift.Error {
    :
242 |       let client = self.client
243 |       DispatchQueue.global().async {
244 |         client.call(methodCall) { error, value in
    |         `- warning: capture of 'client' with non-sendable type 'XmlRpcClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |           if let error = error { result = .failure(error) }
246 |           else                 { result = .success(value) }
/Users/admin/builder/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:245:34: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
243 |       DispatchQueue.global().async {
244 |         client.call(methodCall) { error, value in
245 |           if let error = error { result = .failure(error) }
    |                                  `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
246 |           else                 { result = .success(value) }
247 |           semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:246:34: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |         client.call(methodCall) { error, value in
245 |           if let error = error { result = .failure(error) }
246 |           else                 { result = .success(value) }
    |                                  `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
247 |           semaphore.signal()
248 |         }
error: emit-module command failed due to signal 6 (use -v to see invocation)
Assertion failed: (captureInfo.hasBeenComputed()), function operator(), file TypeLowering.cpp, line 4240.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/xmlrpc_call/main.swift -target arm64-apple-macosx10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name xmlrpc_call -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/xmlrpc_call.build/xmlrpc_call.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/xmlrpc_call.build/xmlrpc_call.swiftsourceinfo -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/xmlrpc_call.build/xmlrpc_call.emit-module.d -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/xmlrpc_call.build/xmlrpc_call.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/xmlrpc_call.build/xmlrpc_call.abi.json
1.	Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2.	Compiling with effective version 5.10
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for module xmlrpc_call)
4.	While getting lowered local captures at expression at [/Users/admin/builder/spi-builder-workspace/Sources/xmlrpc_call/main.swift:86:25 - line:93:1] RangeText="{ error, value in
  if let error = error {
    handleError(error)
  }
  print(value)
  exit(0)
"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x0000000109f53bf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000109f523bc llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000109f54238 SignalHandler(int) + 304
3  libsystem_platform.dylib 0x00000001823d1a24 _sigtramp + 56
4  libsystem_pthread.dylib  0x00000001823a1cc0 pthread_kill + 288
5  libsystem_c.dylib        0x00000001822ada40 abort + 180
6  libsystem_c.dylib        0x00000001822acd30 err + 0
7  swift-frontend           0x000000010a2ac1a4 swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_13::operator()(swift::CaptureInfo, swift::DeclContext*) const::'lambda'(swift::AccessorKind)::operator()(swift::AccessorKind) const (.cold.1) + 0
8  swift-frontend           0x00000001059c3990 std::__1::__function::__func<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_13, std::__1::allocator<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_13>, void (swift::CaptureInfo, swift::DeclContext*)>::operator()(swift::CaptureInfo&&, swift::DeclContext*&&) + 1388
9  swift-frontend           0x00000001059c49ec std::__1::__function::__func<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_14, std::__1::allocator<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_14>, void (swift::AnyFunctionRef)>::operator()(swift::AnyFunctionRef&&) + 256
10 swift-frontend           0x00000001059c35a0 std::__1::__function::__func<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_13, std::__1::allocator<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_13>, void (swift::CaptureInfo, swift::DeclContext*)>::operator()(swift::CaptureInfo&&, swift::DeclContext*&&) + 380
11 swift-frontend           0x00000001059c49ec std::__1::__function::__func<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_14, std::__1::allocator<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_14>, void (swift::AnyFunctionRef)>::operator()(swift::AnyFunctionRef&&) + 256
12 swift-frontend           0x00000001059c52a4 std::__1::__function::__func<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_15, std::__1::allocator<swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::$_15>, void (swift::SILDeclRef)>::operator()(swift::SILDeclRef&&) + 308
13 swift-frontend           0x00000001059b2c9c swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef) + 768
14 swift-frontend           0x00000001059b4fac swift::Lowering::TypeConverter::setCaptureTypeExpansionContext(swift::SILDeclRef, swift::SILModule&) + 80
15 swift-frontend           0x00000001050e1178 swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&) + 108
16 swift-frontend           0x0000000105162344 (anonymous namespace)::RValueEmitter::emitClosureReference(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&) + 64
17 swift-frontend           0x00000001051621e4 (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) + 1192
18 swift-frontend           0x000000010514a9b0 swift::Lowering::SILGenFunction::emitRValueAsSingleValue(swift::Expr*, swift::Lowering::SGFContext) + 56
19 swift-frontend           0x00000001050fdd08 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern, std::__1::optional<swift::AnyFunctionType::Param>) + 3232
20 swift-frontend           0x00000001050ef0b0 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern, std::__1::optional<swift::AnyFunctionType::Param>) + 312
21 swift-frontend           0x00000001050fc5b0 (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 192
22 swift-frontend           0x0000000105107578 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, swift::ForeignInfo const&) && + 532
23 swift-frontend           0x0000000105106f40 (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, swift::ForeignInfo const&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, std::__1::optional<swift::SILLocation>&) + 1040
24 swift-frontend           0x00000001050f2a04 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 1800
25 swift-frontend           0x00000001050f1098 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2028
26 swift-frontend           0x000000010514af88 swift::Lowering::SILGenFunction::emitIgnoredExpr(swift::Expr*) + 912
27 swift-frontend           0x00000001051ec160 swift::Lowering::SILGenTopLevel::visitTopLevelCodeDecl(swift::TopLevelCodeDecl*) + 236
28 swift-frontend           0x00000001051ea8f8 swift::Lowering::SILGenTopLevel::visitSourceFile(swift::SourceFile*) + 100
29 swift-frontend           0x00000001051ea194 swift::Lowering::SILGenModule::emitEntryPoint(swift::SourceFile*, swift::SILFunction*) + 780
30 swift-frontend           0x00000001051ebae4 swift::Lowering::SILGenModule::emitEntryPoint(swift::SourceFile*) + 228
31 swift-frontend           0x00000001050e2d54 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const + 1360
32 swift-frontend           0x00000001051dcc7c swift::SimpleRequest<swift::ASTLoweringRequest, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)9>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) + 148
33 swift-frontend           0x00000001050e8468 swift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncached<swift::ASTLoweringRequest, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()>(swift::ASTLoweringRequest const&, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()) + 340
34 swift-frontend           0x00000001050e31c0 swift::performASTLowering(swift::ModuleDecl*, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) + 144
35 swift-frontend           0x0000000104acd138 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1172
36 swift-frontend           0x0000000104ade248 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 160
37 swift-frontend           0x0000000104acf590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
38 swift-frontend           0x0000000104ace4fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
39 swift-frontend           0x00000001048e83b0 swift::mainEntry(int, char const**) + 3096
40 dyld                     0x00000001820210e0 start + 2360
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.