The Swift Package Index logo.Swift Package Index

Build Information

Failed to build URLSessionBackport, reference main (133026), with Swift 6.4 for Wasm on 17 Sep 2026 23:58:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mochidev/URLSessionBackport.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mochidev/URLSessionBackport
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 133026d Removed the last preconditionFailure
Cloned https://github.com/mochidev/URLSessionBackport.git
Revision (git rev-parse @):
133026d8723a81d7ddd293ce3d9fcadf72317517
SUCCESS checkout https://github.com/mochidev/URLSessionBackport.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mochidev/URLSessionBackport.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:19:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
17 |
18 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, *)
19 | extension URLSession.AsyncBytes.Iterator: BytesProvider {}
   |                      `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
20 |
21 | extension URLSession.Backport {
/host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift:21:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
19 | extension URLSession.AsyncBytes.Iterator: BytesProvider {}
20 |
21 | extension URLSession.Backport {
   |                      `- error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
22 |
23 |     /// AsyncBytes conforms to AsyncSequence for data delivery. The sequence is single pass. Delegate will not be called for response and data delivery.
/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.
39 |
40 |     /// The closure to call when the first response, or error, is encountered.
41 |     var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 |     init() {}
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
39 |
40 |     /// The closure to call when the first response, or error, is encountered.
41 |     var onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)?
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 |     init() {}
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:19:28: error: cannot find type 'URLSessionDelegate' in scope
 17 |     var taskMap: [Int : TaskDelegateHandler] = [:]
 18 |
 19 |     init(originalDelegate: URLSessionDelegate?) {
    |                            `- error: cannot find type 'URLSessionDelegate' in scope
 20 |         self.originalDelegate = originalDelegate
 21 |     }
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:16:27: error: cannot find type 'URLSessionDelegate' in scope
 14 | /// This class forwards all delegate methods supported pre iOS15/macOS 12 to both the underlying session delegate and any assigned task delegates, consisting of the majority of the backporting work.
 15 | class SessionDelegateProxy: NSObject {
 16 |     var originalDelegate: URLSessionDelegate?
    |                           `- error: cannot find type 'URLSessionDelegate' in scope
 17 |     var taskMap: [Int : TaskDelegateHandler] = [:]
 18 |
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:58: error: cannot find type 'URLSessionTaskDelegate' in scope
 25 |     ///   - task: The task to add.
 26 |     ///   - delegate: The delegate for the task.
 27 |     func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
    |                                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
 28 |         dataAccumulator?.onResponse = onResponse
 29 |         taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
/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.
 25 |     ///   - task: The task to add.
 26 |     ///   - delegate: The delegate for the task.
 27 |     func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
    |                                `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |         dataAccumulator?.onResponse = onResponse
 29 |         taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:27:138: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     ///   - task: The task to add.
 26 |     ///   - delegate: The delegate for the task.
 27 |     func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
    |                                                                                                                                          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |         dataAccumulator?.onResponse = onResponse
 29 |         taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
 25 |     ///   - task: The task to add.
 26 |     ///   - delegate: The delegate for the task.
 27 |     func addTaskDelegate(task: URLSessionTask, delegate: URLSessionTaskDelegate?, dataAccumulator: DataAccumulator? = nil, onResponse: ((URLSessionDataTask, DataAccumulator, Result<URLResponse, Error>) -> Void)? = nil) {
    |                                                                                                                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |         dataAccumulator?.onResponse = onResponse
 29 |         taskMap[task.taskIdentifier] = TaskDelegateHandler(task: task, delegate: delegate, dataAccumulator: dataAccumulator)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
 32 |     /// Remove a task delegate when the task is finished.
 33 |     /// - Parameter task: the task to remove.
 34 |     func removeTaskDelegate(task: URLSessionTask) {
    |                                   `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |         taskMap.removeValue(forKey: task.taskIdentifier)
 36 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:41:33: error: cannot find type 'URLSessionDelegate' in scope
 39 | // MARK: - Delegate Proxies
 40 |
 41 | extension SessionDelegateProxy: URLSessionDelegate {
    |                                 `- error: cannot find type 'URLSessionDelegate' in scope
 42 |     func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
 43 |         originalDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
/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.
 40 |
 41 | extension SessionDelegateProxy: URLSessionDelegate {
 42 |     func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         originalDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
 44 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:46:42: error: cannot find type 'Selector' in scope
 44 |     }
 45 |
 46 |     override func responds(to aSelector: Selector!) -> Bool {
    |                                          `- error: cannot find type 'Selector' in scope
 47 |         switch aSelector {
 48 |         case #selector(urlSession(_:didReceive:completionHandler:)):
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:59:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 57 |     }
 58 |
 59 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                       `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 60 |         if let delegateMethod = originalDelegate?.urlSession(_:didReceive:completionHandler:) {
 61 |             delegateMethod(session, challenge, completionHandler)
/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.
 57 |     }
 58 |
 59 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         if let delegateMethod = originalDelegate?.urlSession(_:didReceive:completionHandler:) {
 61 |             delegateMethod(session, challenge, completionHandler)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:59:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                  `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         if let delegateMethod = originalDelegate?.urlSession(_:didReceive:completionHandler:) {
 61 |             delegateMethod(session, challenge, completionHandler)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:68:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |
 67 |     @available(macOS 11.0, *)
 68 |     func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
    |                                                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         originalDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
 70 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:75:33: error: cannot find type 'URLSessionTaskDelegate' in scope
 73 | /// Note that some of these delegate proxies may be misshandled. If you encounter bugs with some of the more esoteric task delegates, especially compared with how modern OSs handled tiering for task-based delegates, please file an issue or submit a fix to: https://github.com/mochidev/URLSessionBackport/issues
 74 | /// Some of the methods use a tiered approach, specifically those that require completion handlers, while others call all applicable delegates one after another.
 75 | extension SessionDelegateProxy: URLSessionTaskDelegate {
    |                                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
 76 |     var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
 77 |
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:76:31: error: cannot find type 'URLSessionTaskDelegate' in scope
 74 | /// Some of the methods use a tiered approach, specifically those that require completion handlers, while others call all applicable delegates one after another.
 75 | extension SessionDelegateProxy: URLSessionTaskDelegate {
 76 |     var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
    |                               `- error: cannot find type 'URLSessionTaskDelegate' in scope
 77 |
 78 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:99: error: cannot find type 'URLRequest' in scope
 76 |     var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
 77 |
 78 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                   `- error: cannot find type 'URLRequest' in scope
 79 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willBeginDelayedRequest:completionHandler:) {
 80 |             taskDelegateMethod(session, task, request, completionHandler)
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 76 |     var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
 77 |
 78 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                        `- error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 79 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willBeginDelayedRequest:completionHandler:) {
 80 |             taskDelegateMethod(session, task, request, completionHandler)
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:179: error: cannot find type 'URLRequest' in scope
 76 |     var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
 77 |
 78 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                                                   `- error: cannot find type 'URLRequest' in scope
 79 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willBeginDelayedRequest:completionHandler:) {
 80 |             taskDelegateMethod(session, task, request, completionHandler)
/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.
 76 |     var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
 77 |
 78 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willBeginDelayedRequest:completionHandler:) {
 80 |             taskDelegateMethod(session, task, request, completionHandler)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:78:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     var originalTaskDelegate: URLSessionTaskDelegate? { originalDelegate as? URLSessionTaskDelegate }
 77 |
 78 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willBeginDelayedRequest:completionHandler:) {
 80 |             taskDelegateMethod(session, task, request, completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     }
 87 |
 88 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
 90 |         originalTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:88:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     }
 87 |
 88 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
 90 |         originalTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:140: error: cannot find type 'URLRequest' in scope
 91 |     }
 92 |
 93 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
 94 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) {
 95 |             taskDelegateMethod(session, task, response, request, completionHandler)
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:182: error: cannot find type 'URLRequest' in scope
 91 |     }
 92 |
 93 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
 94 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) {
 95 |             taskDelegateMethod(session, task, response, request, completionHandler)
/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.
 91 |     }
 92 |
 93 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) {
 95 |             taskDelegateMethod(session, task, response, request, completionHandler)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     }
 92 |
 93 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) {
 95 |             taskDelegateMethod(session, task, response, request, completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:93:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     }
 92 |
 93 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) {
 95 |             taskDelegateMethod(session, task, response, request, completionHandler)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
101 |     }
102 |
103 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                                             `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
104 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:didReceive:completionHandler:) {
105 |             taskDelegateMethod(session, task, challenge, completionHandler)
/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.
101 |     }
102 |
103 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:didReceive:completionHandler:) {
105 |             taskDelegateMethod(session, task, challenge, completionHandler)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     }
102 |
103 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:didReceive:completionHandler:) {
105 |             taskDelegateMethod(session, task, challenge, completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:103:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     }
102 |
103 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                        `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:didReceive:completionHandler:) {
105 |             taskDelegateMethod(session, task, challenge, completionHandler)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:113:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     }
112 |
113 |     func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:needNewBodyStream:) {
115 |             taskDelegateMethod(session, task, completionHandler)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:113:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     }
112 |
113 |     func urlSession(_ session: URLSession, task: URLSessionTask, needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |         if let taskDelegateMethod = taskMap[task.taskIdentifier]?.delegate?.urlSession(_:task:needNewBodyStream:) {
115 |             taskDelegateMethod(session, task, completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
121 |     }
122 |
123 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 |         taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
125 |         originalTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:123:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
121 |     }
122 |
123 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 |         taskMap[task.taskIdentifier]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
125 |         originalTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:131:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |     // func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
130 |
131 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |         let taskDelegate = taskMap[task.taskIdentifier]
133 |         if let accumulator = taskDelegate?.dataAccumulator {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:131:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |     // func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
130 |
131 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |         let taskDelegate = taskMap[task.taskIdentifier]
133 |         if let accumulator = taskDelegate?.dataAccumulator {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:152:33: error: cannot find type 'URLSessionDataDelegate' in scope
150 | }
151 |
152 | extension SessionDelegateProxy: URLSessionDataDelegate {
    |                                 `- error: cannot find type 'URLSessionDataDelegate' in scope
153 |     var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
154 |
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:153:31: error: cannot find type 'URLSessionDataDelegate' in scope
151 |
152 | extension SessionDelegateProxy: URLSessionDataDelegate {
153 |     var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
    |                               `- error: cannot find type 'URLSessionDataDelegate' in scope
154 |
155 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
153 |     var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
154 |
155 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
156 |         // Note from AsyncBytes documentation: "Delegate will not be called for response and data delivery."
157 |         let taskDelegate = taskMap[dataTask.taskIdentifier]
/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.
153 |     var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
154 |
155 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         // Note from AsyncBytes documentation: "Delegate will not be called for response and data delivery."
157 |         let taskDelegate = taskMap[dataTask.taskIdentifier]
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:155:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
154 |
155 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         // Note from AsyncBytes documentation: "Delegate will not be called for response and data delivery."
157 |         let taskDelegate = taskMap[dataTask.taskIdentifier]
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
153 |     var originalDataDelegate: URLSessionDataDelegate? { originalDelegate as? URLSessionDataDelegate }
154 |
155 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         // Note from AsyncBytes documentation: "Delegate will not be called for response and data delivery."
157 |         let taskDelegate = taskMap[dataTask.taskIdentifier]
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
175 |     }
176 |
177 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
179 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:177:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
175 |     }
176 |
177 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
179 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
175 |     }
176 |
177 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
    |                                                                                                  `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
179 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/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.
181 |     }
182 |
183 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
184 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
185 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 |     }
182 |
183 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
184 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
185 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
181 |     }
182 |
183 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
    |                                                                                                `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
184 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
185 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:183:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
175 |     }
176 |
177 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
    |          `- note: 'urlSession(_:dataTask:didBecome:)' previously declared here
178 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
179 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
    :
181 |     }
182 |
183 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
    |          `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
184 |         taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
185 |         originalDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
/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.
187 |     }
188 |
189 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 |         // Note from AsyncBytes documentation: "Delegate will not be called for response and data delivery."
191 |         let taskDelegate = taskMap[dataTask.taskIdentifier]
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:189:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
187 |     }
188 |
189 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 |         // Note from AsyncBytes documentation: "Delegate will not be called for response and data delivery."
191 |         let taskDelegate = taskMap[dataTask.taskIdentifier]
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
195 |     }
196 |
197 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 |         if let taskDelegateMethod = taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession(_:dataTask:willCacheResponse:completionHandler:) {
199 |             taskDelegateMethod(session, dataTask, proposedResponse, completionHandler)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:197:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 |     }
196 |
197 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 |         if let taskDelegateMethod = taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession(_:dataTask:willCacheResponse:completionHandler:) {
199 |             taskDelegateMethod(session, dataTask, proposedResponse, completionHandler)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
195 |     }
196 |
197 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                              `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 |         if let taskDelegateMethod = taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession(_:dataTask:willCacheResponse:completionHandler:) {
199 |             taskDelegateMethod(session, dataTask, proposedResponse, completionHandler)
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
  |                  `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/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.
195 |     }
196 |
197 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                                                                               `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 |         if let taskDelegateMethod = taskMap[dataTask.taskIdentifier]?.dataDelegate?.urlSession(_:dataTask:willCacheResponse:completionHandler:) {
199 |             taskDelegateMethod(session, dataTask, proposedResponse, completionHandler)
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
  |                  `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:208:33: error: cannot find type 'URLSessionDownloadDelegate' in scope
206 | }
207 |
208 | extension SessionDelegateProxy: URLSessionDownloadDelegate {
    |                                 `- error: cannot find type 'URLSessionDownloadDelegate' in scope
209 |     var originalDownloadDelegate: URLSessionDownloadDelegate? { originalDelegate as? URLSessionDownloadDelegate }
210 |
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:209:35: error: cannot find type 'URLSessionDownloadDelegate' in scope
207 |
208 | extension SessionDelegateProxy: URLSessionDownloadDelegate {
209 |     var originalDownloadDelegate: URLSessionDownloadDelegate? { originalDelegate as? URLSessionDownloadDelegate }
    |                                   `- error: cannot find type 'URLSessionDownloadDelegate' in scope
210 |
211 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
/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.
209 |     var originalDownloadDelegate: URLSessionDownloadDelegate? { originalDelegate as? URLSessionDownloadDelegate }
210 |
211 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
212 |         // Note that these methods are considered to be mandatory, which might cause issues?
213 |         if let taskDownloadDelegate = taskMap[downloadTask.taskIdentifier]?.downloadDelegate,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:211:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
209 |     var originalDownloadDelegate: URLSessionDownloadDelegate? { originalDelegate as? URLSessionDownloadDelegate }
210 |
211 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
    |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
212 |         // Note that these methods are considered to be mandatory, which might cause issues?
213 |         if let taskDownloadDelegate = taskMap[downloadTask.taskIdentifier]?.downloadDelegate,
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/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.
221 |     }
222 |
223 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 |         taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
225 |         originalDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:223:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
221 |     }
222 |
223 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
    |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 |         taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
225 |         originalDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/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.
226 |     }
227 |
228 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |         taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
230 |         originalDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:228:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
226 |     }
227 |
228 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
    |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |         taskMap[downloadTask.taskIdentifier]?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
230 |         originalDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:234:33: error: cannot find type 'URLSessionStreamDelegate' in scope
232 | }
233 |
234 | extension SessionDelegateProxy: URLSessionStreamDelegate {
    |                                 `- error: cannot find type 'URLSessionStreamDelegate' in scope
235 |     var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
236 |
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:235:33: error: cannot find type 'URLSessionStreamDelegate' in scope
233 |
234 | extension SessionDelegateProxy: URLSessionStreamDelegate {
235 |     var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
    |                                 `- error: cannot find type 'URLSessionStreamDelegate' in scope
236 |
237 |     func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
/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.
235 |     var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
236 |
237 |     func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, readClosedFor: streamTask)
239 |         originalStreamDelegate?.urlSession?(session, readClosedFor: streamTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:237:70: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 |     var originalStreamDelegate: URLSessionStreamDelegate? { originalDelegate as? URLSessionStreamDelegate }
236 |
237 |     func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
    |                                                                      `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, readClosedFor: streamTask)
239 |         originalStreamDelegate?.urlSession?(session, readClosedFor: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/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.
240 |     }
241 |
242 |     func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, writeClosedFor: streamTask)
244 |         originalStreamDelegate?.urlSession?(session, writeClosedFor: streamTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:242:71: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |     }
241 |
242 |     func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
    |                                                                       `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, writeClosedFor: streamTask)
244 |         originalStreamDelegate?.urlSession?(session, writeClosedFor: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/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.
245 |     }
246 |
247 |     func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
248 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, betterRouteDiscoveredFor: streamTask)
249 |         originalStreamDelegate?.urlSession?(session, betterRouteDiscoveredFor: streamTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:247:81: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
245 |     }
246 |
247 |     func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
    |                                                                                 `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
248 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, betterRouteDiscoveredFor: streamTask)
249 |         originalStreamDelegate?.urlSession?(session, betterRouteDiscoveredFor: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/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.
250 |     }
251 |
252 |     func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
253 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, streamTask: streamTask, didBecome: inputStream, outputStream: outputStream)
254 |         originalStreamDelegate?.urlSession?(session, streamTask: streamTask, didBecome: inputStream, outputStream: outputStream)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:252:56: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
250 |     }
251 |
252 |     func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream) {
    |                                                        `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
253 |         taskMap[streamTask.taskIdentifier]?.streamDelegate?.urlSession?(session, streamTask: streamTask, didBecome: inputStream, outputStream: outputStream)
254 |         originalStreamDelegate?.urlSession?(session, streamTask: streamTask, didBecome: inputStream, outputStream: outputStream)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:258:33: error: cannot find type 'URLSessionWebSocketDelegate' in scope
256 | }
257 |
258 | extension SessionDelegateProxy: URLSessionWebSocketDelegate {
    |                                 `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
259 |     var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
260 |
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:259:36: error: cannot find type 'URLSessionWebSocketDelegate' in scope
257 |
258 | extension SessionDelegateProxy: URLSessionWebSocketDelegate {
259 |     var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
    |                                    `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
260 |
261 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:261:59: error: cannot find type 'URLSessionWebSocketTask' in scope
259 |     var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
260 |
261 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
    |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
262 |         taskMap[webSocketTask.taskIdentifier]?.webSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
263 |         originalWebSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/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.
259 |     var originalWebSocketDelegate: URLSessionWebSocketDelegate? { originalDelegate as? URLSessionWebSocketDelegate }
260 |
261 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
262 |         taskMap[webSocketTask.taskIdentifier]?.webSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
263 |         originalWebSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:59: error: cannot find type 'URLSessionWebSocketTask' in scope
264 |     }
265 |
266 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
    |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
267 |         taskMap[webSocketTask.taskIdentifier]?.webSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
268 |         originalWebSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
/host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift:266:108: error: cannot find type 'URLSessionWebSocketTask' in scope
264 |     }
265 |
266 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
    |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
267 |         taskMap[webSocketTask.taskIdentifier]?.webSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
268 |         originalWebSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
/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.
264 |     }
265 |
266 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
267 |         taskMap[webSocketTask.taskIdentifier]?.webSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
268 |         originalWebSocketDelegate?.urlSession?(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:25:19: error: cannot find type 'URLSessionTaskDelegate' in scope
23 |         }
24 |     }
25 |     var delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
26 |     var dataAccumulator: DataAccumulator?
27 |
/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.
15 | /// Note that the handler should be discarded when no longer in use to clean up the task, delegate, and dataAccumulator.
16 | struct TaskDelegateHandler {
17 |     weak var task: URLSessionTask? {
   |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         didSet { // Note: Not sure if this works when ARC sets the weak variable to nil…
19 |             if task == nil {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:30:23: error: cannot find type 'URLSessionDataDelegate' in scope
28 |     // MARK: - Convenience Casts
29 |
30 |     var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
   |                       `- error: cannot find type 'URLSessionDataDelegate' in scope
31 |     var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
32 |     var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:31:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
29 |
30 |     var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
31 |     var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
   |                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
32 |     var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
33 |     var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:32:25: error: cannot find type 'URLSessionStreamDelegate' in scope
30 |     var dataDelegate: URLSessionDataDelegate? { delegate as? URLSessionDataDelegate }
31 |     var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
32 |     var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
   |                         `- error: cannot find type 'URLSessionStreamDelegate' in scope
33 |     var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
34 | }
/host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift:33:28: error: cannot find type 'URLSessionWebSocketDelegate' in scope
31 |     var downloadDelegate: URLSessionDownloadDelegate? { delegate as? URLSessionDownloadDelegate }
32 |     var streamDelegate: URLSessionStreamDelegate? { delegate as? URLSessionStreamDelegate }
33 |     var webSocketDelegate: URLSessionWebSocketDelegate? { delegate as? URLSessionWebSocketDelegate }
   |                            `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
34 | }
35 | #endif
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
  9 | import Foundation
 10 |
 11 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 12 |
 13 |     /// This is the namespace for backward compatible API.
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:72:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 70 | }
 71 |
 72 | extension URLSession.Backport {
    |                      `- error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 73 |     /// Resume a task, and schedule the delegate to receive callbacks through the backported proxy.
 74 |     /// - Parameters:
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:93:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 91 | }
 92 |
 93 | extension URLSession.Backport {
    |                      `- error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 94 |     /// Errors that can be thrown which are unique to the backporting effort
 95 |     public enum Error: Swift.Error, LocalizedError {
/host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:112:22: error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
110 | }
111 |
112 | extension URLSession.Backport {
    |                      `- error: 'Backport' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
113 |
114 |     /// Backported convenience method to load data using an URLRequest, creates and resumes an URLSessionDataTask internally.
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/URLSessionBackport/AsyncBytes.swift /host/spi-builder-workspace/Sources/URLSessionBackport/DataAccumulator.swift /host/spi-builder-workspace/Sources/URLSessionBackport/SessionDelegateProxy.swift /host/spi-builder-workspace/Sources/URLSessionBackport/TaskDelegateHandler.swift /host/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name URLSessionBackport -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/Objects-normal/wasm32/URLSessionBackport_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/Objects-normal/wasm32/Modules/URLSessionBackport.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/Objects-normal/wasm32/Modules/URLSessionBackport.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/Objects-normal/wasm32/URLSessionBackport-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/Objects-normal/wasm32/URLSessionBackport-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/Objects-normal/wasm32/URLSessionBackport-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLSessionBackport.build/Debug-webassembly-wasm32/URLSessionBackport-t.build/Objects-normal/wasm32/Modules/URLSessionBackport.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm