The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build URLSessionBackport with Swift 5.10 for Linux.

Build Command

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

Build Log

extension SessionDelegateProxy: URLSessionStreamDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:235:33: error: cannot find type 'URLSessionStreamDelegate' in scope
    var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:70: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:71: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                                                                      ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:81: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                                                ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:56: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                                                       ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:258:33: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension SessionDelegateProxy: URLSessionWebSocketDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:259:36: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:266:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:108: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/TaskDelegateHandler.swift:25:19: error: cannot find type 'URLSessionTaskDelegate' in scope
    var delegate: URLSessionTaskDelegate?
                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:29:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
                ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:29:59: error: argument passed to call that takes no arguments
        taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:35:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap.removeValue(forKey: task.taskIdentifier)
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:53:26: error: value of type 'NSObject' has no member 'responds'
            return super.responds(to: aSelector)
                   ~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:55:26: error: value of type 'NSObject' has no member 'responds'
            return super.responds(to: aSelector)
                   ~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:63:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:63:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:79:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willBeginDelayedRequest:completionHandler:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:84:32: error: cannot infer contextual base in reference to member 'continueLoading'
            completionHandler(.continueLoading, nil)
                              ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:84:49: error: 'nil' requires a contextual type
            completionHandler(.continueLoading, nil)
                                                ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:89:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
                ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:94:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:104:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:didReceive:completionHandler:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:109:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:109:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:114:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:needNewBodyStream:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:124:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
                ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:132:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        let taskDelegate = taskMap[task.taskIdentifier]
                                   ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:136:46: warning: forced cast of 'URLSessionDataTask' (aka 'AnyObject') to same type has no effect
                accumulator.onResponse?(task as! URLSessionDataTask, accumulator, .failure(error))
                                             ^~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:136:84: error: cannot infer contextual base in reference to member 'failure'
                accumulator.onResponse?(task as! URLSessionDataTask, accumulator, .failure(error))
                                                                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:137:58: error: cannot infer contextual base in reference to member 'failure'
                taskDelegate?.dataAccumulator?.result = .failure(error)
                                                        ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:139:58: error: cannot infer contextual base in reference to member 'success'
                taskDelegate?.dataAccumulator?.result = .success(())
                                                        ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:142:38: error: 'nil' requires a contextual type
            accumulator.onResponse = nil
                                     ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:157:45: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        let taskDelegate = taskMap[dataTask.taskIdentifier]
                                   ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:159:58: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        func verifyDisposition(_ disposition: URLSession.ResponseDisposition) {
                                              ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:162:65: error: cannot infer contextual base in reference to member 'success'
                accumulator.onResponse?(dataTask, accumulator, .success(response))
                                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:163:42: error: 'nil' requires a contextual type
                accumulator.onResponse = nil
                                         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:173:32: error: cannot infer contextual base in reference to member 'allow'
            verifyDisposition(.allow)
                              ~^~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:30:23: error: cannot find type 'URLSessionDataDelegate' in scope
    var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:178:26: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
                ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:184:26: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
                ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:191:45: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        let taskDelegate = taskMap[dataTask.taskIdentifier]
                                   ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:198:54: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession(_:dataTask:willCacheResponse:completionHandler:) {
                                            ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:31:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:213:60: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDownloadDelegate = taskMap[downloadTask.taskIdentifier]?.downloadDelegate,
                                              ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:214:46: error: '#selector' can only be used with the Objective-C runtime
           taskDownloadDelegate.responds(to: #selector(urlSession(_:downloadTask:didFinishDownloadingTo:))) {
                                             ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:215:34: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
            taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
                    ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:218:50: error: '#selector' can only be used with the Objective-C runtime
           originalDownloadDelegate.responds(to: #selector(urlSession(_:downloadTask:didFinishDownloadingTo:))) {
                                                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:224:30: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:229:30: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:32:25: error: cannot find type 'URLSessionStreamDelegate' in scope
    var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:238:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, readClosedFor: streamTask)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:243:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, writeClosedFor: streamTask)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:248:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, betterRouteDiscoveredFor: streamTask)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:253:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, streamTask: streamTask, didBecome: inputStream, outputStream: outputStream)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:33:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[5/8] Compiling URLSessionBackport TaskDelegateHandler.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:25:19: error: cannot find type 'URLSessionTaskDelegate' in scope
    var delegate: URLSessionTaskDelegate?
                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:20:28: error: 'nil' requires a contextual type
                delegate = nil
                           ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:17:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    weak var task: URLSessionTask? {
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:30:23: error: cannot find type 'URLSessionDataDelegate' in scope
    var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:31:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:32:25: error: cannot find type 'URLSessionStreamDelegate' in scope
    var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:33:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[6/8] Compiling URLSessionBackport URLSessionBackport.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:72:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:93:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:112:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:67:41: error: type 'URLSession' (aka 'AnyObject') has no member 'Backport'
            resume(throwing: URLSession.Backport.Error.unexpectedTaskCompletionHandler(a != nil, b != nil, c != nil) as! E)
                             ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:28:26: error: cannot find type 'Backport' in scope
    public var backport: Backport {
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:45:83: error: cannot find type 'URLSessionDelegate' in scope
    public static func backport(configuration: URLSessionConfiguration, delegate: URLSessionDelegate? = nil, delegateQueue queue: OperationQueue? = nil) -> URLSession {
                                                                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:78:56: error: cannot find type 'URLSessionTaskDelegate' in scope
    func resume(_ task: URLSessionTask, with delegate: URLSessionTaskDelegate?, _ function: String = #function) {
                                                       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:119:35: error: cannot find type 'URLRequest' in scope
    public func data(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:119:57: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func data(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:134:47: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func data(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:150:37: error: cannot find type 'URLRequest' in scope
    public func upload(for request: URLRequest, fromFile fileURL: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:150:82: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func upload(for request: URLRequest, fromFile fileURL: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:166:37: error: cannot find type 'URLRequest' in scope
    public func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:166:80: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                                                               ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:181:39: error: cannot find type 'URLRequest' in scope
    public func download(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:181:61: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func download(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:196:51: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func download(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:211:65: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func download(resumeFrom resumeData: Data, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:226:106: error: cannot find type 'AsyncBytes' in scope
    public func bytes(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:226:36: error: cannot find type 'URLRequest' in scope
    public func bytes(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:226:58: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func bytes(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:260:96: error: cannot find type 'AsyncBytes' in scope
    public func bytes(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:260:48: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func bytes(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                               ^~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module URLSessionBackport
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:19:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.AsyncBytes.Iterator: BytesProvider {}
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:21:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/DataAccumulator.swift:41:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
                      ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/DataAccumulator.swift:41:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
                                                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:19:28: error: cannot find type 'URLSessionDelegate' in scope
    init(originalDelegate: URLSessionDelegate?) {
                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:16:27: error: cannot find type 'URLSessionDelegate' in scope
    var originalDelegate: URLSessionDelegate?
                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:58: error: cannot find type 'URLSessionTaskDelegate' in scope
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                               ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:138: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                                                                                                         ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:182: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                                                                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:34:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func removeTaskDelegate(task: URLSessionTask) {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:41:33: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegateProxy: URLSessionDelegate {
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:42:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:46:42: error: cannot find type 'Selector' in scope
    override func responds(to aSelector: Selector!) -> Bool {
                                         ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:46:19: error: method does not override any method from its superclass
    override func responds(to aSelector: Selector!) -> Bool {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:68:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
                                                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:75:33: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegateProxy: URLSessionTaskDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:76:31: error: cannot find type 'URLSessionTaskDelegate' in scope
    var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:99: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:179: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
                                                                              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:140: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:182: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, 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/URLSessionBackport/SessionDelegateProxy.swift:103:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, 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/URLSessionBackport/SessionDelegateProxy.swift:113:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:113:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:131:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:131:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:152:33: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegateProxy: URLSessionDataDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:153:31: error: cannot find type 'URLSessionDataDelegate' in scope
    var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                                                                                                         ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                                                                                               ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:10: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:189:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:189:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                                                                             ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                                                                                                                              ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:208:33: error: cannot find type 'URLSessionDownloadDelegate' in scope
extension SessionDelegateProxy: URLSessionDownloadDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:209:35: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var originalDownloadDelegate: URLSessionDownloadDelegate? { originalDelegate as? URLSessionDownloadDelegate }
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:211:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:211:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:223:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:223:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:228:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:228:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:234:33: error: cannot find type 'URLSessionStreamDelegate' in scope
extension SessionDelegateProxy: URLSessionStreamDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:235:33: error: cannot find type 'URLSessionStreamDelegate' in scope
    var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:70: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:71: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                                                                      ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:81: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                                                ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:56: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                                                       ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:258:33: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension SessionDelegateProxy: URLSessionWebSocketDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:259:36: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:266:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:108: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/TaskDelegateHandler.swift:25:19: error: cannot find type 'URLSessionTaskDelegate' in scope
    var delegate: URLSessionTaskDelegate?
                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:20:28: error: 'nil' requires a contextual type
                delegate = nil
                           ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:17:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    weak var task: URLSessionTask? {
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:30:23: error: cannot find type 'URLSessionDataDelegate' in scope
    var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:31:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:32:25: error: cannot find type 'URLSessionStreamDelegate' in scope
    var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:33:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:72:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:93:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:112:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
[8/8] Compiling URLSessionBackport AsyncBytes.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:19:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.AsyncBytes.Iterator: BytesProvider {}
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:21:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:47:39: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        init(_ asyncBytes: URLSession.AsyncBytes) {
                           ~~~~~~~~~~ ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling URLSessionBackport TaskDelegateHandler.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:25:19: error: cannot find type 'URLSessionTaskDelegate' in scope
    var delegate: URLSessionTaskDelegate?
                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:20:28: error: 'nil' requires a contextual type
                delegate = nil
                           ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:17:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    weak var task: URLSessionTask? {
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:30:23: error: cannot find type 'URLSessionDataDelegate' in scope
    var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:31:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:32:25: error: cannot find type 'URLSessionStreamDelegate' in scope
    var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:33:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/7] Compiling URLSessionBackport URLSessionBackport.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:72:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:93:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:112:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:67:41: error: type 'URLSession' (aka 'AnyObject') has no member 'Backport'
            resume(throwing: URLSession.Backport.Error.unexpectedTaskCompletionHandler(a != nil, b != nil, c != nil) as! E)
                             ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:28:26: error: cannot find type 'Backport' in scope
    public var backport: Backport {
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:45:83: error: cannot find type 'URLSessionDelegate' in scope
    public static func backport(configuration: URLSessionConfiguration, delegate: URLSessionDelegate? = nil, delegateQueue queue: OperationQueue? = nil) -> URLSession {
                                                                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:78:56: error: cannot find type 'URLSessionTaskDelegate' in scope
    func resume(_ task: URLSessionTask, with delegate: URLSessionTaskDelegate?, _ function: String = #function) {
                                                       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:119:35: error: cannot find type 'URLRequest' in scope
    public func data(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:119:57: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func data(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:134:47: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func data(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:150:37: error: cannot find type 'URLRequest' in scope
    public func upload(for request: URLRequest, fromFile fileURL: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:150:82: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func upload(for request: URLRequest, fromFile fileURL: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:166:37: error: cannot find type 'URLRequest' in scope
    public func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:166:80: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate? = nil) async throws -> (Data, URLResponse) {
                                                                               ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:181:39: error: cannot find type 'URLRequest' in scope
    public func download(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:181:61: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func download(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:196:51: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func download(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:211:65: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func download(resumeFrom resumeData: Data, delegate: URLSessionTaskDelegate? = nil) async throws -> (URL, URLResponse) {
                                                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:226:106: error: cannot find type 'AsyncBytes' in scope
    public func bytes(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:226:36: error: cannot find type 'URLRequest' in scope
    public func bytes(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:226:58: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func bytes(for request: URLRequest, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:260:96: error: cannot find type 'AsyncBytes' in scope
    public func bytes(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:260:48: error: cannot find type 'URLSessionTaskDelegate' in scope
    public func bytes(from url: URL, delegate: URLSessionTaskDelegate? = nil) async throws -> (AsyncBytes, URLResponse) {
                                               ^~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module URLSessionBackport
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:19:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.AsyncBytes.Iterator: BytesProvider {}
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:21:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/DataAccumulator.swift:41:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
                      ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/DataAccumulator.swift:41:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
                                                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:19:28: error: cannot find type 'URLSessionDelegate' in scope
    init(originalDelegate: URLSessionDelegate?) {
                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:16:27: error: cannot find type 'URLSessionDelegate' in scope
    var originalDelegate: URLSessionDelegate?
                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:58: error: cannot find type 'URLSessionTaskDelegate' in scope
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                               ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:138: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                                                                                                         ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:182: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                                                                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:34:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func removeTaskDelegate(task: URLSessionTask) {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:41:33: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegateProxy: URLSessionDelegate {
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:42:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:46:42: error: cannot find type 'Selector' in scope
    override func responds(to aSelector: Selector!) -> Bool {
                                         ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:46:19: error: method does not override any method from its superclass
    override func responds(to aSelector: Selector!) -> Bool {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:68:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
                                                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:75:33: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegateProxy: URLSessionTaskDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:76:31: error: cannot find type 'URLSessionTaskDelegate' in scope
    var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:99: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:179: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
                                                                              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:140: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:182: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, 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/URLSessionBackport/SessionDelegateProxy.swift:103:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, 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/URLSessionBackport/SessionDelegateProxy.swift:113:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:113:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:131:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:131:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:152:33: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegateProxy: URLSessionDataDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:153:31: error: cannot find type 'URLSessionDataDelegate' in scope
    var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                                                                                                         ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                                                                                               ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:10: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:189:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:189:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                                                                             ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                                                                                                                              ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:208:33: error: cannot find type 'URLSessionDownloadDelegate' in scope
extension SessionDelegateProxy: URLSessionDownloadDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:209:35: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var originalDownloadDelegate: URLSessionDownloadDelegate? { originalDelegate as? URLSessionDownloadDelegate }
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:211:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:211:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:223:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:223:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:228:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:228:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:234:33: error: cannot find type 'URLSessionStreamDelegate' in scope
extension SessionDelegateProxy: URLSessionStreamDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:235:33: error: cannot find type 'URLSessionStreamDelegate' in scope
    var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:70: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:71: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                                                                      ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:81: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                                                ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:56: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                                                       ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:258:33: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension SessionDelegateProxy: URLSessionWebSocketDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:259:36: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:266:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:108: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/TaskDelegateHandler.swift:25:19: error: cannot find type 'URLSessionTaskDelegate' in scope
    var delegate: URLSessionTaskDelegate?
                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:20:28: error: 'nil' requires a contextual type
                delegate = nil
                           ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:17:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    weak var task: URLSessionTask? {
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:30:23: error: cannot find type 'URLSessionDataDelegate' in scope
    var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:31:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:32:25: error: cannot find type 'URLSessionStreamDelegate' in scope
    var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:33:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:72:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:93:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:112:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
[5/7] Compiling URLSessionBackport AsyncBytes.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:19:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.AsyncBytes.Iterator: BytesProvider {}
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:21:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:47:39: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        init(_ asyncBytes: URLSession.AsyncBytes) {
                           ~~~~~~~~~~ ^
[6/7] Compiling URLSessionBackport SessionDelegateProxy.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:19:28: error: cannot find type 'URLSessionDelegate' in scope
    init(originalDelegate: URLSessionDelegate?) {
                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:16:27: error: cannot find type 'URLSessionDelegate' in scope
    var originalDelegate: URLSessionDelegate?
                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:58: error: cannot find type 'URLSessionTaskDelegate' in scope
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                               ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:138: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                                                                                                         ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:182: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
                                                                                                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:34:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func removeTaskDelegate(task: URLSessionTask) {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:41:33: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegateProxy: URLSessionDelegate {
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:42:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:46:42: error: cannot find type 'Selector' in scope
    override func responds(to aSelector: Selector!) -> Bool {
                                         ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:46:19: error: method does not override any method from its superclass
    override func responds(to aSelector: Selector!) -> Bool {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:59: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/URLSessionBackport/SessionDelegateProxy.swift:68:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
                                                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:75:33: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegateProxy: URLSessionTaskDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:76:31: error: cannot find type 'URLSessionTaskDelegate' in scope
    var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:99: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                                                            ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:179: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                                                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
                                                                              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:140: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:182: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                                 ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, 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/URLSessionBackport/SessionDelegateProxy.swift:103:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, 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/URLSessionBackport/SessionDelegateProxy.swift:113:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:113:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:131:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:131:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:152:33: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegateProxy: URLSessionDataDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:153:31: error: cannot find type 'URLSessionDataDelegate' in scope
    var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                                                                                                         ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
                                                                                               ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:10: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:189:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:189:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                                                                             ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                                                                                                                              ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:208:33: error: cannot find type 'URLSessionDownloadDelegate' in scope
extension SessionDelegateProxy: URLSessionDownloadDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:209:35: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var originalDownloadDelegate: URLSessionDownloadDelegate? { originalDelegate as? URLSessionDownloadDelegate }
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:211:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:211:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:223:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:223:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:228:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:228:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
                                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:234:33: error: cannot find type 'URLSessionStreamDelegate' in scope
extension SessionDelegateProxy: URLSessionStreamDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:235:33: error: cannot find type 'URLSessionStreamDelegate' in scope
    var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
                                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:70: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:71: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
                                                                      ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:81: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                                                ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:56: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
                                                       ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:258:33: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension SessionDelegateProxy: URLSessionWebSocketDelegate {
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:259:36: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/SessionDelegateProxy.swift:266:59: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:108: error: cannot find type 'URLSessionWebSocketTask' in scope
    func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/URLSessionBackport/TaskDelegateHandler.swift:25:19: error: cannot find type 'URLSessionTaskDelegate' in scope
    var delegate: URLSessionTaskDelegate?
                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:29:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
                ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:29:59: error: argument passed to call that takes no arguments
        taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:35:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap.removeValue(forKey: task.taskIdentifier)
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:53:26: error: value of type 'NSObject' has no member 'responds'
            return super.responds(to: aSelector)
                   ~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:55:26: error: value of type 'NSObject' has no member 'responds'
            return super.responds(to: aSelector)
                   ~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:63:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:63:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:79:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willBeginDelayedRequest:completionHandler:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:84:32: error: cannot infer contextual base in reference to member 'continueLoading'
            completionHandler(.continueLoading, nil)
                              ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:84:49: error: 'nil' requires a contextual type
            completionHandler(.continueLoading, nil)
                                                ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:89:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
                ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:94:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:104:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:didReceive:completionHandler:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:109:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:109:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:114:50: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:needNewBodyStream:) {
                                            ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:124:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
                ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:132:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
        let taskDelegate = taskMap[task.taskIdentifier]
                                   ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:136:46: warning: forced cast of 'URLSessionDataTask' (aka 'AnyObject') to same type has no effect
                accumulator.onResponse?(task as! URLSessionDataTask, accumulator, .failure(error))
                                             ^~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:136:84: error: cannot infer contextual base in reference to member 'failure'
                accumulator.onResponse?(task as! URLSessionDataTask, accumulator, .failure(error))
                                                                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:137:58: error: cannot infer contextual base in reference to member 'failure'
                taskDelegate?.dataAccumulator?.result = .failure(error)
                                                        ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:139:58: error: cannot infer contextual base in reference to member 'success'
                taskDelegate?.dataAccumulator?.result = .success(())
                                                        ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:142:38: error: 'nil' requires a contextual type
            accumulator.onResponse = nil
                                     ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:157:45: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        let taskDelegate = taskMap[dataTask.taskIdentifier]
                                   ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:159:58: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        func verifyDisposition(_ disposition: URLSession.ResponseDisposition) {
                                              ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:162:65: error: cannot infer contextual base in reference to member 'success'
                accumulator.onResponse?(dataTask, accumulator, .success(response))
                                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:163:42: error: 'nil' requires a contextual type
                accumulator.onResponse = nil
                                         ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:173:32: error: cannot infer contextual base in reference to member 'allow'
            verifyDisposition(.allow)
                              ~^~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:30:23: error: cannot find type 'URLSessionDataDelegate' in scope
    var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:178:26: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
                ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:184:26: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
                ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:191:45: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        let taskDelegate = taskMap[dataTask.taskIdentifier]
                                   ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:198:54: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDelegateMethod = taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession(_:dataTask:willCacheResponse:completionHandler:) {
                                            ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:31:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
    var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:213:60: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
        if let taskDownloadDelegate = taskMap[downloadTask.taskIdentifier]?.downloadDelegate,
                                              ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:214:46: error: '#selector' can only be used with the Objective-C runtime
           taskDownloadDelegate.responds(to: #selector(urlSession(_:downloadTask:didFinishDownloadingTo:))) {
                                             ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:215:34: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
            taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
                    ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:218:50: error: '#selector' can only be used with the Objective-C runtime
           originalDownloadDelegate.responds(to: #selector(urlSession(_:downloadTask:didFinishDownloadingTo:))) {
                                                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:224:30: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:229:30: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:32:25: error: cannot find type 'URLSessionStreamDelegate' in scope
    var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
                        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:238:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, readClosedFor: streamTask)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:243:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, writeClosedFor: streamTask)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:248:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, betterRouteDiscoveredFor: streamTask)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:253:28: error: value of type 'URLSessionStreamTask' (aka 'AnyObject') has no member 'taskIdentifier'
        taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, streamTask: streamTask, didBecome: inputStream, outputStream: outputStream)
                ~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:33:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
    var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[7/7] Compiling URLSessionBackport DataAccumulator.swift
/host/spi-builder-workspace/Sources/URLSessionBackport/DataAccumulator.swift:41:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
                      ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/DataAccumulator.swift:41:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
                                                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:19:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.AsyncBytes.Iterator: BytesProvider {}
          ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:21:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
extension URLSession.Backport {
          ~~~~~~~~~~ ^
error: fatalError
BUILD FAILURE 5.10 linux