Build Information
Successful build of WebSocketKit, reference main (7b5617
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:37:45 UTC.
Swift 6 data race errors: 0
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/alexanderwe/WebSocketKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexanderwe/WebSocketKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7b56172 chore(documentation): Generate documentation
Cloned https://github.com/alexanderwe/WebSocketKit.git
Revision (git rev-parse @):
7b561724c9ebd4fc08e08e47cd5546571b11b10b
SUCCESS checkout https://github.com/alexanderwe/WebSocketKit.git at main
========================================
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": "websocketkit",
"name": "WebSocketKit",
"url": "https://github.com/alexanderwe/WebSocketKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WebSocketKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/alexanderwe/WebSocketKit.git
[1/177] Fetching websocketkit
Fetched https://github.com/alexanderwe/WebSocketKit.git from cache (0.89s)
Creating working copy for https://github.com/alexanderwe/WebSocketKit.git
Working copy of https://github.com/alexanderwe/WebSocketKit.git resolved at main (7b56172)
warning: 'websocketkit': the target name WebSocketKit has different case on the filesystem and the Package.swift manifest file
warning: '.resolve-product-dependencies': dependency 'websocketkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/alexanderwe/WebSocketKit.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling WebSocketKit WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketKit/WebSocket.swift:74:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 |
20 | /// Websocket representaton
21 | public class WebSocket {
| `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
22 |
23 | // MARK: - Public properties
:
72 | private func listen() {
73 | connection.receiveMessage { [weak self] (data, context, _, error) in
74 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | return
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketKit/WebSocket.swift:134:46: warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 |
20 | /// Websocket representaton
21 | public class WebSocket {
| `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
22 |
23 | // MARK: - Public properties
:
132 | isComplete: true,
133 | completion: .contentProcessed({ [weak self] error in
134 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | return
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketKit/WebSocket.swift:198:39: warning: converting non-sendable function value to '@Sendable (NWConnection.State) -> Void' may introduce data races
196 |
197 | public func connect() {
198 | connection.stateUpdateHandler = connectionStateDidChange(to:)
| `- warning: converting non-sendable function value to '@Sendable (NWConnection.State) -> Void' may introduce data races
199 | connection.start(queue: queue)
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketKit/WebSocket.swift:222:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 |
20 | /// Websocket representaton
21 | public class WebSocket {
| `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
22 |
23 | // MARK: - Public properties
:
220 | public func ping(interval: TimeInterval) {
221 | pingTimer = .scheduledTimer(withTimeInterval: interval, repeats: true) { [weak self] _ in
222 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 | return
224 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketKit/WebSocket.swift:233:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 |
20 | /// Websocket representaton
21 | public class WebSocket {
| `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
22 |
23 | // MARK: - Public properties
:
231 | let metadata = NWProtocolWebSocket.Metadata(opcode: .ping)
232 | metadata.setPongHandler(queue) { [weak self] error in
233 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | return
235 | }
[4/6] Emitting module WebSocketKit
[5/6] Compiling WebSocketKit WebSocketConnection.swift
[6/6] Compiling WebSocketKit WebSocketKit.swift
Build complete! (6.70s)
warning: 'spi-builder-workspace': the target name WebSocketKit has different case on the filesystem and the Package.swift manifest file
warning: 'spi-builder-workspace': the target name WebSocketKitTests has different case on the filesystem and the Package.swift manifest file
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "WebSocketKit",
"name" : "WebSocketKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "WebSocketKit",
"targets" : [
"WebSocketKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebSocketKitTests",
"module_type" : "SwiftTarget",
"name" : "WebSocketKitTests",
"path" : "Tests/WebSocketKitTests",
"sources" : [
"WebSocketKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"WebSocketKit"
],
"type" : "test"
},
{
"c99name" : "WebSocketKit",
"module_type" : "SwiftTarget",
"name" : "WebSocketKit",
"path" : "Sources/WebSocketKit",
"product_memberships" : [
"WebSocketKit"
],
"sources" : [
"WebSocket.swift",
"WebSocketConnection.swift",
"WebSocketKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
warning: 'spi-builder-workspace': the target name WebSocketKit has different case on the filesystem and the Package.swift manifest file
warning: 'spi-builder-workspace': the target name WebSocketKitTests has different case on the filesystem and the Package.swift manifest file
Done.