Build Information
Successful build of SwiftXmlRpc, reference 0.8.7 (be525d
), with Swift 6.1 for Linux on 27 Apr 2025 08:15:06 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/SwiftXmlRpc.git
Reference: 0.8.7
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/helje5/SwiftXmlRpc
* tag 0.8.7 -> FETCH_HEAD
HEAD is now at be525df Merge branch 'develop'
Cloned https://github.com/helje5/SwiftXmlRpc.git
Revision (git rev-parse @):
be525dff74501f447290b1473861340f7fe416dd
SUCCESS checkout https://github.com/helje5/SwiftXmlRpc.git at 0.8.7
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/helje5/SwiftXmlRpc.git
https://github.com/helje5/SwiftXmlRpc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftXmlRpc",
"name" : "SwiftXmlRpc",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XmlRpc",
"targets" : [
"XmlRpc"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "xmlrpc_call",
"targets" : [
"xmlrpc_call"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "xmlrpc_call",
"module_type" : "SwiftTarget",
"name" : "xmlrpc_call",
"path" : "Sources/xmlrpc_call",
"product_memberships" : [
"xmlrpc_call"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XmlRpc"
],
"type" : "executable"
},
{
"c99name" : "XmlRpcTests",
"module_type" : "SwiftTarget",
"name" : "XmlRpcTests",
"path" : "Tests/XmlRpcTests",
"sources" : [
"GenerationTests.swift",
"ParserTests.swift",
"TestData.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"XmlRpc"
],
"type" : "test"
},
{
"c99name" : "XmlRpc",
"module_type" : "SwiftTarget",
"name" : "XmlRpc",
"path" : "Sources/XmlRpc",
"product_memberships" : [
"XmlRpc",
"xmlrpc_call"
],
"sources" : [
"XmlRpc.swift",
"XmlRpcClient.swift",
"XmlRpcGeneration.swift",
"XmlRpcLiterals.swift",
"XmlRpcMultiCall.swift",
"XmlRpcParser.swift",
"XmlRpcUtilities.swift",
"XmlRpcValueRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling XmlRpc XmlRpcLiterals.swift
[5/16] Compiling XmlRpc XmlRpcValueRepresentable.swift
[6/16] Compiling XmlRpc XmlRpcClient.swift
/host/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)
/host/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 |
/host/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) }
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:244:21: warning: capture of 'methodCall' with non-sendable type 'XmlRpc.Call' in a '@Sendable' closure; this is an error in the Swift 6 language mode
242 | let client = self.client
243 | DispatchQueue.global().async {
244 | client.call(methodCall) { error, value in
| `- warning: capture of 'methodCall' with non-sendable type 'XmlRpc.Call' 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) }
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpc.swift:40:10: note: consider making struct 'Call' conform to the 'Sendable' protocol
38 | */
39 | @frozen
40 | struct Call: Equatable {
| `- note: consider making struct 'Call' conform to the 'Sendable' protocol
41 |
42 | public var methodName = ""
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:245:34: warning: capture of 'result' with non-sendable type 'Result<XmlRpc.Value, any Error>?' in a '@Sendable' closure; 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: capture of 'result' with non-sendable type 'Result<XmlRpc.Value, any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
246 | else { result = .success(value) }
247 | semaphore.signal()
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpc.swift:19:8: note: consider making enum 'Value' conform to the 'Sendable' protocol
17 | */
18 | @frozen
19 | enum Value: Hashable {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
20 |
21 | case null
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:245:34: warning: capture of 'result' with non-sendable type 'Result<XmlRpc.Value, any Error>?' in an isolated closure; 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: capture of 'result' with non-sendable type 'Result<XmlRpc.Value, any Error>?' in an isolated closure; this is an error in the Swift 6 language mode
246 | else { result = .success(value) }
247 | semaphore.signal()
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpc.swift:19:8: note: consider making enum 'Value' conform to the 'Sendable' protocol
17 | */
18 | @frozen
19 | enum Value: Hashable {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
20 |
21 | case null
/host/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()
/host/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 | }
[7/16] Emitting module XmlRpc
/host/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)
/host/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 |
[8/16] Compiling XmlRpc XmlRpc.swift
[9/16] Compiling XmlRpc XmlRpcUtilities.swift
[10/16] Compiling XmlRpc XmlRpcMultiCall.swift
[11/16] Compiling XmlRpc XmlRpcGeneration.swift
[12/16] Compiling XmlRpc XmlRpcParser.swift
[13/17] Wrapping AST for XmlRpc for debugging
[15/19] Compiling xmlrpc_call main.swift
[16/19] Emitting module xmlrpc_call
[17/20] Wrapping AST for xmlrpc_call for debugging
[18/20] Write Objects.LinkFileList
[19/20] Linking xmlrpc_call
Build complete! (9.62s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftXmlRpc",
"name" : "SwiftXmlRpc",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XmlRpc",
"targets" : [
"XmlRpc"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "xmlrpc_call",
"targets" : [
"xmlrpc_call"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "xmlrpc_call",
"module_type" : "SwiftTarget",
"name" : "xmlrpc_call",
"path" : "Sources/xmlrpc_call",
"product_memberships" : [
"xmlrpc_call"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XmlRpc"
],
"type" : "executable"
},
{
"c99name" : "XmlRpcTests",
"module_type" : "SwiftTarget",
"name" : "XmlRpcTests",
"path" : "Tests/XmlRpcTests",
"sources" : [
"GenerationTests.swift",
"ParserTests.swift",
"TestData.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"XmlRpc"
],
"type" : "test"
},
{
"c99name" : "XmlRpc",
"module_type" : "SwiftTarget",
"name" : "XmlRpc",
"path" : "Sources/XmlRpc",
"product_memberships" : [
"XmlRpc",
"xmlrpc_call"
],
"sources" : [
"XmlRpc.swift",
"XmlRpcClient.swift",
"XmlRpcGeneration.swift",
"XmlRpcLiterals.swift",
"XmlRpcMultiCall.swift",
"XmlRpcParser.swift",
"XmlRpcUtilities.swift",
"XmlRpcValueRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.