The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WebRequest with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/quickthyme/webrequest.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/quickthyme/webrequest
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4d82778 Merge pull request #11 from matteozajac/feature/error-handler-for-data-task
Cloned https://github.com/quickthyme/webrequest.git
Revision (git rev-parse @):
4d82778042cfde758c371c7b4754fbaa1bf3e908
SUCCESS checkout https://github.com/quickthyme/webrequest.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/quickthyme/webrequest.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling WebRequest WebRequestManager.swift
[4/17] Compiling WebRequest WebRequestManaging.swift
[5/17] Compiling WebRequest ProgressFileDownloadWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                                ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:72: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:37:34: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func getStatus(downloadTask: URLSessionDownloadTask) -> Int {
                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:38:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
[6/17] Compiling WebRequest WebRequestManager+State.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                                ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:72: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:37:34: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func getStatus(downloadTask: URLSessionDownloadTask) -> Int {
                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:38:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
[7/17] Compiling WebRequest WebRequest+URLEncoder.swift
[8/17] Compiling WebRequest WebRequest.swift
[9/18] Compiling WebRequest BasicHTTPResultValidator.swift
[10/18] Compiling WebRequest WebRequest+Result.swift
[11/18] Compiling WebRequest WebRequestSession.swift
[12/18] Compiling WebRequest WebRequestSessionProviding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/18] Emitting module WebRequest
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:81: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:97: error: cannot find type 'URLRequest' in scope
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:73: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:24: error: method does not override any method from its superclass
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                              ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:35:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func fulfillCompletion(downloadTask: URLSessionDownloadTask) {
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:55:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:69: error: cannot find type 'URLSessionDownloadDelegate' in scope
open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:63:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSessionConfiguration() -> URLSessionConfiguration {
                                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                           ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:72: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:100:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                              urlSession: URLSession,
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                                ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:72: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:37:34: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func getStatus(downloadTask: URLSessionDownloadTask) -> Int {
                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
[14/18] Compiling WebRequest FileDownloadWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:81: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:97: error: cannot find type 'URLRequest' in scope
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:73: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:24: error: method does not override any method from its superclass
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                              ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:35:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func fulfillCompletion(downloadTask: URLSessionDownloadTask) {
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:55:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:69: error: cannot find type 'URLSessionDownloadDelegate' in scope
open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:18:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:18:95: error: 'nil' requires a contextual type
        let session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                              ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:24:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
        let task = urlSession.downloadTask(with: urlRequest)
                   ~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:26:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession.finishTasksAndInvalidate()
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:37:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:63:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSessionConfiguration() -> URLSessionConfiguration {
                                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                           ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:72: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:100:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                              urlSession: URLSession,
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:22:20: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
            config.httpAdditionalHeaders = headers
            ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:64:40: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        return URLSessionConfiguration.default
               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:68:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: configuration)
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:105:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var taskResponse: HTTPURLResponse?
                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:110:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = urlSession.dataTask(
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:30: error: cannot assign value of type '_' to type 'Data?'
                    taskData = data
                             ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:133:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        let taskStatus: Int = taskResponse?.statusCode
                              ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:138:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                     headers: taskResponse?.allHeaderFields,
                              ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:110:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = urlSession.dataTask(
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:30: error: cannot assign value of type '_' to type 'Data?'
                    taskData = data
                             ^
[15/18] Compiling WebRequest HTTPWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:81: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:97: error: cannot find type 'URLRequest' in scope
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:73: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:24: error: method does not override any method from its superclass
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                              ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:35:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func fulfillCompletion(downloadTask: URLSessionDownloadTask) {
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:55:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:69: error: cannot find type 'URLSessionDownloadDelegate' in scope
open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:18:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:18:95: error: 'nil' requires a contextual type
        let session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                              ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:24:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
        let task = urlSession.downloadTask(with: urlRequest)
                   ~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:26:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession.finishTasksAndInvalidate()
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:37:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:63:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSessionConfiguration() -> URLSessionConfiguration {
                                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                           ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:72: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:100:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                              urlSession: URLSession,
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:22:20: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
            config.httpAdditionalHeaders = headers
            ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:64:40: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        return URLSessionConfiguration.default
               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:68:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: configuration)
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:105:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var taskResponse: HTTPURLResponse?
                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:110:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = urlSession.dataTask(
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:30: error: cannot assign value of type '_' to type 'Data?'
                    taskData = data
                             ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:133:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        let taskStatus: Int = taskResponse?.statusCode
                              ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:138:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                     headers: taskResponse?.allHeaderFields,
                              ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:110:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = urlSession.dataTask(
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:30: error: cannot assign value of type '_' to type 'Data?'
                    taskData = data
                             ^
[16/18] Compiling WebRequest JSONWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
[17/18] Compiling WebRequest MultipartFormUploadWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
[18/18] Compiling WebRequest WebRequestEndpoint.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling WebRequest ProgressFileDownloadWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                                ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:72: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:37:34: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func getStatus(downloadTask: URLSessionDownloadTask) -> Int {
                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:38:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
[3/8] Compiling WebRequest MultipartFormUploadWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module WebRequest
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:81: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:97: error: cannot find type 'URLRequest' in scope
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:73: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:24: error: method does not override any method from its superclass
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                              ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:35:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func fulfillCompletion(downloadTask: URLSessionDownloadTask) {
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:55:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:69: error: cannot find type 'URLSessionDownloadDelegate' in scope
open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:63:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSessionConfiguration() -> URLSessionConfiguration {
                                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                           ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:72: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:100:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                              urlSession: URLSession,
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:9:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
                                                                ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:17:72: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/ProgressFileDownloadWebRequestDelivery.swift:37:34: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func getStatus(downloadTask: URLSessionDownloadTask) -> Int {
                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
[5/8] Compiling WebRequest HTTPWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:63:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSessionConfiguration() -> URLSessionConfiguration {
                                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                           ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:67:72: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:100:43: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                              urlSession: URLSession,
                                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:22:20: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
            config.httpAdditionalHeaders = headers
            ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:64:40: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        return URLSessionConfiguration.default
               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:68:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: configuration)
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:105:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var taskResponse: HTTPURLResponse?
                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:110:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = urlSession.dataTask(
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:30: error: cannot assign value of type '_' to type 'Data?'
                    taskData = data
                             ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:133:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        let taskStatus: Int = taskResponse?.statusCode
                              ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:138:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                     headers: taskResponse?.allHeaderFields,
                              ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:110:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = urlSession.dataTask(
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:113:30: error: cannot assign value of type '_' to type 'Data?'
                    taskData = data
                             ^
[6/8] Compiling WebRequest FileDownloadWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:17:81: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func getURLSession(configuration: URLSessionConfiguration) -> URLSession {
                                                                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:97: error: cannot find type 'URLRequest' in scope
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:73: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
                                                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:22:24: error: method does not override any method from its superclass
    open override func executeDelivery(request: WebRequest, urlSession: URLSession, urlRequest: URLRequest) throws {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:29:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
                                                              ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:35:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func fulfillCompletion(downloadTask: URLSessionDownloadTask) {
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:55:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:60:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:3:69: error: cannot find type 'URLSessionDownloadDelegate' in scope
open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:18:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:18:95: error: 'nil' requires a contextual type
        let session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                              ^
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:24:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
        let task = urlSession.downloadTask(with: urlRequest)
                   ~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:26:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
        urlSession.finishTasksAndInvalidate()
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/FileDownloadWebRequestDelivery.swift:37:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
[7/8] Compiling WebRequest JSONWebRequestDelivery.swift
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:71:41: error: cannot find type 'URLRequest' in scope
    open func getURLRequest(url:URL) -> URLRequest {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift:101:43: error: cannot find type 'URLRequest' in scope
                              urlRequest: URLRequest) throws {
                                          ^~~~~~~~~~
[8/8] Compiling WebRequest WebRequestManager+State.swift
[9/12] Compiling WebRequest BasicHTTPResultValidator.swift
[10/12] Compiling WebRequest WebRequest+Result.swift
[11/12] Compiling WebRequest WebRequest.swift
[12/12] Compiling WebRequest WebRequestManager.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1