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 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moozzyk/SignalR-Client-Swift.git
Reference: 1.1.0
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
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 11e727b Bump SignalRClientSwift to 1.1.0
Cloned https://github.com/moozzyk/SignalR-Client-Swift.git
Revision (git rev-parse @):
11e727b217b67b1440612df8aa0516d3013cccba
SUCCESS checkout https://github.com/moozzyk/SignalR-Client-Swift.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/moozzyk/SignalR-Client-Swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/30] 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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ 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:77:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:100: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:100: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:119:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:152: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:179:95: 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:185: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 {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/33] Compiling SignalRClient DefaultTransportFactory.swift
/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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[5/33] Compiling SignalRClient HandshakeProtocol.swift
/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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[6/33] Compiling SignalRClient HttpClientProtocol.swift
/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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[7/33] Compiling SignalRClient HttpConnection.swift
/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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[8/33] Compiling SignalRClient CodableHelpers.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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate 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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:41:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:47:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: urlRequest, completionHandler: { (data, response, error) in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:51:102: 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:51:80: 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:80:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:80:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[9/33] Compiling SignalRClient Connection.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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate 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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:41:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:47:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: urlRequest, completionHandler: { (data, response, error) in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:51:102: 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:51:80: 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:80:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:80:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[10/33] Compiling SignalRClient ConnectionDelegate.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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate 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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:41:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:47:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: urlRequest, completionHandler: { (data, response, error) in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:51:102: 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:51:80: 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:80:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:80:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[11/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.
    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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate 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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:41:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:47:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: urlRequest, completionHandler: { (data, response, error) in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:51:102: 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:51:80: 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:80:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:80:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[12/33] Compiling SignalRClient ReconnectPolicy.swift
[13/33] Compiling SignalRClient ReconnectableConnection.swift
[14/33] Compiling SignalRClient ServerInvocationHandler.swift
[15/33] Compiling SignalRClient SignalRError.swift
[16/33] Compiling SignalRClient StreamHandle.swift
[17/33] Compiling SignalRClient TransferFormat.swift
[18/33] Compiling SignalRClient Transport.swift
[19/33] Compiling SignalRClient JSONHubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[20/33] Compiling SignalRClient Logger.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[21/33] Compiling SignalRClient LongPollingTransport.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[22/33] Compiling SignalRClient NegotiationResponse.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[23/33] 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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ 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:77:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:100: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:100: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:119:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:152: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:179:95: 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:185: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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:33:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:36: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:36: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:37: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:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:51: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:51:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:80: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:113: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:147:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:147:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:162: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:162:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:163:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[24/33] 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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ 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:77:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:100: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:100: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:119:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:152: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:179:95: 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:185: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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:33:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:36: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:36: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:37: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:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:51: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:51:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:80: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:113: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:147:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:147:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:162: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:162:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:163:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[25/33] 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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ 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:77:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:100: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:100: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:119:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:152: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:179:95: 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:185: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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:33:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:36: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:36: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:37: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:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:51: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:51:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:80: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:113: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:147:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:147:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:162: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:162:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:163:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[26/33] Compiling SignalRClient HubConnectionDelegate.swift
[27/33] Compiling SignalRClient HubConnectionExtensions.swift
[28/33] Compiling SignalRClient HubConnectionOptions.swift
[29/33] Compiling SignalRClient HubProtocol.swift
[30/33] Compiling SignalRClient HttpConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[31/33] Compiling SignalRClient HttpResponse.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[32/33] Compiling SignalRClient HubConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[33/33] Compiling SignalRClient HubConnectionBuilder.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling SignalRClient CodableHelpers.swift
[3/19] Compiling SignalRClient Connection.swift
[4/19] Compiling SignalRClient ConnectionDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/21] 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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ 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:77:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:100: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:100: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:119:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:152: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:179:95: 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:185: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 {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[6/22] Compiling SignalRClient NegotiationResponse.swift
[7/22] Compiling SignalRClient TransportDelegate.swift
[8/22] Compiling SignalRClient HubConnectionBuilder.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[9/22] Compiling SignalRClient JSONHubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[10/22] Compiling SignalRClient Logger.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[11/22] Compiling SignalRClient LongPollingTransport.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[12/22] Compiling SignalRClient HttpClientProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[13/22] Compiling SignalRClient HttpConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[14/22] Compiling SignalRClient HttpConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
[15/26] 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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ 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:77:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:100: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:100: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:119:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:152: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:179:95: 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:185: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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:33:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:36: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:36: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:37: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:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:51: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:51:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:80: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:113: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:147:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:147:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:162: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:162:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:163:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[16/26] 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:17:158: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    private var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:55:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ 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:77:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private func handleMessage(message: URLSessionWebSocketTask.Message) {
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:100: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:100: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:119:66: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:115: error: cannot find type 'URLSessionWebSocketTask' in scope
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:119:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:152: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:141:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:179:95: 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:185: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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:33:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: convertUrl(url: url))
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:36: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:36: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:37: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:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(data)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:51: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:51:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:80: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:113: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:147:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:147:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:162: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:162:61: error: 'nil' requires a contextual type
        webSocketTask?.cancel(with: .normalClosure, reason: nil)
                                                            ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:163:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession?.finishTasksAndInvalidate()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[17/27] Compiling SignalRClient Transport.swift
[18/27] Compiling SignalRClient ServerInvocationHandler.swift
[19/27] Compiling SignalRClient HubConnectionExtensions.swift
[20/27] Compiling SignalRClient ReconnectableConnection.swift
[21/27] Compiling SignalRClient HttpResponse.swift
[22/27] Compiling SignalRClient HubConnection.swift
[23/27] 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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate 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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:41:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:47:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: urlRequest, completionHandler: { (data, response, error) in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:51:102: 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:51:80: 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:80:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:80:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[24/27] 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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate 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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:41:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:47:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: urlRequest, completionHandler: { (data, response, error) in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:51:102: 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:51:80: 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:80:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:80:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[25/27] 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:58:95: 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:64: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:74:150: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
                                                                                                                                          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                           ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:76:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate 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:58:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public var authenticationChallengeHandler: ((_ session: URLSession, _ challenge: URLAuthenticationChallenge, _ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> 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:41:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:47:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: urlRequest, completionHandler: { (data, response, error) in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:51:102: 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:51:80: 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:80:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:80:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[26/28] Compiling SignalRClient HubProtocol.swift
[27/28] Compiling SignalRClient ReconnectPolicy.swift
[28/28] Compiling SignalRClient HubConnectionDelegate.swift
error: fatalError
BUILD FAILURE 5.10 linux