The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SignalRClient with Swift 5.8 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.28.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.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/28] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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/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:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/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) {
                                                                                                     ^~~~~~~~~~
[2/31] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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: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)
                                                       ^
[3/31] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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: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)
                                                       ^
[4/31] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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: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)
                                                       ^
[5/31] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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: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)
                                                       ^
[6/31] Compiling SignalRClient DefaultTransportFactory.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[7/31] Compiling SignalRClient HandshakeProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/31] Compiling SignalRClient HttpClientProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/31] Compiling SignalRClient HttpConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/31] Compiling SignalRClient TransportDelegate.swift
/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/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/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 more context
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:134:26: error: cannot infer contextual base in reference to member 'normalClosure'
        if closeCode == .normalClosure {
                        ~^~~~~~~~~~~~~
/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()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[11/31] Compiling SignalRClient TransportType.swift
/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/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/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 more context
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:134:26: error: cannot infer contextual base in reference to member 'normalClosure'
        if closeCode == .normalClosure {
                        ~^~~~~~~~~~~~~
/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()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[12/31] Compiling SignalRClient WebsocketsTransport.swift
/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/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/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 more context
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:134:26: error: cannot infer contextual base in reference to member 'normalClosure'
        if closeCode == .normalClosure {
                        ~^~~~~~~~~~~~~
/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()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[13/31] Compiling SignalRClient JSONHubProtocol.swift
[14/31] Compiling SignalRClient Logger.swift
[15/31] Compiling SignalRClient LongPollingTransport.swift
[16/31] Compiling SignalRClient NegotiationResponse.swift
[17/31] Compiling SignalRClient ReconnectPolicy.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: error: binary operator '!=' cannot be applied to two 'DispatchTimeInterval' operands
            if nextAttemptInterval != .never {
               ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: note: binary operator '!=' cannot be synthesized for enums with associated values
            if nextAttemptInterval != .never {
                                   ^
[18/31] Compiling SignalRClient ReconnectableConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: error: binary operator '!=' cannot be applied to two 'DispatchTimeInterval' operands
            if nextAttemptInterval != .never {
               ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: note: binary operator '!=' cannot be synthesized for enums with associated values
            if nextAttemptInterval != .never {
                                   ^
[19/31] Compiling SignalRClient ServerInvocationHandler.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: error: binary operator '!=' cannot be applied to two 'DispatchTimeInterval' operands
            if nextAttemptInterval != .never {
               ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: note: binary operator '!=' cannot be synthesized for enums with associated values
            if nextAttemptInterval != .never {
                                   ^
[20/31] Compiling SignalRClient SignalRError.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: error: binary operator '!=' cannot be applied to two 'DispatchTimeInterval' operands
            if nextAttemptInterval != .never {
               ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: note: binary operator '!=' cannot be synthesized for enums with associated values
            if nextAttemptInterval != .never {
                                   ^
[21/31] Compiling SignalRClient HubConnectionDelegate.swift
[22/31] Compiling SignalRClient HubConnectionExtensions.swift
[23/31] Compiling SignalRClient HubConnectionOptions.swift
[24/31] Compiling SignalRClient HubProtocol.swift
[25/31] Compiling SignalRClient StreamHandle.swift
[26/31] Compiling SignalRClient TransferFormat.swift
[27/31] Compiling SignalRClient Transport.swift
[28/31] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[29/31] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[30/31] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[31/31] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[0/1] Planning build
Building for debugging...
[1/18] Compiling SignalRClient CodableHelpers.swift
[2/18] Compiling SignalRClient Connection.swift
[3/18] Compiling SignalRClient ConnectionDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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/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:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/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) {
                                                                                                     ^~~~~~~~~~
[5/21] Compiling SignalRClient SignalRError.swift
[6/21] Compiling SignalRClient TransportDelegate.swift
[7/21] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[8/21] Compiling SignalRClient ReconnectPolicy.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/21] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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: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)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/21] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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: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)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[11/21] 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:71:63: error: cannot find type 'URLSessionDelegate' in scope
fileprivate class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
                                                              ^~~~~~~~~~~~~~~~~~
/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: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)
                                                       ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[12/21] Compiling SignalRClient ReconnectableConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: error: binary operator '!=' cannot be applied to two 'DispatchTimeInterval' operands
            if nextAttemptInterval != .never {
               ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: note: binary operator '!=' cannot be synthesized for enums with associated values
            if nextAttemptInterval != .never {
                                   ^
[13/21] Compiling SignalRClient ServerInvocationHandler.swift
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: error: binary operator '!=' cannot be applied to two 'DispatchTimeInterval' operands
            if nextAttemptInterval != .never {
               ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift:124:36: note: binary operator '!=' cannot be synthesized for enums with associated values
            if nextAttemptInterval != .never {
                                   ^
[14/25] Compiling SignalRClient TransportType.swift
/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/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/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 more context
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:134:26: error: cannot infer contextual base in reference to member 'normalClosure'
        if closeCode == .normalClosure {
                        ~^~~~~~~~~~~~~
/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()
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[15/25] Compiling SignalRClient WebsocketsTransport.swift
/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/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/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 more context
        let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:134:26: error: cannot infer contextual base in reference to member 'normalClosure'
        if closeCode == .normalClosure {
                        ~^~~~~~~~~~~~~
/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 Transport.swift
[17/26] Compiling SignalRClient NegotiationResponse.swift
[18/26] Compiling SignalRClient Logger.swift
[19/26] Compiling SignalRClient LongPollingTransport.swift
[20/26] Compiling SignalRClient JSONHubProtocol.swift
[21/26] Compiling SignalRClient HttpResponse.swift
[22/26] Compiling SignalRClient HubConnection.swift
[23/26] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[24/26] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[25/26] 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)?
                                                                                                                                                 ~~~~~~~~~~ ^
[26/28] Compiling SignalRClient HubProtocol.swift
[27/28] Compiling SignalRClient HubConnectionDelegate.swift
[28/28] Compiling SignalRClient HubConnectionExtensions.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2