The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WebRequest with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/quickthyme/webrequest.git
Reference: master
Cloned https://github.com/quickthyme/webrequest.git into spi-builder-workspace
SUCCESS checkout https://github.com/quickthyme/webrequest.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/15] Compiling WebRequest WebRequestSession.swift
[2/15] Compiling WebRequest WebRequestSessionProviding.swift
[3/16] Compiling WebRequest WebRequestEndpoint.swift
[4/16] Compiling WebRequest WebRequestManager.swift
[5/16] Compiling WebRequest WebRequestManaging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/16] 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
                 ^
[7/16] 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:32: 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:32: error: cannot assign value of type '_' to type 'Data'
                    taskData = data
                               ^~~~
[8/16] 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:32: 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:32: error: cannot assign value of type '_' to type 'Data'
                    taskData = data
                               ^~~~
[9/16] 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 {
                                          ^~~~~~~~~~
[10/16] 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 {
                                          ^~~~~~~~~~
[11/16] 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/FileDownloadWebRequestDelivery.swift:3:69: error: cannot find type 'URLSessionDownloadDelegate' in scope
open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/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
                       ~~~~~~~~~~~~ ^~~~~~~~
[12/16] 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/FileDownloadWebRequestDelivery.swift:3:69: error: cannot find type 'URLSessionDownloadDelegate' in scope
open class FileDownloadWebRequestDelivery : HTTPWebRequestDelivery, URLSessionDownloadDelegate {
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/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
                       ~~~~~~~~~~~~ ^~~~~~~~
[13/16] Compiling WebRequest WebRequest+URLEncoder.swift
[14/16] Compiling WebRequest WebRequest.swift
[15/16] Compiling WebRequest BasicHTTPResultValidator.swift
[16/16] Compiling WebRequest WebRequest+Result.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1