Build Information
Successful build of Transport, reference 2.3.14 (20f514
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 02:33:45 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/Transport.git
Reference: 2.3.14
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/Transport
* tag 2.3.14 -> FETCH_HEAD
HEAD is now at 20f5143 Update Package.swift
Cloned https://github.com/OperatorFoundation/Transport.git
Revision (git rev-parse @):
20f514391d9d7423cf75bde04c98101ffa7b612f
SUCCESS checkout https://github.com/OperatorFoundation/Transport.git at 2.3.14
Fetching https://github.com/OperatorFoundation/Net
Fetching https://github.com/OperatorFoundation/Datable
[1/399] Fetching datable
[277/504] Fetching datable, net
Fetched https://github.com/OperatorFoundation/Net from cache (0.78s)
Fetched https://github.com/OperatorFoundation/Datable from cache (0.78s)
Computing version for https://github.com/OperatorFoundation/Net
Computed https://github.com/OperatorFoundation/Net at 0.0.11 (0.50s)
Computing version for https://github.com/OperatorFoundation/Datable
Computed https://github.com/OperatorFoundation/Datable at 4.0.1 (0.50s)
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at 4.0.1
Creating working copy for https://github.com/OperatorFoundation/Net
Working copy of https://github.com/OperatorFoundation/Net resolved at 0.0.11
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "transport",
"name": "Transport",
"url": "https://github.com/OperatorFoundation/Transport.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Transport",
"dependencies": [
{
"identity": "net",
"name": "Net",
"url": "https://github.com/OperatorFoundation/Net",
"version": "0.0.11",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Net",
"dependencies": [
{
"identity": "datable",
"name": "Datable",
"url": "https://github.com/OperatorFoundation/Datable",
"version": "4.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Datable",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/OperatorFoundation/Transport.git
[1/452] Fetching transport
Fetched https://github.com/OperatorFoundation/Transport.git from cache (0.78s)
Fetching https://github.com/OperatorFoundation/Net from cache
Fetched https://github.com/OperatorFoundation/Net from cache (0.46s)
Computing version for https://github.com/OperatorFoundation/Net
Computed https://github.com/OperatorFoundation/Net at 0.0.11 (0.02s)
Fetching https://github.com/OperatorFoundation/Datable from cache
Fetched https://github.com/OperatorFoundation/Datable from cache (0.49s)
Computing version for https://github.com/OperatorFoundation/Datable
Computed https://github.com/OperatorFoundation/Datable at 4.0.1 (0.03s)
Creating working copy for https://github.com/OperatorFoundation/Transport.git
Working copy of https://github.com/OperatorFoundation/Transport.git resolved at 2.3.14 (20f5143)
Creating working copy for https://github.com/OperatorFoundation/Net
Working copy of https://github.com/OperatorFoundation/Net resolved at 0.0.11
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at 4.0.1
warning: '.resolve-product-dependencies': dependency 'transport' is not used by any target
Found 1 product dependencies
- Net
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/OperatorFoundation/Transport.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/39] Emitting module Datable
[6/42] Compiling Datable Double+MaybeDatable.swift
[7/42] Compiling Datable Double+Stringable.swift
[8/42] Compiling Datable File.swift
[9/42] Compiling Datable Float+Floatable.swift
[10/42] Compiling Datable Float+MaybeDatable.swift
[11/42] Compiling Datable Float+MaybeIntable.swift
[12/42] Compiling Datable Floatable.swift
[13/42] Compiling Datable Int+Floatable.swift
[14/42] Compiling Datable Data+MaybeNetworkIntable.swift
[15/42] Compiling Datable Data+Stringable.swift
[16/42] Compiling Datable Datable.swift
[17/42] Compiling Datable DatableConfig.swift
[18/42] Compiling Datable MaybeDatable.swift
[19/42] Compiling Datable MaybeIntable.swift
[20/42] Compiling Datable MaybeNetworkIntable.swift
[21/42] Compiling Datable NetworkDatable.swift
[22/42] Compiling Datable NetworkIntable.swift
[23/42] Compiling Datable String+Arrayable.swift
[24/42] Compiling Datable String+Datable.swift
[25/42] Compiling Datable String+Intable.swift
[26/42] Compiling Datable Stringable.swift
[27/42] Compiling Datable StringableArray+CSVable.swift
[28/42] Compiling Datable Data+Datable.swift
[29/42] Compiling Datable Data+ExpressibleByStringLiteral.swift
[30/42] Compiling Datable Data+Floatable.swift
[31/42] Compiling Datable Data+MaybeIntable.swift
[32/42] Compiling Datable Arrayable.swift
[33/42] Compiling Datable CSVable.swift
[34/42] Compiling Datable Data+Arrayable.swift
[35/42] Compiling Datable Data+Base64.swift
[36/42] Compiling Datable Int+MaybeDatable.swift
[37/42] Compiling Datable Int+MaybeIntable.swift
[38/42] Compiling Datable Int+Stringable.swift
[39/42] Compiling Datable Intable.swift
[40/42] Compiling Datable UInt+Datable.swift
[41/42] Compiling Datable UInt+MaybeNetworkDatable.swift
[42/42] Compiling Datable UInt+Stringable.swift
[43/48] Compiling Net Network+MaybeDatable.swift
[44/48] Compiling Net Network+Codable.swift
[45/48] Compiling Net Network+Stringable.swift
[46/48] Compiling Net Ipify.swift
[47/48] Emitting module Net
[48/48] Compiling Net Net.swift
[49/56] Compiling Transport ServerConfig.swift
[50/56] Compiling Transport NWConnection+Connection.swift
/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 |
[51/56] Compiling Transport Listener.swift
[52/56] Compiling Transport NWListener+Listener.swift
/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/NWListener+Listener.swift:50:21: warning: capture of 'handler' with non-sendable type '(any Connection) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 | (connection: NWConnection) in
49 |
50 | handler(connection)
| |- warning: capture of 'handler' with non-sendable type '(any Connection) -> 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'
51 | }
52 | }
[53/56] Compiling Transport ConnectionFactory.swift
[54/56] Compiling Transport NetworkConnectionFactory.swift
[55/56] Compiling Transport Connection.swift
[56/56] Emitting module Transport
/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! (24.95s)
Build complete.
{
"dependencies" : [
{
"identity" : "datable",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/Datable"
},
{
"identity" : "net",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.11",
"upper_bound" : "1.0.0"
}
]
},
"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.