The Swift Package Index logo.Swift Package Index

Build Information

Failed to build openwhisk-swift-sdk 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/dokun1/openwhisk-swift-sdk.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/dokun1/openwhisk-swift-sdk
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 7c0d30e Updated readme
Cloned https://github.com/dokun1/openwhisk-swift-sdk.git
Revision (git rev-parse @):
7c0d30eb6e66e16652d099810d1d73acac335820
SUCCESS checkout https://github.com/dokun1/openwhisk-swift-sdk.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/dokun1/openwhisk-swift-sdk.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
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/SwiftyRequest.git
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
[1/771] Fetching loggerapi
[179/2500] Fetching loggerapi, circuitbreaker
[1378/4559] Fetching loggerapi, circuitbreaker, swiftyrequest
Fetched https://github.com/IBM-Swift/CircuitBreaker.git from cache (0.41s)
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.42s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git from cache (0.43s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 1.1.3 (0.57s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (1.27s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.40s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.38s)
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/IBM-Swift/CircuitBreaker.git
Working copy of https://github.com/IBM-Swift/CircuitBreaker.git resolved at 5.1.0
Creating working copy for https://github.com/IBM-Swift/SwiftyRequest.git
Working copy of https://github.com/IBM-Swift/SwiftyRequest.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
warning: 'circuitbreaker': 'circuitbreaker' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Compiling Logging MetadataProvider.swift
[8/11] Compiling Logging Locks.swift
[9/11] Compiling Logging LogHandler.swift
[10/11] Compiling Logging Logging.swift
[11/11] Emitting module Logging
[13/14] Compiling LoggerAPI Logger.swift
[14/14] Emitting module LoggerAPI
[16/25] Compiling CircuitBreaker Monitor.swift
[17/26] Compiling CircuitBreaker Invocation.swift
[18/26] Compiling CircuitBreaker Utils.swift
[19/26] Compiling CircuitBreaker Snapshot.swift
[20/26] Compiling CircuitBreaker Stats.swift
[21/26] Compiling CircuitBreaker MonitorCollection.swift
[22/26] Emitting module CircuitBreaker
[23/26] Compiling CircuitBreaker BreakerError.swift
[24/26] Compiling CircuitBreaker Bulkhead.swift
[25/26] Compiling CircuitBreaker CircuitBreaker.swift
[26/26] Compiling CircuitBreaker Collection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/36] Emitting module SwiftyRequest
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:29:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:43:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
                request.setValue(nil, forHTTPHeaderField: "Authorization")
                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:205:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
                                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:277:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:355:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:410:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:488:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:553:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:595:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:616:66: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
                                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:719:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
extension RestRequest: URLSessionDelegate {
                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:142: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
[29/37] Compiling SwiftyRequest RestUtilities.swift
[30/37] Compiling SwiftyRequest RestToken.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest
                         ^~~~~~~~~~
[31/37] Compiling SwiftyRequest RestRequest.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:29:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:43:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
                request.setValue(nil, forHTTPHeaderField: "Authorization")
                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:205:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
                                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:277:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:355:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:410:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:488:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:553:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:595:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:616:66: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
                                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:719:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
extension RestRequest: URLSessionDelegate {
                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:142: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        var session = URLSession(configuration: URLSessionConfiguration.default)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:73: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        var session = URLSession(configuration: URLSessionConfiguration.default)
                                                ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:32:50: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
            let config = URLSessionConfiguration.default
                         ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:33:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
            config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:34:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
            session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:34:89: error: cannot infer contextual base in reference to member 'main'
            session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
                                                                                       ~^~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:105:105: error: 'nil' requires a contextual type
            _ = request.allHTTPHeaderFields?.map { key, value in if !s.contains(key) { request.setValue(nil, forHTTPHeaderField: key) } }
                                                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:184:24: error: cannot find 'URLRequest' in scope
        self.request = URLRequest(url: urlObject)
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:209:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = session.dataTask(with: request) { (data, response, error) in
                       ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:215:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let code = response.statusCode
                           ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:596:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
        let task = session.downloadTask(with: request) { (source, response, error) in
                   ~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:617:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { (data, response, error) in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:624:22: error: cannot convert value of type '_' to expected argument type 'Data?'
            callback(data, response as? HTTPURLResponse, error)
                     ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:797:32: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
        let method = challenge.protectionSpace.authenticationMethod
                     ~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:798:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
        let host = challenge.protectionSpace.host
                   ~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:808:15: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
        case (NSURLAuthenticationMethodServerTrust, baseHost):
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:258:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:258:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:258:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:263:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:263:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:304:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:304:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:312:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:312:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:312:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:341:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:341:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:381:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:381:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:381:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:396:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:396:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:437:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:437:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:445:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:445:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:445:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:475:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:475:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:514:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:514:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:522:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:522:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:522:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:533:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:533:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:533:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:528:33: error: type of expression is ambiguous without a type annotation
            let encoding = self.getCharacterEncoding(from: response?.allHeaderFields["Content-Type"] as? String)
                           ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:540:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:540:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:578:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:578:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:585:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:585:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
[32/37] Compiling SwiftyRequest CodableExtensions.swift
[33/37] Compiling SwiftyRequest HTTPMethod.swift
[34/37] Compiling SwiftyRequest JSONWrapper.swift
[35/37] Compiling SwiftyRequest MultipartFormData.swift
[36/37] Compiling SwiftyRequest JSON.swift
[37/37] Compiling SwiftyRequest StringExtensions.swift
error: fatalError
warning: 'circuitbreaker': 'circuitbreaker' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module SwiftyRequest
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:29:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:43:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
                request.setValue(nil, forHTTPHeaderField: "Authorization")
                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:205:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
                                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:277:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:355:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:410:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:488:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:553:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:595:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:616:66: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
                                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:719:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
extension RestRequest: URLSessionDelegate {
                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:142: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
[3/4] Compiling SwiftyRequest RestToken.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest
                         ^~~~~~~~~~
[4/4] Compiling SwiftyRequest RestRequest.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:29:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:43:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
                request.setValue(nil, forHTTPHeaderField: "Authorization")
                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:205:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
                                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:277:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:355:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:410:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:488:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:553:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:595:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:616:66: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
                                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:719:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
extension RestRequest: URLSessionDelegate {
                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:142: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                                                                                  ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:73: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        var session = URLSession(configuration: URLSessionConfiguration.default)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:73: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        var session = URLSession(configuration: URLSessionConfiguration.default)
                                                ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:32:50: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
            let config = URLSessionConfiguration.default
                         ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:33:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
            config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:34:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
            session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:34:89: error: cannot infer contextual base in reference to member 'main'
            session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
                                                                                       ~^~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:105:105: error: 'nil' requires a contextual type
            _ = request.allHTTPHeaderFields?.map { key, value in if !s.contains(key) { request.setValue(nil, forHTTPHeaderField: key) } }
                                                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:184:24: error: cannot find 'URLRequest' in scope
        self.request = URLRequest(url: urlObject)
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:209:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            let task = session.dataTask(with: request) { (data, response, error) in
                       ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:215:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let code = response.statusCode
                           ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:73: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                        ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:84: error: 'nil' requires a contextual type
            let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:596:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
        let task = session.downloadTask(with: request) { (source, response, error) in
                   ~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:617:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { (data, response, error) in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:624:22: error: cannot convert value of type '_' to expected argument type 'Data?'
            callback(data, response as? HTTPURLResponse, error)
                     ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:797:32: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
        let method = challenge.protectionSpace.authenticationMethod
                     ~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:798:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
        let host = challenge.protectionSpace.host
                   ~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:808:15: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
        case (NSURLAuthenticationMethodServerTrust, baseHost):
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:258:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:258:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:258:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:263:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:263:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:304:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:304:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:312:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:312:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:312:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:341:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:341:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:381:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:381:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:381:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:396:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:396:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:437:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:437:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:445:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:445:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:445:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:475:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:475:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:514:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:514:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:522:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:522:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:522:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:533:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:533:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:533:98: error: 'nil' requires a contextual type
                let dataResponse = RestResponse(request: self.request, response: response, data: nil, result: result)
                                                                                                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:528:33: error: type of expression is ambiguous without a type annotation
            let encoding = self.getCharacterEncoding(from: response?.allHeaderFields["Content-Type"] as? String)
                           ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:540:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:540:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:578:36: error: generic parameter 'T' could not be inferred
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:578:36: note: explicitly specify the generic arguments to fix this issue
                let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                                   ^
                                               <Any>
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:585:32: error: generic parameter 'T' could not be inferred
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:713:28: note: 'T' declared as parameter to type 'RestResponse'
public struct RestResponse<T> {
                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:585:32: note: explicitly specify the generic arguments to fix this issue
            let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
                               ^
                                           <Any>
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1