The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Transport, reference main (37ae9d), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 04:57:48 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/Transport.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/Transport
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 37ae9d1 .iOS(.v16) to comply with Net Package requirements
Cloned https://github.com/OperatorFoundation/Transport.git
Revision (git rev-parse @):
37ae9d195d001a7f24912794903170686a2254bb
SUCCESS checkout https://github.com/OperatorFoundation/Transport.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/OperatorFoundation/Transport.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 126]
[Planning deferred tasks]
[31 / 56]
[32 / 57] Datable
[42 / 102]
[47 / 102]
[50 / 102]
[51 / 102]
[55 / 102]
[58 / 102]
[60 / 102]
[63 / 102]
[65 / 102]
[66 / 102]
[77 / 102] Datable
[78 / 102] Datable
[86 / 103] Net
[90 / 113]
[96 / 113] Net
[103 / 114] Net
[105 / 114] Transport
[113 / 122] Transport
Build complete! (9.78 sec)
Fetching https://github.com/OperatorFoundation/Datable
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable (0.98s)
Fetching https://github.com/OperatorFoundation/Net
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net (0.79s)
Creating working copy for https://github.com/OperatorFoundation/Net
Working copy of https://github.com/OperatorFoundation/Net resolved at main (e49f54a)
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWConnection+Connection.swift:11:1: warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWConnection: Connection
   | `- warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
12 | {
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Connection.swift:9:9: note: expected sendability to match requirement here
 7 |     func cancel()
 8 |
 9 |     var stateUpdateHandler: ((NWConnection.State) -> Void)? { get set }
   |         `- note: expected sendability to match requirement here
10 |     var viabilityUpdateHandler: ((Bool) -> Void)? { get set }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWConnection+Connection.swift:11:1: warning: sendability of function types in property 'viabilityUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWConnection: Connection
   | `- warning: sendability of function types in property 'viabilityUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
12 | {
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Connection.swift:10:9: note: expected sendability to match requirement here
 8 |
 9 |     var stateUpdateHandler: ((NWConnection.State) -> Void)? { get set }
10 |     var viabilityUpdateHandler: ((Bool) -> Void)? { get set }
   |         `- note: expected sendability to match requirement here
11 |
12 |     func send(content: Data?,
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWConnection+Connection.swift:11:1: warning: sendability of function types in instance method 'receive(minimumIncompleteLength:maximumLength:completion:)' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWConnection: Connection
   | `- warning: sendability of function types in instance method 'receive(minimumIncompleteLength:maximumLength:completion:)' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
12 | {
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Connection.swift:17:10: note: expected sendability to match requirement here
15 |               completion: NWConnection.SendCompletion)
16 |
17 |     func receive(minimumIncompleteLength: Int, maximumLength: Int, completion: @escaping (Data?, NWConnection.ContentContext?, Bool, NWError?) -> Void)
   |          `- note: expected sendability to match requirement here
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWListener+Listener.swift:11:1: warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Listener'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWListener: Listener
   | `- warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Listener'; this is an error in the Swift 6 language mode
12 | {
13 |     public var newTransportConnectionHandler: ((Connection) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Listener.swift:18:9: note: expected sendability to match requirement here
16 |     var port: NWEndpoint.Port? { get }
17 |     var queue: DispatchQueue? { get }
18 |     var stateUpdateHandler: ((NWListener.State) -> Void)? { get set }
   |         `- note: expected sendability to match requirement here
19 |
20 |     func start(queue: DispatchQueue)
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWConnection+Connection.swift:11:1: warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWConnection: Connection
   | `- warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
12 | {
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Connection.swift:9:9: note: expected sendability to match requirement here
 7 |     func cancel()
 8 |
 9 |     var stateUpdateHandler: ((NWConnection.State) -> Void)? { get set }
   |         `- note: expected sendability to match requirement here
10 |     var viabilityUpdateHandler: ((Bool) -> Void)? { get set }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWConnection+Connection.swift:11:1: warning: sendability of function types in property 'viabilityUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWConnection: Connection
   | `- warning: sendability of function types in property 'viabilityUpdateHandler' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
12 | {
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Connection.swift:10:9: note: expected sendability to match requirement here
 8 |
 9 |     var stateUpdateHandler: ((NWConnection.State) -> Void)? { get set }
10 |     var viabilityUpdateHandler: ((Bool) -> Void)? { get set }
   |         `- note: expected sendability to match requirement here
11 |
12 |     func send(content: Data?,
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWConnection+Connection.swift:11:1: warning: sendability of function types in instance method 'receive(minimumIncompleteLength:maximumLength:completion:)' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWConnection: Connection
   | `- warning: sendability of function types in instance method 'receive(minimumIncompleteLength:maximumLength:completion:)' does not match requirement in protocol 'Connection'; this is an error in the Swift 6 language mode
12 | {
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Connection.swift:17:10: note: expected sendability to match requirement here
15 |               completion: NWConnection.SendCompletion)
16 |
17 |     func receive(minimumIncompleteLength: Int, maximumLength: Int, completion: @escaping (Data?, NWConnection.ContentContext?, Bool, NWError?) -> Void)
   |          `- note: expected sendability to match requirement here
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Transport/NWListener+Listener.swift:11:1: warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Listener'; this is an error in the Swift 6 language mode
 9 | import Net
10 |
11 | extension NWListener: Listener
   | `- warning: sendability of function types in property 'stateUpdateHandler' does not match requirement in protocol 'Listener'; this is an error in the Swift 6 language mode
12 | {
13 |     public var newTransportConnectionHandler: ((Connection) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Transport/Listener.swift:18:9: note: expected sendability to match requirement here
16 |     var port: NWEndpoint.Port? { get }
17 |     var queue: DispatchQueue? { get }
18 |     var stateUpdateHandler: ((NWListener.State) -> Void)? { get set }
   |         `- note: expected sendability to match requirement here
19 |
20 |     func start(queue: DispatchQueue)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "datable",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Datable"
    },
    {
      "identity" : "net",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Net"
    }
  ],
  "manifest_display_name" : "Transport",
  "name" : "Transport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Transport",
      "targets" : [
        "Transport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TransportTests",
      "module_type" : "SwiftTarget",
      "name" : "TransportTests",
      "path" : "Tests/TransportTests",
      "product_dependencies" : [
        "Datable"
      ],
      "sources" : [
        "TransportTests.swift"
      ],
      "target_dependencies" : [
        "Transport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Transport",
      "module_type" : "SwiftTarget",
      "name" : "Transport",
      "path" : "Sources/Transport",
      "product_dependencies" : [
        "Net"
      ],
      "product_memberships" : [
        "Transport"
      ],
      "sources" : [
        "Connection.swift",
        "ConnectionFactory.swift",
        "Listener.swift",
        "NWConnection+Connection.swift",
        "NWListener+Listener.swift",
        "NetworkConnectionFactory.swift",
        "ServerConfig.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.