The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftXmlRpc, reference 1.0.0 (5e813f), with Swift 6.1 for macOS (SPM) on 22 Apr 2026 05:24:43 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/SwiftXmlRpc.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/helje5/SwiftXmlRpc
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5e813fa Merge branch 'develop'
Cloned https://github.com/helje5/SwiftXmlRpc.git
Revision (git rev-parse @):
5e813fa68d3b2223b34632b3af36d05c7c4edb67
SUCCESS checkout https://github.com/helje5/SwiftXmlRpc.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/helje5/SwiftXmlRpc.git
https://github.com/helje5/SwiftXmlRpc.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftXmlRpc",
  "name" : "SwiftXmlRpc",
  "path" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/7] Write sources
[2/7] Write xmlrpc_call-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/16] Compiling XmlRpc XmlRpcUtilities.swift
[6/16] Compiling XmlRpc XmlRpcLiterals.swift
[7/16] Compiling XmlRpc XmlRpcValueRepresentable.swift
[8/16] Compiling XmlRpc XmlRpcMultiCall.swift
[9/16] Compiling XmlRpc XmlRpcParser.swift
[10/16] Compiling XmlRpc XmlRpcGeneration.swift
[11/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
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
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
159 |       }
160 |
[12/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
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
    |                `- 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
 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
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 |         }
[13/16] Compiling XmlRpc XmlRpc.swift
[14/18] Emitting module xmlrpc_call
[15/18] Compiling xmlrpc_call main.swift
[15/18] Write Objects.LinkFileList
[16/18] Linking xmlrpc_call
[17/18] Applying xmlrpc_call
Build complete! (5.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftXmlRpc",
  "name" : "SwiftXmlRpc",
  "path" : "/Users/admin/builder/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"
}
Done.