Build Information
Failed to build SignalRClient, reference dev (393837), with Swift 6.4 for Wasm on 24 Sep 2026 06:03:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dotnet/signalr-client-swift.git
Reference: dev
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/dotnet/signalr-client-swift
* branch dev -> FETCH_HEAD
* [new branch] dev -> origin/dev
HEAD is now at 3938376 Fix unbounded AI stream group history (#115)
Cloned https://github.com/dotnet/signalr-client-swift.git
Revision (git rev-parse @):
3938376ded66a4b40b923a7e5dd90ff895ec9f08
SUCCESS checkout https://github.com/dotnet/signalr-client-swift.git at dev
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/dotnet/signalr-client-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/SignalRClient/AsyncLock.swift:7:16: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m5 |[0;0m
[0;36m6 |[0;0m class AsyncLock {
[0;36m7 |[0;0m let lock = [4;39mDispatchSemaphore[0;0m(value: 1)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m8 |[0;0m private var isLocked = false
[0;36m9 |[0;0m private var waitQueue: [CheckedContinuation<Void, Never>] = []
/host/spi-builder-workspace/Sources/SignalRClient/HttpClient.swift:60:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m actor DefaultHttpClient: HttpClient {
[0;36m59 |[0;0m private let logger: Logger
[0;36m60 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m init(logger: Logger) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/HttpClient.swift:158:50: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m156 |[0;0m
[0;36m157 |[0;0m extension HttpRequest {
[0;36m158 |[0;0m fileprivate func buildURLRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m159 |[0;0m guard let url = URL(string: self.url) else {
[0;36m160 |[0;0m throw SignalRError.invalidUrl(self.url)
/host/spi-builder-workspace/Sources/SignalRClient/HttpClient.swift:64:24: [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m62 |[0;0m init(logger: Logger) {
[0;36m63 |[0;0m self.logger = logger
[0;36m64 |[0;0m self.session = [4;39mURLSession(configuration: URLSessionConfiguration.default)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/HttpClient.swift:64:74: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m62 |[0;0m init(logger: Logger) {
[0;36m63 |[0;0m self.logger = logger
[0;36m64 |[0;0m self.session = URLSession(configuration: [4;39mURLSessionConfiguration[0;0m.[4;39mdefault[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:536:135: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m534 |[0;0m }
[0;36m535 |[0;0m
[0;36m536 |[0;0m private func buildURLRequest(url: String, method: String?, content: Data?, headers: [String: String]?, timeout: TimeInterval?) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m537 |[0;0m var urlRequest = URLRequest(url: URL(string: url)!)
[0;36m538 |[0;0m urlRequest.httpMethod = method ?? "GET"
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:747:28: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m745 |[0;0m
[0;36m746 |[0;0m private struct DefaultInvocationBinder: InvocationBinder, @unchecked Sendable {
[0;36m747 |[0;0m private let lock = [4;39mDispatchSemaphore[0;0m(value: 1)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m748 |[0;0m private var subscriptionHandlers: [String: SubscriptionEntity] = [:]
[0;36m749 |[0;0m private var returnValueHandler: [String: Any.Type] = [:]
/host/spi-builder-workspace/Sources/SignalRClient/MessageBuffer.swift:20:33: [1;31merror: [1;39mcannot find type 'DispatchWorkItem' in scope[0;0m
[0;36m18 |[0;0m private var waitForSequenceMessage: Bool = false;
[0;36m19 |[0;0m
[0;36m20 |[0;0m private var ackTimerHandle: [4;39mDispatchWorkItem[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchWorkItem' in scope[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m private var hubProtocol: HubProtocol;
/host/spi-builder-workspace/Sources/SignalRClient/TimeScheduler.swift:7:25: [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m5 |[0;0m
[0;36m6 |[0;0m actor TimeScheduler {
[0;36m7 |[0;0m private let queue = [4;39mDispatchQueue[0;0m(label: "com.schduler.timer")
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m8 |[0;0m private var timer: DispatchSourceTimer?
[0;36m9 |[0;0m private var interval: TimeInterval
/host/spi-builder-workspace/Sources/SignalRClient/TimeScheduler.swift:8:24: [1;31merror: [1;39mcannot find type 'DispatchSourceTimer' in scope[0;0m
[0;36m6 |[0;0m actor TimeScheduler {
[0;36m7 |[0;0m private let queue = DispatchQueue(label: "com.schduler.timer")
[0;36m8 |[0;0m private var timer: [4;39mDispatchSourceTimer[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchSourceTimer' in scope[0;0m
[0;36m9 |[0;0m private var interval: TimeInterval
[0;36m10 |[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:17:30: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m15 |[0;0m // 1. Reconnect, last Id
[0;36m16 |[0;0m // 2. event name, event handlers
[0;36m17 |[0;0m class EventSource: NSObject, [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m18 |[0;0m private let url: URL
[0;36m19 |[0;0m private let headers: [String: String]
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:24:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m private var completeHandler: ((Int?, Error?) -> Void)?
[0;36m23 |[0;0m private var messageHandler: ((String) -> Void)?
[0;36m24 |[0;0m private var urlSession: [4;39mURLSession[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m init(url: URL, headers: [String: String]?) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:69:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m67 |[0;0m task: URLSessionTask,
[0;36m68 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m69 |[0;0m newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m70 |[0;0m completionHandler: @escaping (URLRequest?) -> Void
[0;36m71 |[0;0m ) {
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:70:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m68 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m69 |[0;0m newRequest request: URLRequest,
[0;36m70 |[0;0m completionHandler: @escaping ([4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m71 |[0;0m ) {
[0;36m72 |[0;0m var newRequest = request
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:66:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m // MARK: redirect
[0;36m65 |[0;0m public func urlSession(
[0;36m66 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m task: URLSessionTask,
[0;36m68 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:67:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m public func urlSession(
[0;36m66 |[0;0m _ session: URLSession,
[0;36m67 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m69 |[0;0m newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:68:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m _ session: URLSession,
[0;36m67 |[0;0m task: URLSessionTask,
[0;36m68 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m69 |[0;0m newRequest request: URLRequest,
[0;36m70 |[0;0m completionHandler: @escaping (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:83:60: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m81 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask,
[0;36m82 |[0;0m didReceive response: URLResponse,
[0;36m83 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.ResponseDisposition)
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m84 |[0;0m -> Void
[0;36m85 |[0;0m ) {
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:81:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m // MARK: open
[0;36m80 |[0;0m public func urlSession(
[0;36m81 |[0;0m _ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m didReceive response: URLResponse,
[0;36m83 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:81:42: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m // MARK: open
[0;36m80 |[0;0m public func urlSession(
[0;36m81 |[0;0m _ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m didReceive response: URLResponse,
[0;36m83 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:82:30: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m80 |[0;0m public func urlSession(
[0;36m81 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask,
[0;36m82 |[0;0m didReceive response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m83 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition)
[0;36m84 |[0;0m -> Void
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:96:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m // MARK: data
[0;36m95 |[0;0m public func urlSession(
[0;36m96 |[0;0m _ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m didReceive data: Data
[0;36m98 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:96:42: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m // MARK: data
[0;36m95 |[0;0m public func urlSession(
[0;36m96 |[0;0m _ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m didReceive data: Data
[0;36m98 |[0;0m ) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:106:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m104 |[0;0m // MARK: complete
[0;36m105 |[0;0m public func urlSession(
[0;36m106 |[0;0m _ session: [4;39mURLSession[0;0m, task: URLSessionTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m107 |[0;0m didCompleteWithError error: (any Error)?
[0;36m108 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:106:38: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m104 |[0;0m // MARK: complete
[0;36m105 |[0;0m public func urlSession(
[0;36m106 |[0;0m _ session: URLSession, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m107 |[0;0m didCompleteWithError error: (any Error)?
[0;36m108 |[0;0m ) {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/ServerSentEventTransport.swift:117:32: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m115 |[0;0m
[0;36m116 |[0;0m private var eventSource: EventSource?
[0;36m117 |[0;0m private var dispatchQueue: [4;39mDispatchQueue[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m118 |[0;0m private var messageTask: Task<Void, Never>?
[0;36m119 |[0;0m private var messageStream: AsyncStream<String>?
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:73:31: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m protocol WebSocketConnection {
[0;36m73 |[0;0m func connect(request: [4;39mURLRequest[0;0m, transferFormat: TransferFormat) async throws
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m74 |[0;0m func send(_ data: StringOrData) async throws
[0;36m75 |[0;0m func stop(error: Error?) async throws
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:104:82: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketDelegate' in scope[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m #else
[0;36m104 |[0;0m private actor DefaultWebSocketConnection: NSObject, WebSocketConnection, [4;39mURLSessionWebSocketDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketDelegate' in scope[0;0m
[0;36m105 |[0;0m private let logger: Logger
[0;36m106 |[0;0m private let openTcs: TaskCompletionSource<Void> = TaskCompletionSource()
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:108:37: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m106 |[0;0m private let openTcs: TaskCompletionSource<Void> = TaskCompletionSource()
[0;36m107 |[0;0m
[0;36m108 |[0;0m private var urlSession: [4;39mURLSession[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m109 |[0;0m private var websocket: URLSessionWebSocketTask?
[0;36m110 |[0;0m private var receiveTask: Task<Void, Never>?
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:109:36: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m107 |[0;0m
[0;36m108 |[0;0m private var urlSession: URLSession?
[0;36m109 |[0;0m private var websocket: [4;39mURLSessionWebSocketTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m110 |[0;0m private var receiveTask: Task<Void, Never>?
[0;36m111 |[0;0m private var onReceive: OnReceiveHandler?
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:120:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m118 |[0;0m }
[0;36m119 |[0;0m
[0;36m120 |[0;0m func connect(request: [4;39mURLRequest[0;0m, transferFormat: TransferFormat) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m121 |[0;0m urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
[0;36m122 |[0;0m websocket = urlSession!.webSocketTask(with: request)
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:178:52: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m176 |[0;0m }
[0;36m177 |[0;0m
[0;36m178 |[0;0m nonisolated func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m179 |[0;0m logger.log(level: .debug, message: "(WebSockets transport) URLSession didCompleteWithError: \(String(describing: error))")
[0;36m180 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:178:70: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m176 |[0;0m }
[0;36m177 |[0;0m
[0;36m178 |[0;0m nonisolated func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m179 |[0;0m logger.log(level: .debug, message: "(WebSockets transport) URLSession didCompleteWithError: \(String(describing: error))")
[0;36m180 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:187:79: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m185 |[0;0m
[0;36m186 |[0;0m // When receive websocket close message?
[0;36m187 |[0;0m nonisolated func urlSession(_ session: URLSession, webSocketTask: [4;39mURLSessionWebSocketTask[0;0m, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m188 |[0;0m logger.log(level: .debug, message: "(WebSockets transport) URLSession didCloseWith: \(closeCode)")
[0;36m189 |[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:187:128: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m185 |[0;0m
[0;36m186 |[0;0m // When receive websocket close message?
[0;36m187 |[0;0m nonisolated func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: [4;39mURLSessionWebSocketTask[0;0m.CloseCode, reason: Data?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m188 |[0;0m logger.log(level: .debug, message: "(WebSockets transport) URLSession didCloseWith: \(closeCode)")
[0;36m189 |[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:187:52: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m185 |[0;0m
[0;36m186 |[0;0m // When receive websocket close message?
[0;36m187 |[0;0m nonisolated func urlSession(_ session: [4;39mURLSession[0;0m, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m188 |[0;0m logger.log(level: .debug, message: "(WebSockets transport) URLSession didCloseWith: \(closeCode)")
[0;36m189 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:195:79: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m193 |[0;0m }
[0;36m194 |[0;0m
[0;36m195 |[0;0m nonisolated func urlSession(_ session: URLSession, webSocketTask: [4;39mURLSessionWebSocketTask[0;0m, didOpenWithProtocol protocol: String?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m196 |[0;0m logger.log(level: .debug, message: "(WebSockets transport) urlSession didOpenWithProtocol invoked. WebSocket open")
[0;36m197 |[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:195:52: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m193 |[0;0m }
[0;36m194 |[0;0m
[0;36m195 |[0;0m nonisolated func urlSession(_ session: [4;39mURLSession[0;0m, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m196 |[0;0m logger.log(level: .debug, message: "(WebSockets transport) urlSession didOpenWithProtocol invoked. WebSocket open")
[0;36m197 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SignalRClient/AsyncLock.swift /host/spi-builder-workspace/Sources/SignalRClient/AtomicState.swift /host/spi-builder-workspace/Sources/SignalRClient/ConnectionProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/HandshakeProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/HttpClient.swift /host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnection+On.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnection+OnResult.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnectionBuilder.swift /host/spi-builder-workspace/Sources/SignalRClient/InvocationBinder.swift /host/spi-builder-workspace/Sources/SignalRClient/Logger.swift /host/spi-builder-workspace/Sources/SignalRClient/MessageBuffer.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/BinaryMessageFormat.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/HubMessage.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/HubProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/JsonHubProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/MessagePackHubProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/MessageType.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/Msgpack/MsgpackCommon.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/Msgpack/MsgpackDecoder.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/Msgpack/MsgpackEncoder.swift /host/spi-builder-workspace/Sources/SignalRClient/Protocols/TextMessageFormat.swift /host/spi-builder-workspace/Sources/SignalRClient/RetryPolicy.swift /host/spi-builder-workspace/Sources/SignalRClient/SignalRError.swift /host/spi-builder-workspace/Sources/SignalRClient/StatefulReconnectOptions.swift /host/spi-builder-workspace/Sources/SignalRClient/StreamResult.swift /host/spi-builder-workspace/Sources/SignalRClient/TaskCompletionSource.swift /host/spi-builder-workspace/Sources/SignalRClient/TimeScheduler.swift /host/spi-builder-workspace/Sources/SignalRClient/TransferFormat.swift /host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift /host/spi-builder-workspace/Sources/SignalRClient/Transport/LongPollingTransport.swift /host/spi-builder-workspace/Sources/SignalRClient/Transport/ServerSentEventTransport.swift /host/spi-builder-workspace/Sources/SignalRClient/Transport/Transport.swift /host/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift /host/spi-builder-workspace/Sources/SignalRClient/Utils.swift /host/spi-builder-workspace/Sources/SignalRClient/Version.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SignalRClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/Objects-normal/wasm32/SignalRClient_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/Objects-normal/wasm32/Modules/SignalRClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/Objects-normal/wasm32/Modules/SignalRClient.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/Objects-normal/wasm32/SignalRClient-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/Objects-normal/wasm32/SignalRClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/Objects-normal/wasm32/SignalRClient-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-webassembly-wasm32/SignalRClient-t.build/Objects-normal/wasm32/Modules/SignalRClient.swiftmodule
[27 / 35] SignalRClient
error: Build failed
BUILD FAILURE 6.4 wasm