The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SignalRClient, reference master (655e8b), with Swift 5.10 for Linux on 3 Feb 2025 12:33:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moozzyk/SignalR-Client-Swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/moozzyk/SignalR-Client-Swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 655e8bd Add HubConnection extension methods for non-void hub methods with client streams
Cloned https://github.com/moozzyk/SignalR-Client-Swift.git
Revision (git rev-parse @):
655e8bde45b4e3fc737c8ced9da242e3a76f3e69
SUCCESS checkout https://github.com/moozzyk/SignalR-Client-Swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/moozzyk/SignalR-Client-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/31] Compiling SignalRClient SignalRError.swift
[4/31] Compiling SignalRClient StreamHandle.swift
[5/31] Compiling SignalRClient TransferFormat.swift
[6/31] Compiling SignalRClient Transport.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/34] Compiling SignalRClient NegotiationResponse.swift
[8/34] Compiling SignalRClient ReconnectPolicy.swift
[9/34] Compiling SignalRClient ReconnectableConnection.swift
[10/34] Compiling SignalRClient ServerInvocationHandler.swift
[11/34] Emitting module SignalRClient
/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.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/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.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var webSocketTask: URLSessionWebSocketTask?
                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
                                ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[12/34] Compiling SignalRClient HubConnectionBuilder.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[13/34] Compiling SignalRClient HubConnectionDelegate.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[14/34] Compiling SignalRClient HubConnectionExtensions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[15/34] Compiling SignalRClient HubConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[16/34] Compiling SignalRClient HttpConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[17/34] Compiling SignalRClient HttpConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[18/34] Compiling SignalRClient HttpResponse.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[19/34] Compiling SignalRClient HubConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[20/34] Compiling SignalRClient HubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[21/34] Compiling SignalRClient JSONHubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[22/34] Compiling SignalRClient Logger.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[23/34] Compiling SignalRClient LongPollingTransport.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
[24/34] 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.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let sessionConfig = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.session = URLSession(
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        session.finishTasksAndInvalidate()
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                                                                         ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[25/34] 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.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let sessionConfig = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.session = URLSession(
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        session.finishTasksAndInvalidate()
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                                                                         ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[26/34] 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.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let sessionConfig = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.session = URLSession(
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        session.finishTasksAndInvalidate()
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                                                                         ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[27/34] 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.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let sessionConfig = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.session = URLSession(
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        session.finishTasksAndInvalidate()
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                                                                         ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[28/34] Compiling SignalRClient ClientStreamWorker.swift
[29/34] Compiling SignalRClient CodableHelpers.swift
[30/34] Compiling SignalRClient Connection.swift
[31/34] Compiling SignalRClient ConnectionDelegate.swift
[32/34] Compiling SignalRClient TransportDelegate.swift
/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.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var webSocketTask: URLSessionWebSocketTask?
                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
                                ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
        webSocketTask = urlSession!.webSocketTask(with: request)
                        ~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
            delegate?.transportDidReceiveData(text.data(using: .utf8)!)
                                                               ~^~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:84: error: type of expression is ambiguous without a type annotation
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[33/34] Compiling SignalRClient TransportType.swift
/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.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var webSocketTask: URLSessionWebSocketTask?
                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
                                ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
        webSocketTask = urlSession!.webSocketTask(with: request)
                        ~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
            delegate?.transportDidReceiveData(text.data(using: .utf8)!)
                                                               ~^~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:84: error: type of expression is ambiguous without a type annotation
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[34/34] Compiling SignalRClient WebsocketsTransport.swift
/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.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var webSocketTask: URLSessionWebSocketTask?
                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
                                ^~~~~~~~~~~~~~~~~~~~~~~
/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.
        _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
    @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                                ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
        webSocketTask = urlSession!.webSocketTask(with: request)
                        ~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
            delegate?.transportDidReceiveData(text.data(using: .utf8)!)
                                                               ~^~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:84: error: type of expression is ambiguous without a type annotation
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                    ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux