Build Information
Successful build of Transport, reference main (37ae9d
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 02:34:48 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: 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
Fetching https://github.com/OperatorFoundation/Datable
[4/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable from cache (0.80s)
Fetching https://github.com/OperatorFoundation/Net
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net from cache (0.68s)
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)
========================================
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": "unspecified",
"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": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Datable",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/OperatorFoundation/Transport.git
[5/452] Fetching transport
Fetched https://github.com/OperatorFoundation/Transport.git from cache (0.81s)
Fetching https://github.com/OperatorFoundation/Net from cache
Fetched https://github.com/OperatorFoundation/Net from cache (0.46s)
Fetching https://github.com/OperatorFoundation/Datable from cache
Fetched https://github.com/OperatorFoundation/Datable from cache (0.48s)
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
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/Transport.git
Working copy of https://github.com/OperatorFoundation/Transport.git resolved at main (37ae9d1)
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 Arrayable.swift
[7/42] Compiling Datable CSVable.swift
[8/42] Compiling Datable Data+Arrayable.swift
[9/42] Compiling Datable Data+Base64.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+Datable.swift
[15/42] Compiling Datable Data+ExpressibleByStringLiteral.swift
[16/42] Compiling Datable Data+Floatable.swift
[17/42] Compiling Datable Data+MaybeIntable.swift
[18/42] Compiling Datable String+Intable.swift
[19/42] Compiling Datable Stringable.swift
[20/42] Compiling Datable StringableArray+CSVable.swift
[21/42] Compiling Datable Data+MaybeNetworkIntable.swift
[22/42] Compiling Datable Data+Stringable.swift
[23/42] Compiling Datable Datable.swift
[24/42] Compiling Datable DatableConfig.swift
[25/42] Compiling Datable Double+MaybeDatable.swift
[26/42] Compiling Datable Double+Stringable.swift
[27/42] Compiling Datable File.swift
[28/42] Compiling Datable Float+Floatable.swift
[29/42] Compiling Datable NetworkIntable.swift
[30/42] Compiling Datable String+Arrayable.swift
[31/42] Compiling Datable String+Datable.swift
[32/42] Compiling Datable Int+MaybeDatable.swift
[33/42] Compiling Datable Int+MaybeIntable.swift
[34/42] Compiling Datable Int+Stringable.swift
[35/42] Compiling Datable Intable.swift
[36/42] Compiling Datable MaybeDatable.swift
[37/42] Compiling Datable MaybeIntable.swift
[38/42] Compiling Datable MaybeNetworkIntable.swift
[39/42] Compiling Datable NetworkDatable.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+Stringable.swift
[44/48] Compiling Net Network+Codable.swift
[45/48] Compiling Net Network+MaybeDatable.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 NetworkConnectionFactory.swift
[51/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 |
[52/56] Compiling Transport Connection.swift
[53/56] Compiling Transport ConnectionFactory.swift
[54/56] Compiling Transport Listener.swift
[55/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)
[56/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 | }
Build complete! (22.17s)
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.