Build Information
Successful build of WebSocket, reference main (3a934c), with Swift 6.1 for macOS (SPM) on 22 Apr 2026 01:21:08 UTC.
Swift 6 data race errors: 0
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shareup/websocket-apple.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shareup/websocket-apple
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3a934c8 Fix race conditions (#20)
Cloned https://github.com/shareup/websocket-apple.git
Revision (git rev-parse @):
3a934c8d91e85b732605d58424acf75e96114282
SUCCESS checkout https://github.com/shareup/websocket-apple.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/shareup/websocket-apple.git
https://github.com/shareup/websocket-apple.git
{
"dependencies" : [
{
"identity" : "async-extensions",
"requirement" : {
"range" : [
{
"lower_bound" : "4.3.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shareup/async-extensions.git"
},
{
"identity" : "dispatch-timer",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shareup/dispatch-timer.git"
},
{
"identity" : "websocket-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.15.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/websocket-kit.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.62.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "WebSocket",
"name" : "WebSocket",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "WebSocket",
"targets" : [
"WebSocket"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebSocketTests",
"module_type" : "SwiftTarget",
"name" : "WebSocketTests",
"path" : "Tests/WebSocketTests",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOWebSocket",
"WebSocketKit"
],
"sources" : [
"Server/ServerBootstrap+WebSocketTests.swift",
"Server/WebSocketServer.swift",
"SystemWebSocketTests.swift",
"URLSessionWebSocketTaskCloseCodeTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"WebSocket"
],
"type" : "test"
},
{
"c99name" : "WebSocket",
"module_type" : "SwiftTarget",
"name" : "WebSocket",
"path" : "Sources/WebSocket",
"product_dependencies" : [
"AsyncExtensions",
"DispatchTimer"
],
"product_memberships" : [
"WebSocket"
],
"sources" : [
"OSLog+WebSocket.swift",
"SystemURLSession.swift",
"SystemWebSocket.swift",
"WebSocket.swift",
"WebSocketClose.swift",
"WebSocketCloseCode.swift",
"WebSocketError.swift",
"WebSocketMessage.swift",
"WebSocketOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/9] Emitting module Synchronized
[7/9] Compiling Synchronized RecursiveLock.swift
[8/9] Compiling Synchronized Lock.swift
[9/9] Compiling Synchronized Locked.swift
[10/20] Compiling AsyncExtensions SequenceExtensions.swift
[11/20] Compiling AsyncExtensions TimeoutError.swift
[12/20] Compiling AsyncExtensions TaskStore.swift
[13/20] Emitting module DispatchTimer
[14/20] Compiling DispatchTimer DispatchTimer.swift
[15/20] Compiling AsyncExtensions AnyAsyncSequence.swift
[16/20] Compiling AsyncExtensions AsyncThrowingFuture.swift
[17/20] Compiling AsyncExtensions Publisher+AsyncExtensions.swift
[18/20] Emitting module AsyncExtensions
[19/20] Compiling AsyncExtensions AsyncOutputStream.swift
[20/20] Compiling AsyncExtensions AsyncInputStream.swift
[21/30] Compiling WebSocket WebSocketOptions.swift
[22/30] Compiling WebSocket WebSocketClose.swift
[23/30] Compiling WebSocket WebSocketCloseCode.swift
[24/30] Compiling WebSocket SystemWebSocket.swift
[25/30] Compiling WebSocket WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:83:45: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | receiveValue: { continuation.yield($0) }
82 | )
83 | continuation.onTermination = { _ in cancellable.cancel() }
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | return stream
85 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 | import Synchronized
[26/30] Compiling WebSocket SystemURLSession.swift
[27/30] Compiling WebSocket OSLog+WebSocket.swift
[28/30] Emitting module WebSocket
[29/30] Compiling WebSocket WebSocketError.swift
[30/30] Compiling WebSocket WebSocketMessage.swift
Build complete! (48.07s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/shareup/async-extensions.git
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/shareup/dispatch-timer.git
[1/105] Fetching dispatch-timer
[61/592] Fetching dispatch-timer, async-extensions
[183/3250] Fetching dispatch-timer, async-extensions, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (2.33s)
Fetched https://github.com/shareup/dispatch-timer.git from cache (2.33s)
Fetched https://github.com/shareup/async-extensions.git from cache (2.33s)
Fetched https://github.com/apple/swift-nio.git from cache (2.43s)
Computing version for https://github.com/shareup/dispatch-timer.git
Computed https://github.com/shareup/dispatch-timer.git at 3.0.1 (5.46s)
Fetching https://github.com/shareup/synchronized.git
[1/226] Fetching synchronized
Fetched https://github.com/shareup/synchronized.git from cache (0.60s)
Computing version for https://github.com/shareup/async-extensions.git
Computed https://github.com/shareup/async-extensions.git at 4.4.0 (1.08s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (0.57s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.46s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-nio-transport-services.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.91s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.93s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.43s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.27.0 (0.49s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.63s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.86s)
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.58s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.53s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git from cache
Fetching https://github.com/apple/swift-asn1.git from cache
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-certificates.git
[1/2745] Fetching swift-service-lifecycle
[166/9897] Fetching swift-service-lifecycle, swift-certificates
[887/16144] Fetching swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.87s)
Fetching https://github.com/apple/swift-http-types.git from cache
[2065/13399] Fetching swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-certificates.git from cache (1.09s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.10s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.10s)
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.15s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.16s)
Fetched https://github.com/apple/swift-log.git from cache (1.18s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.66s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.89s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.59s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.80s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.27s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.46s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (2.39s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (0.60s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (1.47s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.96s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.48s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (1.05s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.48s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.43.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/shareup/dispatch-timer.git
Working copy of https://github.com/shareup/dispatch-timer.git resolved at 3.0.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/shareup/async-extensions.git
Working copy of https://github.com/shareup/async-extensions.git resolved at 4.4.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/shareup/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.27.0
Build complete.
{
"dependencies" : [
{
"identity" : "async-extensions",
"requirement" : {
"range" : [
{
"lower_bound" : "4.3.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shareup/async-extensions.git"
},
{
"identity" : "dispatch-timer",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shareup/dispatch-timer.git"
},
{
"identity" : "websocket-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.15.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/websocket-kit.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.62.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "WebSocket",
"name" : "WebSocket",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "WebSocket",
"targets" : [
"WebSocket"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebSocketTests",
"module_type" : "SwiftTarget",
"name" : "WebSocketTests",
"path" : "Tests/WebSocketTests",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOWebSocket",
"WebSocketKit"
],
"sources" : [
"Server/ServerBootstrap+WebSocketTests.swift",
"Server/WebSocketServer.swift",
"SystemWebSocketTests.swift",
"URLSessionWebSocketTaskCloseCodeTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"WebSocket"
],
"type" : "test"
},
{
"c99name" : "WebSocket",
"module_type" : "SwiftTarget",
"name" : "WebSocket",
"path" : "Sources/WebSocket",
"product_dependencies" : [
"AsyncExtensions",
"DispatchTimer"
],
"product_memberships" : [
"WebSocket"
],
"sources" : [
"OSLog+WebSocket.swift",
"SystemURLSession.swift",
"SystemWebSocket.swift",
"WebSocket.swift",
"WebSocketClose.swift",
"WebSocketCloseCode.swift",
"WebSocketError.swift",
"WebSocketMessage.swift",
"WebSocketOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.