The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SignalRClient, reference master (655e8b), with Swift 6.1 for Wasm on 29 May 2025 00:31:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
62 |
63 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:67:34: error: cannot find type 'DispatchTimeInterval' in scope
65 |      - parameter retryIntervals: an array of retry intervals. If not provided the following intervals will be used 0, 2, 10 and 15 seconds.
66 |      */
67 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(15)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
68 |         self.retryIntervals = retryIntervals
69 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:71:68: error: cannot find type 'DispatchTimeInterval' in scope
69 |     }
70 |
71 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
72 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
73 |             return retryIntervals[retryIntervals.count - 1]
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:11:35: error: cannot find 'DispatchQueue' in scope
  9 |
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 12 |     private let callbackQueue: DispatchQueue
 13 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:12:32: error: cannot find type 'DispatchQueue' in scope
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
 12 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 13 |
 14 |     private let connectionFactory: () -> Connection
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:14:33: error: cannot find 'DispatchQueue' in scope
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
    |                                 `- error: cannot find 'DispatchQueue' in scope
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private var webSocketTask: URLSessionWebSocketTask?
 17 |     private var authenticationChallengeHandler:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
    |                                `- error: cannot find type 'URLSessionWebSocketTask' in scope
 17 |     private var authenticationChallengeHandler:
 18 |         (
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 19 |             (
 20 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 21 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 22 |             ) -> Void
 23 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
 83 |     }
 84 |
 85 |     private func handleMessage(message: URLSessionWebSocketTask.Message) {
    |                                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
 86 |         switch message {
 87 |         case .string(let text):
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
    |                                 `- error: cannot find type 'URLSessionWebSocketTask' in scope
139 |     ) {
140 |         logger.log(logLevel: .debug, message: "urlSession didCloseWith invoked")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
167 |     ) {
168 |         if authenticationChallengeHandler != nil {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
208 |         headers.forEach { (key, value) in
209 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
211 |     }
212 |
213 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
214 |         if let accessToken = accessTokenProvider() {
215 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
 10 |
 11 | @available(OSX 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
    |                                                        `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
[3/30] Compiling SignalRClient HubConnectionBuilder.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
[4/30] Compiling SignalRClient HubConnectionDelegate.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
[5/30] Compiling SignalRClient HubConnectionExtensions.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
[6/30] Compiling SignalRClient HubConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
[7/33] Compiling SignalRClient DefaultHttpClient.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | class DefaultHttpClient: HttpClientProtocol {
 12 |     private let options: HttpConnectionOptions
 13 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     public init(options: HttpConnectionOptions) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
 63 |     }
 64 |
 65 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 66 |         headers.forEach { (key, value) in
 67 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
 69 |     }
 70 |
 71 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
 72 |         if let accessToken = accessTokenProvider() {
 73 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
 76 | }
 77 |
 78 | private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
    |                                                           `- error: cannot find type 'URLSessionDelegate' in scope
 79 |     static var shared = DefaultHttpClientSessionDelegate()
 80 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 83 |             (
 84 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 85 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 86 |             ) -> Void
 87 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                  `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 92 |     ) {
 93 |         if let challengeHandler = authenticationChallengeHandler {
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 15 |     public init(options: HttpConnectionOptions) {
 16 |         self.options = options
 17 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
 20 |         self.session = URLSession(
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
 23 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 24 |         )
 25 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 26 |
 27 |     deinit {
 28 |         session.finishTasksAndInvalidate()
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 29 |     }
 30 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
 44 |         url: URL, method: String, body: Data?, completionHandler: @escaping (HttpResponse?, Error?) -> Swift.Void
 45 |     ) {
 46 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 47 |         urlRequest.httpMethod = method
 48 |         urlRequest.httpBody = body
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &urlRequest)
 51 |
 52 |         session.dataTask(
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             with: urlRequest,
 54 |             completionHandler: { (data, response, error) in
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 var resp: HttpResponse?
 56 |                 if error == nil {
 57 |                     resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
    |                                                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                 }
 59 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
 97 |         }
 98 |     }
[8/33] Compiling SignalRClient DefaultTransportFactory.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | class DefaultHttpClient: HttpClientProtocol {
 12 |     private let options: HttpConnectionOptions
 13 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     public init(options: HttpConnectionOptions) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
 63 |     }
 64 |
 65 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 66 |         headers.forEach { (key, value) in
 67 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
 69 |     }
 70 |
 71 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
 72 |         if let accessToken = accessTokenProvider() {
 73 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
 76 | }
 77 |
 78 | private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
    |                                                           `- error: cannot find type 'URLSessionDelegate' in scope
 79 |     static var shared = DefaultHttpClientSessionDelegate()
 80 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 83 |             (
 84 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 85 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 86 |             ) -> Void
 87 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                  `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 92 |     ) {
 93 |         if let challengeHandler = authenticationChallengeHandler {
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 15 |     public init(options: HttpConnectionOptions) {
 16 |         self.options = options
 17 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
 20 |         self.session = URLSession(
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
 23 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 24 |         )
 25 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 26 |
 27 |     deinit {
 28 |         session.finishTasksAndInvalidate()
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 29 |     }
 30 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
 44 |         url: URL, method: String, body: Data?, completionHandler: @escaping (HttpResponse?, Error?) -> Swift.Void
 45 |     ) {
 46 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 47 |         urlRequest.httpMethod = method
 48 |         urlRequest.httpBody = body
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &urlRequest)
 51 |
 52 |         session.dataTask(
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             with: urlRequest,
 54 |             completionHandler: { (data, response, error) in
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 var resp: HttpResponse?
 56 |                 if error == nil {
 57 |                     resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
    |                                                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                 }
 59 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
 97 |         }
 98 |     }
[9/33] Compiling SignalRClient HandshakeProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | class DefaultHttpClient: HttpClientProtocol {
 12 |     private let options: HttpConnectionOptions
 13 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     public init(options: HttpConnectionOptions) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
 63 |     }
 64 |
 65 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 66 |         headers.forEach { (key, value) in
 67 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
 69 |     }
 70 |
 71 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
 72 |         if let accessToken = accessTokenProvider() {
 73 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
 76 | }
 77 |
 78 | private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
    |                                                           `- error: cannot find type 'URLSessionDelegate' in scope
 79 |     static var shared = DefaultHttpClientSessionDelegate()
 80 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 83 |             (
 84 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 85 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 86 |             ) -> Void
 87 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                  `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 92 |     ) {
 93 |         if let challengeHandler = authenticationChallengeHandler {
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 15 |     public init(options: HttpConnectionOptions) {
 16 |         self.options = options
 17 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
 20 |         self.session = URLSession(
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
 23 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 24 |         )
 25 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 26 |
 27 |     deinit {
 28 |         session.finishTasksAndInvalidate()
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 29 |     }
 30 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
 44 |         url: URL, method: String, body: Data?, completionHandler: @escaping (HttpResponse?, Error?) -> Swift.Void
 45 |     ) {
 46 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 47 |         urlRequest.httpMethod = method
 48 |         urlRequest.httpBody = body
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &urlRequest)
 51 |
 52 |         session.dataTask(
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             with: urlRequest,
 54 |             completionHandler: { (data, response, error) in
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 var resp: HttpResponse?
 56 |                 if error == nil {
 57 |                     resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
    |                                                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                 }
 59 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
 97 |         }
 98 |     }
[10/33] Compiling SignalRClient HttpClientProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | class DefaultHttpClient: HttpClientProtocol {
 12 |     private let options: HttpConnectionOptions
 13 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     public init(options: HttpConnectionOptions) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
 63 |     }
 64 |
 65 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 66 |         headers.forEach { (key, value) in
 67 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
 69 |     }
 70 |
 71 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
 72 |         if let accessToken = accessTokenProvider() {
 73 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
 76 | }
 77 |
 78 | private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
    |                                                           `- error: cannot find type 'URLSessionDelegate' in scope
 79 |     static var shared = DefaultHttpClientSessionDelegate()
 80 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 83 |             (
 84 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 85 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 86 |             ) -> Void
 87 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                  `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 92 |     ) {
 93 |         if let challengeHandler = authenticationChallengeHandler {
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |
 89 |     func urlSession(
 90 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 92 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 15 |     public init(options: HttpConnectionOptions) {
 16 |         self.options = options
 17 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 18 |         sessionConfig.timeoutIntervalForRequest = options.requestTimeout
 19 |         DefaultHttpClientSessionDelegate.shared.authenticationChallengeHandler = options.authenticationChallengeHandler
 20 |         self.session = URLSession(
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
 21 |             configuration: sessionConfig,
 22 |             delegate: DefaultHttpClientSessionDelegate.shared,
 23 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 24 |         )
 25 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 26 |
 27 |     deinit {
 28 |         session.finishTasksAndInvalidate()
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 29 |     }
 30 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
 44 |         url: URL, method: String, body: Data?, completionHandler: @escaping (HttpResponse?, Error?) -> Swift.Void
 45 |     ) {
 46 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 47 |         urlRequest.httpMethod = method
 48 |         urlRequest.httpBody = body
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &urlRequest)
 51 |
 52 |         session.dataTask(
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |             with: urlRequest,
 54 |             completionHandler: { (data, response, error) in
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 var resp: HttpResponse?
 56 |                 if error == nil {
 57 |                     resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
    |                                                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                 }
 59 |
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
 94 |             challengeHandler(session, challenge, completionHandler)
 95 |         } else {
 96 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
 97 |         }
 98 |     }
[11/33] Compiling SignalRClient ClientStreamWorker.swift
[12/33] Compiling SignalRClient CodableHelpers.swift
[13/33] Compiling SignalRClient Connection.swift
[14/33] Compiling SignalRClient ConnectionDelegate.swift
[15/33] Compiling SignalRClient NegotiationResponse.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 | /// The default reconnect policy that allows providing custom intervals for connect attempts.
31 | public class DefaultReconnectPolicy: ReconnectPolicy {
32 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:44:68: error: cannot find type 'DispatchTimeInterval' in scope
42 |     }
43 |
44 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
45 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
46 |             return .never
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:53:61: error: cannot find type 'DispatchTimeInterval' in scope
51 |
52 | internal class NoReconnectPolicy: ReconnectPolicy {
53 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
54 |         return DispatchTimeInterval.never
55 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:61:26: error: cannot find type 'DispatchTimeInterval' in scope
59 | /// Does not stop when last interval was reached, instead repeats last interval infinitely.
60 | public class InfiniteReconnectPolicy: ReconnectPolicy {
61 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
62 |
63 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:67:34: error: cannot find type 'DispatchTimeInterval' in scope
65 |      - parameter retryIntervals: an array of retry intervals. If not provided the following intervals will be used 0, 2, 10 and 15 seconds.
66 |      */
67 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(15)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
68 |         self.retryIntervals = retryIntervals
69 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:71:68: error: cannot find type 'DispatchTimeInterval' in scope
69 |     }
70 |
71 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
72 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
73 |             return retryIntervals[retryIntervals.count - 1]
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:11:35: error: cannot find 'DispatchQueue' in scope
  9 |
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 12 |     private let callbackQueue: DispatchQueue
 13 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:12:32: error: cannot find type 'DispatchQueue' in scope
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
 12 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 13 |
 14 |     private let connectionFactory: () -> Connection
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:135:40: error: cannot infer contextual base in reference to member 'never'
133 |             logger.log(
134 |                 logLevel: .debug, message: "nextAttemptInterval: \(nextAttemptInterval), RetryContext: \(retryContext)")
135 |             if nextAttemptInterval != .never {
    |                                        `- error: cannot infer contextual base in reference to member 'never'
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:138:17: error: cannot find 'DispatchQueue' in scope
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
138 |                 DispatchQueue.main.asyncAfter(deadline: .now() + nextAttemptInterval) {
    |                 `- error: cannot find 'DispatchQueue' in scope
139 |                     self.startInternal()
140 |                 }
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
[16/33] Compiling SignalRClient ReconnectPolicy.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 | /// The default reconnect policy that allows providing custom intervals for connect attempts.
31 | public class DefaultReconnectPolicy: ReconnectPolicy {
32 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:44:68: error: cannot find type 'DispatchTimeInterval' in scope
42 |     }
43 |
44 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
45 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
46 |             return .never
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:53:61: error: cannot find type 'DispatchTimeInterval' in scope
51 |
52 | internal class NoReconnectPolicy: ReconnectPolicy {
53 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
54 |         return DispatchTimeInterval.never
55 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:61:26: error: cannot find type 'DispatchTimeInterval' in scope
59 | /// Does not stop when last interval was reached, instead repeats last interval infinitely.
60 | public class InfiniteReconnectPolicy: ReconnectPolicy {
61 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
62 |
63 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:67:34: error: cannot find type 'DispatchTimeInterval' in scope
65 |      - parameter retryIntervals: an array of retry intervals. If not provided the following intervals will be used 0, 2, 10 and 15 seconds.
66 |      */
67 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(15)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
68 |         self.retryIntervals = retryIntervals
69 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:71:68: error: cannot find type 'DispatchTimeInterval' in scope
69 |     }
70 |
71 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
72 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
73 |             return retryIntervals[retryIntervals.count - 1]
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:11:35: error: cannot find 'DispatchQueue' in scope
  9 |
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 12 |     private let callbackQueue: DispatchQueue
 13 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:12:32: error: cannot find type 'DispatchQueue' in scope
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
 12 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 13 |
 14 |     private let connectionFactory: () -> Connection
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:135:40: error: cannot infer contextual base in reference to member 'never'
133 |             logger.log(
134 |                 logLevel: .debug, message: "nextAttemptInterval: \(nextAttemptInterval), RetryContext: \(retryContext)")
135 |             if nextAttemptInterval != .never {
    |                                        `- error: cannot infer contextual base in reference to member 'never'
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:138:17: error: cannot find 'DispatchQueue' in scope
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
138 |                 DispatchQueue.main.asyncAfter(deadline: .now() + nextAttemptInterval) {
    |                 `- error: cannot find 'DispatchQueue' in scope
139 |                     self.startInternal()
140 |                 }
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
[17/33] Compiling SignalRClient ReconnectableConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 | /// The default reconnect policy that allows providing custom intervals for connect attempts.
31 | public class DefaultReconnectPolicy: ReconnectPolicy {
32 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:44:68: error: cannot find type 'DispatchTimeInterval' in scope
42 |     }
43 |
44 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
45 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
46 |             return .never
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:53:61: error: cannot find type 'DispatchTimeInterval' in scope
51 |
52 | internal class NoReconnectPolicy: ReconnectPolicy {
53 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
54 |         return DispatchTimeInterval.never
55 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:61:26: error: cannot find type 'DispatchTimeInterval' in scope
59 | /// Does not stop when last interval was reached, instead repeats last interval infinitely.
60 | public class InfiniteReconnectPolicy: ReconnectPolicy {
61 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
62 |
63 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:67:34: error: cannot find type 'DispatchTimeInterval' in scope
65 |      - parameter retryIntervals: an array of retry intervals. If not provided the following intervals will be used 0, 2, 10 and 15 seconds.
66 |      */
67 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(15)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
68 |         self.retryIntervals = retryIntervals
69 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:71:68: error: cannot find type 'DispatchTimeInterval' in scope
69 |     }
70 |
71 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
72 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
73 |             return retryIntervals[retryIntervals.count - 1]
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:11:35: error: cannot find 'DispatchQueue' in scope
  9 |
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 12 |     private let callbackQueue: DispatchQueue
 13 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:12:32: error: cannot find type 'DispatchQueue' in scope
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
 12 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 13 |
 14 |     private let connectionFactory: () -> Connection
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:135:40: error: cannot infer contextual base in reference to member 'never'
133 |             logger.log(
134 |                 logLevel: .debug, message: "nextAttemptInterval: \(nextAttemptInterval), RetryContext: \(retryContext)")
135 |             if nextAttemptInterval != .never {
    |                                        `- error: cannot infer contextual base in reference to member 'never'
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:138:17: error: cannot find 'DispatchQueue' in scope
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
138 |                 DispatchQueue.main.asyncAfter(deadline: .now() + nextAttemptInterval) {
    |                 `- error: cannot find 'DispatchQueue' in scope
139 |                     self.startInternal()
140 |                 }
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
[18/33] Compiling SignalRClient ServerInvocationHandler.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:27:61: error: cannot find type 'DispatchTimeInterval' in scope
25 |     - returns: time interval when the next connect attempt should take place. Returning `.never` indicates that no further connect attempts should take place.
26 |      */
27 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 | /// The default reconnect policy that allows providing custom intervals for connect attempts.
31 | public class DefaultReconnectPolicy: ReconnectPolicy {
32 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:40:34: error: cannot find type 'DispatchTimeInterval' in scope
38 |              intervals. If this fails the connection will be stopped.
39 |      */
40 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(30)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
41 |         self.retryIntervals = retryIntervals
42 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:44:68: error: cannot find type 'DispatchTimeInterval' in scope
42 |     }
43 |
44 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
45 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
46 |             return .never
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:53:61: error: cannot find type 'DispatchTimeInterval' in scope
51 |
52 | internal class NoReconnectPolicy: ReconnectPolicy {
53 |     func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                             `- error: cannot find type 'DispatchTimeInterval' in scope
54 |         return DispatchTimeInterval.never
55 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:61:26: error: cannot find type 'DispatchTimeInterval' in scope
59 | /// Does not stop when last interval was reached, instead repeats last interval infinitely.
60 | public class InfiniteReconnectPolicy: ReconnectPolicy {
61 |     let retryIntervals: [DispatchTimeInterval]
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
62 |
63 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:67:34: error: cannot find type 'DispatchTimeInterval' in scope
65 |      - parameter retryIntervals: an array of retry intervals. If not provided the following intervals will be used 0, 2, 10 and 15 seconds.
66 |      */
67 |     public init(retryIntervals: [DispatchTimeInterval] = [.milliseconds(0), .seconds(2), .seconds(10), .seconds(15)]) {
   |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
68 |         self.retryIntervals = retryIntervals
69 |     }
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift:71:68: error: cannot find type 'DispatchTimeInterval' in scope
69 |     }
70 |
71 |     public func nextAttemptInterval(retryContext: RetryContext) -> DispatchTimeInterval {
   |                                                                    `- error: cannot find type 'DispatchTimeInterval' in scope
72 |         if retryContext.failedAttemptsCount >= retryIntervals.count {
73 |             return retryIntervals[retryIntervals.count - 1]
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:11:35: error: cannot find 'DispatchQueue' in scope
  9 |
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 12 |     private let callbackQueue: DispatchQueue
 13 |
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:12:32: error: cannot find type 'DispatchQueue' in scope
 10 | internal class ReconnectableConnection: Connection {
 11 |     private let connectionQueue = DispatchQueue(label: "SignalR.reconnection.queue")
 12 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 13 |
 14 |     private let connectionFactory: () -> Connection
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:42:105: error: cannot find type 'DispatchQueue' in scope
 40 |
 41 |     init(
 42 |         connectionFactory: @escaping () -> Connection, reconnectPolicy: ReconnectPolicy, callbackQueue: DispatchQueue,
    |                                                                                                         `- error: cannot find type 'DispatchQueue' in scope
 43 |         logger: Logger
 44 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:135:40: error: cannot infer contextual base in reference to member 'never'
133 |             logger.log(
134 |                 logLevel: .debug, message: "nextAttemptInterval: \(nextAttemptInterval), RetryContext: \(retryContext)")
135 |             if nextAttemptInterval != .never {
    |                                        `- error: cannot infer contextual base in reference to member 'never'
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:138:17: error: cannot find 'DispatchQueue' in scope
136 |                 logger.log(logLevel: .debug, message: "Scheduling reconnect attempt at: \(nextAttemptInterval)")
137 |                 // TODO: not great but running on the connectionQueue deadlocks
138 |                 DispatchQueue.main.asyncAfter(deadline: .now() + nextAttemptInterval) {
    |                 `- error: cannot find 'DispatchQueue' in scope
139 |                     self.startInternal()
140 |                 }
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
[19/33] Compiling SignalRClient SignalRError.swift
[20/33] Compiling SignalRClient StreamHandle.swift
[21/33] Compiling SignalRClient TransferFormat.swift
[22/33] Compiling SignalRClient Transport.swift
[23/33] Compiling SignalRClient HubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/LongPollingTransport.swift:14:30: error: cannot find 'DispatchQueue' in scope
 12 |
 13 |     private let logger: Logger
 14 |     private let closeQueue = DispatchQueue(label: "LongPollingTransportCloseQueue")
    |                              `- error: cannot find 'DispatchQueue' in scope
 15 |
 16 |     private var active = false
[24/33] Compiling SignalRClient JSONHubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/LongPollingTransport.swift:14:30: error: cannot find 'DispatchQueue' in scope
 12 |
 13 |     private let logger: Logger
 14 |     private let closeQueue = DispatchQueue(label: "LongPollingTransportCloseQueue")
    |                              `- error: cannot find 'DispatchQueue' in scope
 15 |
 16 |     private var active = false
[25/33] Compiling SignalRClient Logger.swift
/host/spi-builder-workspace/Sources/SignalRClient/LongPollingTransport.swift:14:30: error: cannot find 'DispatchQueue' in scope
 12 |
 13 |     private let logger: Logger
 14 |     private let closeQueue = DispatchQueue(label: "LongPollingTransportCloseQueue")
    |                              `- error: cannot find 'DispatchQueue' in scope
 15 |
 16 |     private var active = false
[26/33] Compiling SignalRClient LongPollingTransport.swift
/host/spi-builder-workspace/Sources/SignalRClient/LongPollingTransport.swift:14:30: error: cannot find 'DispatchQueue' in scope
 12 |
 13 |     private let logger: Logger
 14 |     private let closeQueue = DispatchQueue(label: "LongPollingTransportCloseQueue")
    |                              `- error: cannot find 'DispatchQueue' in scope
 15 |
 16 |     private var active = false
[27/33] Compiling SignalRClient HttpConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:12:34: error: cannot find type 'DispatchQueue' in scope
 10 |
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
    |                                  `- error: cannot find type 'DispatchQueue' in scope
 13 |     private let startDispatchGroup: DispatchGroup
 14 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:13:37: error: cannot find type 'DispatchGroup' in scope
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
 13 |     private let startDispatchGroup: DispatchGroup
    |                                     `- error: cannot find type 'DispatchGroup' in scope
 14 |
 15 |     private var url: URL
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:47:27: error: cannot find 'DispatchQueue' in scope
 45 |     init(url: URL, options: HttpConnectionOptions, transportFactory: TransportFactory, logger: Logger) {
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
    |                           `- error: cannot find 'DispatchQueue' in scope
 48 |         startDispatchGroup = DispatchGroup()
 49 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:48:30: error: cannot find 'DispatchGroup' in scope
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
 48 |         startDispatchGroup = DispatchGroup()
    |                              `- error: cannot find 'DispatchGroup' in scope
 49 |
 50 |         self.url = url
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:18:37: error: cannot find type 'DispatchQueue' in scope
 16 |
 17 |     private var invocationId: Int = 0
 18 |     private let hubConnectionQueue: DispatchQueue
    |                                     `- error: cannot find type 'DispatchQueue' in scope
 19 |     private var pendingCalls = [String: ServerInvocationHandler]()
 20 |     private var callbacks = [String: (ArgumentExtractor) throws -> Void]()
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:29:36: error: cannot find type 'DispatchWorkItem' in scope
 27 |
 28 |     private let keepAliveIntervalInSeconds: Double?
 29 |     private var keepAlivePingTask: DispatchWorkItem?
    |                                    `- error: cannot find type 'DispatchWorkItem' in scope
 30 |
 31 |     private let callbackQueue: DispatchQueue
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:31:32: error: cannot find type 'DispatchQueue' in scope
 29 |     private var keepAlivePingTask: DispatchWorkItem?
 30 |
 31 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 32 |
 33 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:71:35: error: cannot find 'DispatchQueue' in scope
 69 |         self.callbackQueue = hubConnectionOptions.callbackQueue
 70 |         self.logger = logger
 71 |         self.hubConnectionQueue = DispatchQueue(label: "SignalR.hubconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:507:33: error: cannot find 'DispatchWorkItem' in scope
505 |             let originalHandshakeStatus = handshakeStatus
506 |             handshakeStatus = .handled
507 |             keepAlivePingTask = DispatchWorkItem {}
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
508 |             if let e = error {
509 |                 // TODO: (BUG) if this fails when reconnecting the callback should not be called and there
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:667:33: error: cannot find 'DispatchWorkItem' in scope
665 |             logger.log(logLevel: .debug, message: "Resetting keep alive")
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
669 |         }
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:668:53: error: cannot find 'DispatchTime' in scope
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
    |                                                     `- error: cannot find 'DispatchTime' in scope
669 |         }
670 |     }
[28/33] Compiling SignalRClient HttpConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:12:34: error: cannot find type 'DispatchQueue' in scope
 10 |
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
    |                                  `- error: cannot find type 'DispatchQueue' in scope
 13 |     private let startDispatchGroup: DispatchGroup
 14 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:13:37: error: cannot find type 'DispatchGroup' in scope
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
 13 |     private let startDispatchGroup: DispatchGroup
    |                                     `- error: cannot find type 'DispatchGroup' in scope
 14 |
 15 |     private var url: URL
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:47:27: error: cannot find 'DispatchQueue' in scope
 45 |     init(url: URL, options: HttpConnectionOptions, transportFactory: TransportFactory, logger: Logger) {
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
    |                           `- error: cannot find 'DispatchQueue' in scope
 48 |         startDispatchGroup = DispatchGroup()
 49 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:48:30: error: cannot find 'DispatchGroup' in scope
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
 48 |         startDispatchGroup = DispatchGroup()
    |                              `- error: cannot find 'DispatchGroup' in scope
 49 |
 50 |         self.url = url
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:18:37: error: cannot find type 'DispatchQueue' in scope
 16 |
 17 |     private var invocationId: Int = 0
 18 |     private let hubConnectionQueue: DispatchQueue
    |                                     `- error: cannot find type 'DispatchQueue' in scope
 19 |     private var pendingCalls = [String: ServerInvocationHandler]()
 20 |     private var callbacks = [String: (ArgumentExtractor) throws -> Void]()
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:29:36: error: cannot find type 'DispatchWorkItem' in scope
 27 |
 28 |     private let keepAliveIntervalInSeconds: Double?
 29 |     private var keepAlivePingTask: DispatchWorkItem?
    |                                    `- error: cannot find type 'DispatchWorkItem' in scope
 30 |
 31 |     private let callbackQueue: DispatchQueue
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:31:32: error: cannot find type 'DispatchQueue' in scope
 29 |     private var keepAlivePingTask: DispatchWorkItem?
 30 |
 31 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 32 |
 33 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:71:35: error: cannot find 'DispatchQueue' in scope
 69 |         self.callbackQueue = hubConnectionOptions.callbackQueue
 70 |         self.logger = logger
 71 |         self.hubConnectionQueue = DispatchQueue(label: "SignalR.hubconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:507:33: error: cannot find 'DispatchWorkItem' in scope
505 |             let originalHandshakeStatus = handshakeStatus
506 |             handshakeStatus = .handled
507 |             keepAlivePingTask = DispatchWorkItem {}
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
508 |             if let e = error {
509 |                 // TODO: (BUG) if this fails when reconnecting the callback should not be called and there
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:667:33: error: cannot find 'DispatchWorkItem' in scope
665 |             logger.log(logLevel: .debug, message: "Resetting keep alive")
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
669 |         }
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:668:53: error: cannot find 'DispatchTime' in scope
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
    |                                                     `- error: cannot find 'DispatchTime' in scope
669 |         }
670 |     }
[29/33] Compiling SignalRClient HttpResponse.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:12:34: error: cannot find type 'DispatchQueue' in scope
 10 |
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
    |                                  `- error: cannot find type 'DispatchQueue' in scope
 13 |     private let startDispatchGroup: DispatchGroup
 14 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:13:37: error: cannot find type 'DispatchGroup' in scope
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
 13 |     private let startDispatchGroup: DispatchGroup
    |                                     `- error: cannot find type 'DispatchGroup' in scope
 14 |
 15 |     private var url: URL
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:47:27: error: cannot find 'DispatchQueue' in scope
 45 |     init(url: URL, options: HttpConnectionOptions, transportFactory: TransportFactory, logger: Logger) {
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
    |                           `- error: cannot find 'DispatchQueue' in scope
 48 |         startDispatchGroup = DispatchGroup()
 49 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:48:30: error: cannot find 'DispatchGroup' in scope
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
 48 |         startDispatchGroup = DispatchGroup()
    |                              `- error: cannot find 'DispatchGroup' in scope
 49 |
 50 |         self.url = url
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:18:37: error: cannot find type 'DispatchQueue' in scope
 16 |
 17 |     private var invocationId: Int = 0
 18 |     private let hubConnectionQueue: DispatchQueue
    |                                     `- error: cannot find type 'DispatchQueue' in scope
 19 |     private var pendingCalls = [String: ServerInvocationHandler]()
 20 |     private var callbacks = [String: (ArgumentExtractor) throws -> Void]()
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:29:36: error: cannot find type 'DispatchWorkItem' in scope
 27 |
 28 |     private let keepAliveIntervalInSeconds: Double?
 29 |     private var keepAlivePingTask: DispatchWorkItem?
    |                                    `- error: cannot find type 'DispatchWorkItem' in scope
 30 |
 31 |     private let callbackQueue: DispatchQueue
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:31:32: error: cannot find type 'DispatchQueue' in scope
 29 |     private var keepAlivePingTask: DispatchWorkItem?
 30 |
 31 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 32 |
 33 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:71:35: error: cannot find 'DispatchQueue' in scope
 69 |         self.callbackQueue = hubConnectionOptions.callbackQueue
 70 |         self.logger = logger
 71 |         self.hubConnectionQueue = DispatchQueue(label: "SignalR.hubconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:507:33: error: cannot find 'DispatchWorkItem' in scope
505 |             let originalHandshakeStatus = handshakeStatus
506 |             handshakeStatus = .handled
507 |             keepAlivePingTask = DispatchWorkItem {}
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
508 |             if let e = error {
509 |                 // TODO: (BUG) if this fails when reconnecting the callback should not be called and there
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:667:33: error: cannot find 'DispatchWorkItem' in scope
665 |             logger.log(logLevel: .debug, message: "Resetting keep alive")
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
669 |         }
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:668:53: error: cannot find 'DispatchTime' in scope
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
    |                                                     `- error: cannot find 'DispatchTime' in scope
669 |         }
670 |     }
[30/33] Compiling SignalRClient HubConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:12:34: error: cannot find type 'DispatchQueue' in scope
 10 |
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
    |                                  `- error: cannot find type 'DispatchQueue' in scope
 13 |     private let startDispatchGroup: DispatchGroup
 14 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:13:37: error: cannot find type 'DispatchGroup' in scope
 11 | public class HttpConnection: Connection {
 12 |     private let connectionQueue: DispatchQueue
 13 |     private let startDispatchGroup: DispatchGroup
    |                                     `- error: cannot find type 'DispatchGroup' in scope
 14 |
 15 |     private var url: URL
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:47:27: error: cannot find 'DispatchQueue' in scope
 45 |     init(url: URL, options: HttpConnectionOptions, transportFactory: TransportFactory, logger: Logger) {
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
    |                           `- error: cannot find 'DispatchQueue' in scope
 48 |         startDispatchGroup = DispatchGroup()
 49 |
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift:48:30: error: cannot find 'DispatchGroup' in scope
 46 |         logger.log(logLevel: .debug, message: "HttpConnection init")
 47 |         connectionQueue = DispatchQueue(label: "SignalR.connection.queue")
 48 |         startDispatchGroup = DispatchGroup()
    |                              `- error: cannot find 'DispatchGroup' in scope
 49 |
 50 |         self.url = url
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:69:31: error: cannot find type 'DispatchQueue' in scope
67 |     The queue to run callbacks on
68 |      */
69 |     public var callbackQueue: DispatchQueue = DispatchQueue(label: "SignalR.connection.callbackQueue")
   |                               `- error: cannot find type 'DispatchQueue' in scope
70 |
71 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:18:37: error: cannot find type 'DispatchQueue' in scope
 16 |
 17 |     private var invocationId: Int = 0
 18 |     private let hubConnectionQueue: DispatchQueue
    |                                     `- error: cannot find type 'DispatchQueue' in scope
 19 |     private var pendingCalls = [String: ServerInvocationHandler]()
 20 |     private var callbacks = [String: (ArgumentExtractor) throws -> Void]()
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:29:36: error: cannot find type 'DispatchWorkItem' in scope
 27 |
 28 |     private let keepAliveIntervalInSeconds: Double?
 29 |     private var keepAlivePingTask: DispatchWorkItem?
    |                                    `- error: cannot find type 'DispatchWorkItem' in scope
 30 |
 31 |     private let callbackQueue: DispatchQueue
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:31:32: error: cannot find type 'DispatchQueue' in scope
 29 |     private var keepAlivePingTask: DispatchWorkItem?
 30 |
 31 |     private let callbackQueue: DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 32 |
 33 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift:20:31: error: cannot find type 'DispatchQueue' in scope
18 |     The queue to run callbacks on
19 |      */
20 |     public var callbackQueue: DispatchQueue = DispatchQueue.main
   |                               `- error: cannot find type 'DispatchQueue' in scope
21 |
22 |     /**
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:71:35: error: cannot find 'DispatchQueue' in scope
 69 |         self.callbackQueue = hubConnectionOptions.callbackQueue
 70 |         self.logger = logger
 71 |         self.hubConnectionQueue = DispatchQueue(label: "SignalR.hubconnection.queue")
    |                                   `- error: cannot find 'DispatchQueue' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:29:40: error: cannot find type 'DispatchQueue' in scope
 27 |
 28 |     init(
 29 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
 30 |         clientStreamWorkers: [ClientStreamWorker],
 31 |         invocationDidComplete: @escaping (T?, Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift:114:40: error: cannot find type 'DispatchQueue' in scope
112 |
113 |     init(
114 |         logger: Logger, callbackQueue: DispatchQueue, method: String, arguments: [Encodable],
    |                                        `- error: cannot find type 'DispatchQueue' in scope
115 |         clientStreamWorkers: [ClientStreamWorker],
116 |         streamItemReceived: @escaping (T) -> Void, invocationDidComplete: @escaping (Error?) -> Void
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:507:33: error: cannot find 'DispatchWorkItem' in scope
505 |             let originalHandshakeStatus = handshakeStatus
506 |             handshakeStatus = .handled
507 |             keepAlivePingTask = DispatchWorkItem {}
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
508 |             if let e = error {
509 |                 // TODO: (BUG) if this fails when reconnecting the callback should not be called and there
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:667:33: error: cannot find 'DispatchWorkItem' in scope
665 |             logger.log(logLevel: .debug, message: "Resetting keep alive")
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
    |                                 `- error: cannot find 'DispatchWorkItem' in scope
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
669 |         }
/host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:668:53: error: cannot find 'DispatchTime' in scope
666 |             keepAlivePingTask!.cancel()
667 |             keepAlivePingTask = DispatchWorkItem { self.sendKeepAlivePing() }
668 |             hubConnectionQueue.asyncAfter(deadline: DispatchTime.now() + keepAliveInterval, execute: keepAlivePingTask!)
    |                                                     `- error: cannot find 'DispatchTime' in scope
669 |         }
670 |     }
[31/33] Compiling SignalRClient TransportDelegate.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:14:33: error: cannot find 'DispatchQueue' in scope
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
    |                                 `- error: cannot find 'DispatchQueue' in scope
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private var webSocketTask: URLSessionWebSocketTask?
 17 |     private var authenticationChallengeHandler:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
    |                                `- error: cannot find type 'URLSessionWebSocketTask' in scope
 17 |     private var authenticationChallengeHandler:
 18 |         (
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 19 |             (
 20 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 21 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 22 |             ) -> Void
 23 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
 83 |     }
 84 |
 85 |     private func handleMessage(message: URLSessionWebSocketTask.Message) {
    |                                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
 86 |         switch message {
 87 |         case .string(let text):
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
    |                                 `- error: cannot find type 'URLSessionWebSocketTask' in scope
139 |     ) {
140 |         logger.log(logLevel: .debug, message: "urlSession didCloseWith invoked")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
167 |     ) {
168 |         if authenticationChallengeHandler != nil {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
208 |         headers.forEach { (key, value) in
209 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
211 |     }
212 |
213 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
214 |         if let accessToken = accessTokenProvider() {
215 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
 10 |
 11 | @available(OSX 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
    |                                                        `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
 37 |         authenticationChallengeHandler = options.authenticationChallengeHandler
 38 |
 39 |         var request = URLRequest(url: convertUrl(url: url))
    |                       `- error: cannot find 'URLRequest' in scope
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:89: error: cannot find 'OperationQueue' in scope
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                                                                                         `- error: cannot find 'OperationQueue' in scope
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                                                 `- error: cannot infer contextual base in reference to member 'default'
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
    |                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
 45 |             webSocketTask?.maximumMessageSize = maximumWebsocketMessageSize
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
 50 |
 51 |     public func send(data: Data, sendDidComplete: @escaping (Error?) -> Void) {
 52 |         let message = URLSessionWebSocketTask.Message.data(data)
    |                       `- error: cannot find 'URLSessionWebSocketTask' in scope
 53 |         webSocketTask?.send(message, completionHandler: sendDidComplete)
 54 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
 55 |
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                      `- error: cannot infer contextual base in reference to member 'normalClosure'
 58 |         urlSession?.finishTasksAndInvalidate()
 59 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
 55 |
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                                             `- error: 'nil' requires a contextual type
 58 |         urlSession?.finishTasksAndInvalidate()
 59 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
 58 |         urlSession?.finishTasksAndInvalidate()
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 59 |     }
 60 |
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
 86 |         switch message {
 87 |         case .string(let text):
 88 |             delegate?.transportDidReceiveData(text.data(using: .utf8)!)
    |                                                                 `- error: cannot infer contextual base in reference to member 'utf8'
 89 |         case .data(let data):
 90 |             delegate?.transportDidReceiveData(data)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 |         }
124 |
125 |         let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
    |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 |         logger.log(
127 |             logLevel: .info,
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
173 |                 logLevel: .debug,
174 |                 message: "(ws) no auth challenge handler registered - falling back to default handling")
175 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
176 |         }
177 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
173 |                 logLevel: .debug,
174 |                 message: "(ws) no auth challenge handler registered - falling back to default handling")
175 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
176 |         }
177 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
188 |
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                      `- error: cannot infer contextual base in reference to member 'normalClosure'
191 |         urlSession?.finishTasksAndInvalidate()
192 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
188 |
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                                             `- error: 'nil' requires a contextual type
191 |         urlSession?.finishTasksAndInvalidate()
192 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
191 |         urlSession?.finishTasksAndInvalidate()
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
192 |     }
193 |
[32/33] Compiling SignalRClient TransportType.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:14:33: error: cannot find 'DispatchQueue' in scope
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
    |                                 `- error: cannot find 'DispatchQueue' in scope
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private var webSocketTask: URLSessionWebSocketTask?
 17 |     private var authenticationChallengeHandler:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
    |                                `- error: cannot find type 'URLSessionWebSocketTask' in scope
 17 |     private var authenticationChallengeHandler:
 18 |         (
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 19 |             (
 20 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 21 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 22 |             ) -> Void
 23 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
 83 |     }
 84 |
 85 |     private func handleMessage(message: URLSessionWebSocketTask.Message) {
    |                                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
 86 |         switch message {
 87 |         case .string(let text):
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
    |                                 `- error: cannot find type 'URLSessionWebSocketTask' in scope
139 |     ) {
140 |         logger.log(logLevel: .debug, message: "urlSession didCloseWith invoked")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
167 |     ) {
168 |         if authenticationChallengeHandler != nil {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
208 |         headers.forEach { (key, value) in
209 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
211 |     }
212 |
213 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
214 |         if let accessToken = accessTokenProvider() {
215 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
 10 |
 11 | @available(OSX 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
    |                                                        `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
 37 |         authenticationChallengeHandler = options.authenticationChallengeHandler
 38 |
 39 |         var request = URLRequest(url: convertUrl(url: url))
    |                       `- error: cannot find 'URLRequest' in scope
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:89: error: cannot find 'OperationQueue' in scope
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                                                                                         `- error: cannot find 'OperationQueue' in scope
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                                                 `- error: cannot infer contextual base in reference to member 'default'
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
    |                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
 45 |             webSocketTask?.maximumMessageSize = maximumWebsocketMessageSize
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
 50 |
 51 |     public func send(data: Data, sendDidComplete: @escaping (Error?) -> Void) {
 52 |         let message = URLSessionWebSocketTask.Message.data(data)
    |                       `- error: cannot find 'URLSessionWebSocketTask' in scope
 53 |         webSocketTask?.send(message, completionHandler: sendDidComplete)
 54 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
 55 |
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                      `- error: cannot infer contextual base in reference to member 'normalClosure'
 58 |         urlSession?.finishTasksAndInvalidate()
 59 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
 55 |
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                                             `- error: 'nil' requires a contextual type
 58 |         urlSession?.finishTasksAndInvalidate()
 59 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
 58 |         urlSession?.finishTasksAndInvalidate()
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 59 |     }
 60 |
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
 86 |         switch message {
 87 |         case .string(let text):
 88 |             delegate?.transportDidReceiveData(text.data(using: .utf8)!)
    |                                                                 `- error: cannot infer contextual base in reference to member 'utf8'
 89 |         case .data(let data):
 90 |             delegate?.transportDidReceiveData(data)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 |         }
124 |
125 |         let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
    |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 |         logger.log(
127 |             logLevel: .info,
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
173 |                 logLevel: .debug,
174 |                 message: "(ws) no auth challenge handler registered - falling back to default handling")
175 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
176 |         }
177 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
173 |                 logLevel: .debug,
174 |                 message: "(ws) no auth challenge handler registered - falling back to default handling")
175 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
176 |         }
177 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
188 |
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                      `- error: cannot infer contextual base in reference to member 'normalClosure'
191 |         urlSession?.finishTasksAndInvalidate()
192 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
188 |
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                                             `- error: 'nil' requires a contextual type
191 |         urlSession?.finishTasksAndInvalidate()
192 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
191 |         urlSession?.finishTasksAndInvalidate()
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
192 |     }
193 |
[33/33] Compiling SignalRClient WebsocketsTransport.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:14:33: error: cannot find 'DispatchQueue' in scope
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
    |                                 `- error: cannot find 'DispatchQueue' in scope
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private var webSocketTask: URLSessionWebSocketTask?
 17 |     private var authenticationChallengeHandler:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
 15 |     private var urlSession: URLSession?
 16 |     private var webSocketTask: URLSessionWebSocketTask?
    |                                `- error: cannot find type 'URLSessionWebSocketTask' in scope
 17 |     private var authenticationChallengeHandler:
 18 |         (
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 19 |             (
 20 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
 21 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 22 |             ) -> Void
 23 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     public func urlSession(
 62 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ) {
 64 |         logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
 83 |     }
 84 |
 85 |     private func handleMessage(message: URLSessionWebSocketTask.Message) {
    |                                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
 86 |         switch message {
 87 |         case .string(let text):
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
112 |         guard error != nil else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                                               `- error: cannot find type 'URLSessionWebSocketTask' in scope
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
    |                                 `- error: cannot find type 'URLSessionWebSocketTask' in scope
139 |     ) {
140 |         logger.log(logLevel: .debug, message: "urlSession didCloseWith invoked")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 |     public func urlSession(
137 |         _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
138 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
139 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
167 |     ) {
168 |         if authenticationChallengeHandler != nil {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func urlSession(
165 |         _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
    |                                                      `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
167 |     ) {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
208 |         headers.forEach { (key, value) in
209 |             request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
211 |     }
212 |
213 |     @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
    |                                                                                                      `- error: cannot find type 'URLRequest' in scope
214 |         if let accessToken = accessTokenProvider() {
215 |             request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
 10 |
 11 | @available(OSX 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 12 | public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
    |                                                        `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
 13 |     private let logger: Logger
 14 |     private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
60 |             (
61 |                 _ session: URLSession, _ challenge: URLAuthenticationChallenge,
62 |                 _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
   |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
63 |             ) -> Void
64 |         )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
 37 |         authenticationChallengeHandler = options.authenticationChallengeHandler
 38 |
 39 |         var request = URLRequest(url: convertUrl(url: url))
    |                       `- error: cannot find 'URLRequest' in scope
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:89: error: cannot find 'OperationQueue' in scope
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                                                                                         `- error: cannot find 'OperationQueue' in scope
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
 40 |         populateHeaders(headers: options.headers, request: &request)
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
    |                                                 `- error: cannot infer contextual base in reference to member 'default'
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 41 |         setAccessToken(accessTokenProvider: options.accessTokenProvider, request: &request)
 42 |         urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
 43 |         webSocketTask = urlSession!.webSocketTask(with: request)
    |                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 44 |         if let maximumWebsocketMessageSize = options.maximumWebsocketMessageSize {
 45 |             webSocketTask?.maximumMessageSize = maximumWebsocketMessageSize
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
 50 |
 51 |     public func send(data: Data, sendDidComplete: @escaping (Error?) -> Void) {
 52 |         let message = URLSessionWebSocketTask.Message.data(data)
    |                       `- error: cannot find 'URLSessionWebSocketTask' in scope
 53 |         webSocketTask?.send(message, completionHandler: sendDidComplete)
 54 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
 55 |
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                      `- error: cannot infer contextual base in reference to member 'normalClosure'
 58 |         urlSession?.finishTasksAndInvalidate()
 59 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
 55 |
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                                             `- error: 'nil' requires a contextual type
 58 |         urlSession?.finishTasksAndInvalidate()
 59 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 56 |     public func close() {
 57 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
 58 |         urlSession?.finishTasksAndInvalidate()
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
 59 |     }
 60 |
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
 86 |         switch message {
 87 |         case .string(let text):
 88 |             delegate?.transportDidReceiveData(text.data(using: .utf8)!)
    |                                                                 `- error: cannot infer contextual base in reference to member 'utf8'
 89 |         case .data(let data):
 90 |             delegate?.transportDidReceiveData(data)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 |         }
124 |
125 |         let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
    |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 |         logger.log(
127 |             logLevel: .info,
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
173 |                 logLevel: .debug,
174 |                 message: "(ws) no auth challenge handler registered - falling back to default handling")
175 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
176 |         }
177 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
173 |                 logLevel: .debug,
174 |                 message: "(ws) no auth challenge handler registered - falling back to default handling")
175 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
176 |         }
177 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
188 |
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                      `- error: cannot infer contextual base in reference to member 'normalClosure'
191 |         urlSession?.finishTasksAndInvalidate()
192 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
188 |
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
    |                                                             `- error: 'nil' requires a contextual type
191 |         urlSession?.finishTasksAndInvalidate()
192 |     }
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
189 |     private func shutdownTransport() {
190 |         webSocketTask?.cancel(with: .normalClosure, reason: nil)
191 |         urlSession?.finishTasksAndInvalidate()
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
192 |     }
193 |
BUILD FAILURE 6.1 wasm