The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftXmlRpc, reference develop (83f914), with Swift 6.1 for Linux on 22 Apr 2026 05:09:56 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/SwiftXmlRpc.git
Reference: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 83f9140 Move Sendable markers to extension
Cloned https://github.com/helje5/SwiftXmlRpc.git
Revision (git rev-parse @):
83f9140a080defa50026a458675ba4e1f316549c
SUCCESS checkout https://github.com/helje5/SwiftXmlRpc.git at develop
========================================
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling XmlRpc XmlRpcGeneration.swift
[5/16] Compiling XmlRpc XmlRpc.swift
[6/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 |
[7/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: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 |         }
[8/16] Compiling XmlRpc XmlRpcValueRepresentable.swift
[9/16] Compiling XmlRpc XmlRpcParser.swift
[10/16] Compiling XmlRpc XmlRpcLiterals.swift
[11/16] Compiling XmlRpc XmlRpcMultiCall.swift
[12/16] Compiling XmlRpc XmlRpcUtilities.swift
[13/17] Wrapping AST for XmlRpc for debugging
[15/19] Emitting module xmlrpc_call
[16/19] Compiling xmlrpc_call main.swift
[17/20] Wrapping AST for xmlrpc_call for debugging
[18/20] Write Objects.LinkFileList
[19/20] Linking xmlrpc_call
Build complete! (12.42s)
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 swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.