The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build openwhisk-swift-sdk, reference 0.2.0 (7c0d30), with Swift 6.1 for Linux on 25 Apr 2025 17:54:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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:             6.1
Building package at path:  $PWD
https://github.com/dokun1/openwhisk-swift-sdk.git
https://github.com/dokun1/openwhisk-swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "circuitbreaker",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/CircuitBreaker.git"
    },
    {
      "identity" : "loggerapi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/LoggerAPI.git"
    },
    {
      "identity" : "swiftyrequest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/SwiftyRequest.git"
    }
  ],
  "manifest_display_name" : "openwhisk-swift-sdk",
  "name" : "openwhisk-swift-sdk",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "openwhisk-swift-sdk",
      "targets" : [
        "openwhisk-swift-sdk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "openwhisk_swift_sdkTests",
      "module_type" : "SwiftTarget",
      "name" : "openwhisk-swift-sdkTests",
      "path" : "Tests/openwhisk-swift-sdkTests",
      "sources" : [
        "XCTestManifests.swift",
        "openwhisk_swift_sdkTests.swift"
      ],
      "target_dependencies" : [
        "openwhisk-swift-sdk"
      ],
      "type" : "test"
    },
    {
      "c99name" : "openwhisk_swift_sdk",
      "module_type" : "SwiftTarget",
      "name" : "openwhisk-swift-sdk",
      "path" : "Sources/openwhisk-swift-sdk",
      "product_dependencies" : [
        "CircuitBreaker",
        "LoggerAPI",
        "SwiftyRequest"
      ],
      "product_memberships" : [
        "openwhisk-swift-sdk"
      ],
      "sources" : [
        "Controller/Agent.swift",
        "Controller/Decoders.swift",
        "ResponseModels/Action.swift",
        "ResponseModels/ActionDetail.swift",
        "ResponseModels/InvocationResponse.swift",
        "ResponseModels/MultiDecodable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
Fetching https://github.com/IBM-Swift/SwiftyRequest.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
[1/1733] Fetching circuitbreaker
[296/2504] Fetching circuitbreaker, loggerapi
[1265/4599] Fetching circuitbreaker, loggerapi, swiftyrequest
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.36s)
Fetched https://github.com/IBM-Swift/CircuitBreaker.git from cache (0.37s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git from cache (0.39s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 1.1.3 (0.96s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (2.21s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.58s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.86s)
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/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.6.3
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
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 LogHandler.swift
[9/11] Compiling Logging Locks.swift
[10/11] Emitting module Logging
[11/11] Compiling Logging Logging.swift
[13/14] Emitting module LoggerAPI
[14/14] Compiling LoggerAPI Logger.swift
[16/25] Compiling CircuitBreaker Monitor.swift
[17/26] Compiling CircuitBreaker Invocation.swift
[18/26] Compiling CircuitBreaker Utils.swift
[19/26] Compiling CircuitBreaker Stats.swift
[20/26] Compiling CircuitBreaker MonitorCollection.swift
[21/26] Compiling CircuitBreaker Snapshot.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
[28/36] Compiling SwiftyRequest RestUtilities.swift
[29/36] Compiling SwiftyRequest RestToken.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
714 |
715 |     /// The rest request
716 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
717 |
718 |     /// The response to the request
[30/36] 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.
 27 |
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
 31 |         if isSecure && isSelfSigned {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
 38 |
 39 |     // The HTTP Request
 40 |     private var request: URLRequest
    |                          `- error: cannot find type 'URLRequest' in scope
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
/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.
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
 43 |     public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
    |                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /// Parameters for a `CircuitBreaker` instance.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
 90 |                 }
 91 |             } else {
 92 |                 request.setValue(nil, forHTTPHeaderField: "Authorization")
    |                                  `- error: 'nil' requires a contextual type
 93 |             }
 94 |         }
/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.
203 |     ///
204 |     /// - Parameter completionHandler: Callback used on completion of operation
205 |     public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 |         if let breaker = circuitBreaker {
207 |             breaker.run(commandArgs: completionHandler, fallbackArgs: "Circuit is open")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
275 |     ///   - completionHandler: Callback used on completion of operation
276 |     public func responseObject<T: JSONDecodable>(
277 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |         path: [JSONPathType]? = nil,
279 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
353 |     ///   - completionHandler: Callback used on completion of operation
354 |     public func responseObject<T: Decodable>(
355 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
356 |         templateParams: [String: String]? = nil,
357 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
408 |     ///   - completionHandler: Callback used on completion of operation
409 |     public func responseArray<T: JSONDecodable>(
410 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
411 |         path: [JSONPathType]? = nil,
412 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
486 |     ///   - completionHandler: Callback used on completion of operation
487 |     public func responseString(
488 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |         templateParams: [String: String]? = nil,
490 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
551 |     ///   - completionHandler: Callback used on completion of operation
552 |     public func responseVoid(
553 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
554 |         templateParams: [String: String]? = nil,
555 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
593 |     ///   - destination: URL destination to save the file to
594 |     ///   - completionHandler: Callback used on completion of operation
595 |     public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
596 |         let task = session.downloadTask(with: request) { (source, response, error) in
597 |             do {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
614 |     ///
615 |     /// - Parameter invocation: `Invocation` contains a command argument, Void return type, and a String fallback arguement
616 |     private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
    |                                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
617 |         let task = session.dataTask(with: request) { (data, response, error) in
618 |             if error != nil {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
714 |
715 |     /// The rest request
716 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
717 |
718 |     /// The response to the request
/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.
717 |
718 |     /// The response to the request
719 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
720 |
721 |     /// The Response Data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
791 |
792 | // URL Session extension
793 | extension RestRequest: URLSessionDelegate {
    |                        `- error: cannot find type 'URLSessionDelegate' in scope
794 |
795 |     /// URL session function to allow trusting certain URLs
/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')
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
/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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                         `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:73: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:32:50: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
    |                                                  `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:33:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                          `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
 35 |         }
/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
 32 |             let config = URLSessionConfiguration.default
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 35 |         }
 36 |         return session
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:34:89: error: cannot infer contextual base in reference to member 'main'
 32 |             let config = URLSessionConfiguration.default
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
    |                                                                                         `- error: cannot infer contextual base in reference to member 'main'
 35 |         }
 36 |         return session
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:105:105: error: 'nil' requires a contextual type
103 |             // Remove any header fields external to the RestRequest supported headers
104 |             let s: Set<String> = ["Authorization", "Accept", "Content-Type", "User-Agent"]
105 |             _ = request.allHTTPHeaderFields?.map { key, value in if !s.contains(key) { request.setValue(nil, forHTTPHeaderField: key) } }
    |                                                                                                         `- error: 'nil' requires a contextual type
106 |             // Add new header parameters
107 |             for (key, value) in newValue {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:184:24: error: cannot find 'URLRequest' in scope
182 |         let urlComponents = URLComponents(string: url) ?? URLComponents(string: "")!
183 |         let urlObject = urlComponents.url ?? URL(string: "n/a")!
184 |         self.request = URLRequest(url: urlObject)
    |                        `- error: cannot find 'URLRequest' in scope
185 |
186 |         // Set inital fields
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:209:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
207 |             breaker.run(commandArgs: completionHandler, fallbackArgs: "Circuit is open")
208 |         } else {
209 |             let task = session.dataTask(with: request) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
210 |                 guard error == nil, let response = response as? HTTPURLResponse else {
211 |                     completionHandler(nil, nil, error)
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:215:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
213 |                 }
214 |
215 |                 let code = response.statusCode
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
216 |                 if code >= 200 && code < 300 {
217 |                     completionHandler(data, response, error)
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:32: error: generic parameter 'T' could not be inferred
238 |         if  let error = performSubstitutions(params: templateParams) {
239 |             let result = Result<Data>.failure(error)
240 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
241 |             completionHandler(dataResponse)
242 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:73: error: 'nil' requires a contextual type
238 |         if  let error = performSubstitutions(params: templateParams) {
239 |             let result = Result<Data>.failure(error)
240 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
241 |             completionHandler(dataResponse)
242 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:84: error: 'nil' requires a contextual type
238 |         if  let error = performSubstitutions(params: templateParams) {
239 |             let result = Result<Data>.failure(error)
240 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
241 |             completionHandler(dataResponse)
242 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: error: generic parameter 'T' could not be inferred
249 |             if let error = error {
250 |                 let result = Result<Data>.failure(error)
251 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
252 |                 completionHandler(dataResponse)
253 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:32: error: generic parameter 'T' could not be inferred
283 |         if  let error = performSubstitutions(params: templateParams) {
284 |             let result = Result<T>.failure(error)
285 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
286 |             completionHandler(dataResponse)
287 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:73: error: 'nil' requires a contextual type
283 |         if  let error = performSubstitutions(params: templateParams) {
284 |             let result = Result<T>.failure(error)
285 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
286 |             completionHandler(dataResponse)
287 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:84: error: 'nil' requires a contextual type
283 |         if  let error = performSubstitutions(params: templateParams) {
284 |             let result = Result<T>.failure(error)
285 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
286 |             completionHandler(dataResponse)
287 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: error: generic parameter 'T' could not be inferred
294 |             if let error = error {
295 |                 let result = Result<T>.failure(error)
296 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
297 |                 completionHandler(dataResponse)
298 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:32: error: generic parameter 'T' could not be inferred
360 |         if  let error = performSubstitutions(params: templateParams) {
361 |             let result = Result<T>.failure(error)
362 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
363 |             completionHandler(dataResponse)
364 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:73: error: 'nil' requires a contextual type
360 |         if  let error = performSubstitutions(params: templateParams) {
361 |             let result = Result<T>.failure(error)
362 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
363 |             completionHandler(dataResponse)
364 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:84: error: 'nil' requires a contextual type
360 |         if  let error = performSubstitutions(params: templateParams) {
361 |             let result = Result<T>.failure(error)
362 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
363 |             completionHandler(dataResponse)
364 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: error: generic parameter 'T' could not be inferred
371 |             if let error = error ?? responseToError?(response, data) {
372 |                 let result = Result<T>.failure(error)
373 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
374 |                 completionHandler(dataResponse)
375 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:32: error: generic parameter 'T' could not be inferred
416 |         if  let error = performSubstitutions(params: templateParams) {
417 |             let result = Result<[T]>.failure(error)
418 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
419 |             completionHandler(dataResponse)
420 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:73: error: 'nil' requires a contextual type
416 |         if  let error = performSubstitutions(params: templateParams) {
417 |             let result = Result<[T]>.failure(error)
418 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
419 |             completionHandler(dataResponse)
420 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:84: error: 'nil' requires a contextual type
416 |         if  let error = performSubstitutions(params: templateParams) {
417 |             let result = Result<[T]>.failure(error)
418 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
419 |             completionHandler(dataResponse)
420 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: error: generic parameter 'T' could not be inferred
427 |             if let error = error {
428 |                 let result = Result<[T]>.failure(error)
429 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
430 |                 completionHandler(dataResponse)
431 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:32: error: generic parameter 'T' could not be inferred
493 |         if  let error = performSubstitutions(params: templateParams) {
494 |             let result = Result<String>.failure(error)
495 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
496 |             completionHandler(dataResponse)
497 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:73: error: 'nil' requires a contextual type
493 |         if  let error = performSubstitutions(params: templateParams) {
494 |             let result = Result<String>.failure(error)
495 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
496 |             completionHandler(dataResponse)
497 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:84: error: 'nil' requires a contextual type
493 |         if  let error = performSubstitutions(params: templateParams) {
494 |             let result = Result<String>.failure(error)
495 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
496 |             completionHandler(dataResponse)
497 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: error: generic parameter 'T' could not be inferred
504 |             if let error = error {
505 |                 let result = Result<String>.failure(error)
506 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
507 |                 completionHandler(dataResponse)
508 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:32: error: generic parameter 'T' could not be inferred
558 |         if  let error = performSubstitutions(params: templateParams) {
559 |             let result = Result<Void>.failure(error)
560 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
561 |             completionHandler(dataResponse)
562 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:73: error: 'nil' requires a contextual type
558 |         if  let error = performSubstitutions(params: templateParams) {
559 |             let result = Result<Void>.failure(error)
560 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
561 |             completionHandler(dataResponse)
562 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:84: error: 'nil' requires a contextual type
558 |         if  let error = performSubstitutions(params: templateParams) {
559 |             let result = Result<Void>.failure(error)
560 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
561 |             completionHandler(dataResponse)
562 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: error: generic parameter 'T' could not be inferred
569 |             if let error = error {
570 |                 let result = Result<Void>.failure(error)
571 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
572 |                 completionHandler(dataResponse)
573 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:596:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
594 |     ///   - completionHandler: Callback used on completion of operation
595 |     public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
596 |         let task = session.downloadTask(with: request) { (source, response, error) in
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
597 |             do {
598 |                 guard let source = source else {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:617:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
615 |     /// - Parameter invocation: `Invocation` contains a command argument, Void return type, and a String fallback arguement
616 |     private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
617 |         let task = session.dataTask(with: request) { (data, response, error) in
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
618 |             if error != nil {
619 |                 invocation.notifyFailure(error: BreakerError(reason: error?.localizedDescription))
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:797:32: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
797 |         let method = challenge.protectionSpace.authenticationMethod
    |                                `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
798 |         let host = challenge.protectionSpace.host
799 |
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:798:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
    |                              `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
799 |
800 |         guard let url = URLComponents(string: self.url), let baseHost = url.host else {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
799 |
800 |         guard let url = URLComponents(string: self.url), let baseHost = url.host else {
801 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
802 |             return
803 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:56: error: 'nil' requires a contextual type
799 |
800 |         guard let url = URLComponents(string: self.url), let baseHost = url.host else {
801 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
802 |             return
803 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:808:15: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
806 |
807 |         switch (method, host) {
808 |         case (NSURLAuthenticationMethodServerTrust, baseHost):
    |               `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
809 |             #if !os(Linux)
810 |             guard #available(iOS 3.0, macOS 10.6, *), let trust = challenge.protectionSpace.serverTrust else {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
821 |             #endif
822 |         default:
823 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
824 |         }
825 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:56: error: 'nil' requires a contextual type
821 |             #endif
822 |         default:
823 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
824 |         }
825 |     }
[31/37] Compiling SwiftyRequest MultipartFormData.swift
[32/37] Compiling SwiftyRequest JSON.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/37] Compiling SwiftyRequest CodableExtensions.swift
[34/37] Compiling SwiftyRequest HTTPMethod.swift
[35/37] Compiling SwiftyRequest JSONWrapper.swift
[36/37] 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.
 27 |
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
 31 |         if isSecure && isSelfSigned {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
 38 |
 39 |     // The HTTP Request
 40 |     private var request: URLRequest
    |                          `- error: cannot find type 'URLRequest' in scope
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
/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.
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
 43 |     public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
    |                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /// Parameters for a `CircuitBreaker` instance.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
 90 |                 }
 91 |             } else {
 92 |                 request.setValue(nil, forHTTPHeaderField: "Authorization")
    |                                  `- error: 'nil' requires a contextual type
 93 |             }
 94 |         }
/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.
203 |     ///
204 |     /// - Parameter completionHandler: Callback used on completion of operation
205 |     public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 |         if let breaker = circuitBreaker {
207 |             breaker.run(commandArgs: completionHandler, fallbackArgs: "Circuit is open")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
275 |     ///   - completionHandler: Callback used on completion of operation
276 |     public func responseObject<T: JSONDecodable>(
277 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |         path: [JSONPathType]? = nil,
279 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
353 |     ///   - completionHandler: Callback used on completion of operation
354 |     public func responseObject<T: Decodable>(
355 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
356 |         templateParams: [String: String]? = nil,
357 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
408 |     ///   - completionHandler: Callback used on completion of operation
409 |     public func responseArray<T: JSONDecodable>(
410 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
411 |         path: [JSONPathType]? = nil,
412 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
486 |     ///   - completionHandler: Callback used on completion of operation
487 |     public func responseString(
488 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |         templateParams: [String: String]? = nil,
490 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
551 |     ///   - completionHandler: Callback used on completion of operation
552 |     public func responseVoid(
553 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
554 |         templateParams: [String: String]? = nil,
555 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
593 |     ///   - destination: URL destination to save the file to
594 |     ///   - completionHandler: Callback used on completion of operation
595 |     public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
596 |         let task = session.downloadTask(with: request) { (source, response, error) in
597 |             do {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
614 |     ///
615 |     /// - Parameter invocation: `Invocation` contains a command argument, Void return type, and a String fallback arguement
616 |     private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
    |                                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
617 |         let task = session.dataTask(with: request) { (data, response, error) in
618 |             if error != nil {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
714 |
715 |     /// The rest request
716 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
717 |
718 |     /// The response to the request
/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.
717 |
718 |     /// The response to the request
719 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
720 |
721 |     /// The Response Data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
791 |
792 | // URL Session extension
793 | extension RestRequest: URLSessionDelegate {
    |                        `- error: cannot find type 'URLSessionDelegate' in scope
794 |
795 |     /// URL session function to allow trusting certain URLs
/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')
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
/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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                         `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
[37/37] Compiling SwiftyRequest StringExtensions.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
[2/6] Compiling Logging Locks.swift
[3/6] Compiling Logging MetadataProvider.swift
[4/6] Emitting module Logging
[5/6] Compiling Logging Logging.swift
[6/6] Compiling Logging LogHandler.swift
[8/9] Compiling LoggerAPI Logger.swift
[9/9] Emitting module LoggerAPI
[11/20] Compiling CircuitBreaker Monitor.swift
[12/21] Compiling CircuitBreaker Invocation.swift
[13/21] Compiling CircuitBreaker Utils.swift
[14/21] Compiling CircuitBreaker MonitorCollection.swift
[15/21] Compiling CircuitBreaker BreakerError.swift
[16/21] Compiling CircuitBreaker Bulkhead.swift
[17/21] Emitting module CircuitBreaker
[18/21] Compiling CircuitBreaker CircuitBreaker.swift
[19/21] Compiling CircuitBreaker Collection.swift
[20/21] Compiling CircuitBreaker Snapshot.swift
[21/21] Compiling CircuitBreaker Stats.swift
[23/31] Compiling SwiftyRequest RestUtilities.swift
[24/32] Compiling SwiftyRequest RestToken.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
714 |
715 |     /// The rest request
716 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
717 |
718 |     /// The response to the request
[25/32] 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.
 27 |
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
 31 |         if isSecure && isSelfSigned {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
 38 |
 39 |     // The HTTP Request
 40 |     private var request: URLRequest
    |                          `- error: cannot find type 'URLRequest' in scope
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
/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.
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
 43 |     public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
    |                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /// Parameters for a `CircuitBreaker` instance.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
 90 |                 }
 91 |             } else {
 92 |                 request.setValue(nil, forHTTPHeaderField: "Authorization")
    |                                  `- error: 'nil' requires a contextual type
 93 |             }
 94 |         }
/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.
203 |     ///
204 |     /// - Parameter completionHandler: Callback used on completion of operation
205 |     public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 |         if let breaker = circuitBreaker {
207 |             breaker.run(commandArgs: completionHandler, fallbackArgs: "Circuit is open")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
275 |     ///   - completionHandler: Callback used on completion of operation
276 |     public func responseObject<T: JSONDecodable>(
277 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |         path: [JSONPathType]? = nil,
279 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
353 |     ///   - completionHandler: Callback used on completion of operation
354 |     public func responseObject<T: Decodable>(
355 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
356 |         templateParams: [String: String]? = nil,
357 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
408 |     ///   - completionHandler: Callback used on completion of operation
409 |     public func responseArray<T: JSONDecodable>(
410 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
411 |         path: [JSONPathType]? = nil,
412 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
486 |     ///   - completionHandler: Callback used on completion of operation
487 |     public func responseString(
488 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |         templateParams: [String: String]? = nil,
490 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
551 |     ///   - completionHandler: Callback used on completion of operation
552 |     public func responseVoid(
553 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
554 |         templateParams: [String: String]? = nil,
555 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
593 |     ///   - destination: URL destination to save the file to
594 |     ///   - completionHandler: Callback used on completion of operation
595 |     public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
596 |         let task = session.downloadTask(with: request) { (source, response, error) in
597 |             do {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
614 |     ///
615 |     /// - Parameter invocation: `Invocation` contains a command argument, Void return type, and a String fallback arguement
616 |     private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
    |                                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
617 |         let task = session.dataTask(with: request) { (data, response, error) in
618 |             if error != nil {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
714 |
715 |     /// The rest request
716 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
717 |
718 |     /// The response to the request
/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.
717 |
718 |     /// The response to the request
719 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
720 |
721 |     /// The Response Data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
791 |
792 | // URL Session extension
793 | extension RestRequest: URLSessionDelegate {
    |                        `- error: cannot find type 'URLSessionDelegate' in scope
794 |
795 |     /// URL session function to allow trusting certain URLs
/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')
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
/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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                         `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:30:73: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:32:50: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
    |                                                  `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:33:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 31 |         if isSecure && isSelfSigned {
 32 |             let config = URLSessionConfiguration.default
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                          `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
 35 |         }
/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
 32 |             let config = URLSessionConfiguration.default
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 35 |         }
 36 |         return session
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:34:89: error: cannot infer contextual base in reference to member 'main'
 32 |             let config = URLSessionConfiguration.default
 33 |             config.requestCachePolicy = .reloadIgnoringLocalCacheData
 34 |             session = URLSession(configuration: config, delegate: self, delegateQueue: .main)
    |                                                                                         `- error: cannot infer contextual base in reference to member 'main'
 35 |         }
 36 |         return session
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:105:105: error: 'nil' requires a contextual type
103 |             // Remove any header fields external to the RestRequest supported headers
104 |             let s: Set<String> = ["Authorization", "Accept", "Content-Type", "User-Agent"]
105 |             _ = request.allHTTPHeaderFields?.map { key, value in if !s.contains(key) { request.setValue(nil, forHTTPHeaderField: key) } }
    |                                                                                                         `- error: 'nil' requires a contextual type
106 |             // Add new header parameters
107 |             for (key, value) in newValue {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:184:24: error: cannot find 'URLRequest' in scope
182 |         let urlComponents = URLComponents(string: url) ?? URLComponents(string: "")!
183 |         let urlObject = urlComponents.url ?? URL(string: "n/a")!
184 |         self.request = URLRequest(url: urlObject)
    |                        `- error: cannot find 'URLRequest' in scope
185 |
186 |         // Set inital fields
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:209:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
207 |             breaker.run(commandArgs: completionHandler, fallbackArgs: "Circuit is open")
208 |         } else {
209 |             let task = session.dataTask(with: request) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
210 |                 guard error == nil, let response = response as? HTTPURLResponse else {
211 |                     completionHandler(nil, nil, error)
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:215:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
213 |                 }
214 |
215 |                 let code = response.statusCode
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
216 |                 if code >= 200 && code < 300 {
217 |                     completionHandler(data, response, error)
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:32: error: generic parameter 'T' could not be inferred
238 |         if  let error = performSubstitutions(params: templateParams) {
239 |             let result = Result<Data>.failure(error)
240 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
241 |             completionHandler(dataResponse)
242 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:73: error: 'nil' requires a contextual type
238 |         if  let error = performSubstitutions(params: templateParams) {
239 |             let result = Result<Data>.failure(error)
240 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
241 |             completionHandler(dataResponse)
242 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:240:84: error: 'nil' requires a contextual type
238 |         if  let error = performSubstitutions(params: templateParams) {
239 |             let result = Result<Data>.failure(error)
240 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
241 |             completionHandler(dataResponse)
242 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:251:36: error: generic parameter 'T' could not be inferred
249 |             if let error = error {
250 |                 let result = Result<Data>.failure(error)
251 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
252 |                 completionHandler(dataResponse)
253 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:32: error: generic parameter 'T' could not be inferred
283 |         if  let error = performSubstitutions(params: templateParams) {
284 |             let result = Result<T>.failure(error)
285 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
286 |             completionHandler(dataResponse)
287 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:73: error: 'nil' requires a contextual type
283 |         if  let error = performSubstitutions(params: templateParams) {
284 |             let result = Result<T>.failure(error)
285 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
286 |             completionHandler(dataResponse)
287 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:285:84: error: 'nil' requires a contextual type
283 |         if  let error = performSubstitutions(params: templateParams) {
284 |             let result = Result<T>.failure(error)
285 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
286 |             completionHandler(dataResponse)
287 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:296:36: error: generic parameter 'T' could not be inferred
294 |             if let error = error {
295 |                 let result = Result<T>.failure(error)
296 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
297 |                 completionHandler(dataResponse)
298 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:32: error: generic parameter 'T' could not be inferred
360 |         if  let error = performSubstitutions(params: templateParams) {
361 |             let result = Result<T>.failure(error)
362 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
363 |             completionHandler(dataResponse)
364 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:73: error: 'nil' requires a contextual type
360 |         if  let error = performSubstitutions(params: templateParams) {
361 |             let result = Result<T>.failure(error)
362 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
363 |             completionHandler(dataResponse)
364 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:362:84: error: 'nil' requires a contextual type
360 |         if  let error = performSubstitutions(params: templateParams) {
361 |             let result = Result<T>.failure(error)
362 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
363 |             completionHandler(dataResponse)
364 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:373:36: error: generic parameter 'T' could not be inferred
371 |             if let error = error ?? responseToError?(response, data) {
372 |                 let result = Result<T>.failure(error)
373 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
374 |                 completionHandler(dataResponse)
375 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:32: error: generic parameter 'T' could not be inferred
416 |         if  let error = performSubstitutions(params: templateParams) {
417 |             let result = Result<[T]>.failure(error)
418 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
419 |             completionHandler(dataResponse)
420 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:73: error: 'nil' requires a contextual type
416 |         if  let error = performSubstitutions(params: templateParams) {
417 |             let result = Result<[T]>.failure(error)
418 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
419 |             completionHandler(dataResponse)
420 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:418:84: error: 'nil' requires a contextual type
416 |         if  let error = performSubstitutions(params: templateParams) {
417 |             let result = Result<[T]>.failure(error)
418 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
419 |             completionHandler(dataResponse)
420 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:429:36: error: generic parameter 'T' could not be inferred
427 |             if let error = error {
428 |                 let result = Result<[T]>.failure(error)
429 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
430 |                 completionHandler(dataResponse)
431 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:32: error: generic parameter 'T' could not be inferred
493 |         if  let error = performSubstitutions(params: templateParams) {
494 |             let result = Result<String>.failure(error)
495 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
496 |             completionHandler(dataResponse)
497 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:73: error: 'nil' requires a contextual type
493 |         if  let error = performSubstitutions(params: templateParams) {
494 |             let result = Result<String>.failure(error)
495 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
496 |             completionHandler(dataResponse)
497 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:495:84: error: 'nil' requires a contextual type
493 |         if  let error = performSubstitutions(params: templateParams) {
494 |             let result = Result<String>.failure(error)
495 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
496 |             completionHandler(dataResponse)
497 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:506:36: error: generic parameter 'T' could not be inferred
504 |             if let error = error {
505 |                 let result = Result<String>.failure(error)
506 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
507 |                 completionHandler(dataResponse)
508 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:32: error: generic parameter 'T' could not be inferred
558 |         if  let error = performSubstitutions(params: templateParams) {
559 |             let result = Result<Void>.failure(error)
560 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
561 |             completionHandler(dataResponse)
562 |             return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:73: error: 'nil' requires a contextual type
558 |         if  let error = performSubstitutions(params: templateParams) {
559 |             let result = Result<Void>.failure(error)
560 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                         `- error: 'nil' requires a contextual type
561 |             completionHandler(dataResponse)
562 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:560:84: error: 'nil' requires a contextual type
558 |         if  let error = performSubstitutions(params: templateParams) {
559 |             let result = Result<Void>.failure(error)
560 |             let dataResponse = RestResponse(request: request, response: nil, data: nil, result: result)
    |                                                                                    `- error: 'nil' requires a contextual type
561 |             completionHandler(dataResponse)
562 |             return
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:571:36: error: generic parameter 'T' could not be inferred
569 |             if let error = error {
570 |                 let result = Result<Void>.failure(error)
571 |                 let dataResponse = RestResponse(request: self.request, response: response, data: data, result: result)
    |                                    |- error: generic parameter 'T' could not be inferred
    |                                    `- note: explicitly specify the generic arguments to fix this issue
572 |                 completionHandler(dataResponse)
573 |                 return
    :
711 | /// Contains data associated with a finished network request.
712 | /// With `T` being the type of the response expected to be received
713 | public struct RestResponse<T> {
    |                            `- note: 'T' declared as parameter to type 'RestResponse'
714 |
715 |     /// The rest request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:596:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
594 |     ///   - completionHandler: Callback used on completion of operation
595 |     public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
596 |         let task = session.downloadTask(with: request) { (source, response, error) in
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
597 |             do {
598 |                 guard let source = source else {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:617:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
615 |     /// - Parameter invocation: `Invocation` contains a command argument, Void return type, and a String fallback arguement
616 |     private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
617 |         let task = session.dataTask(with: request) { (data, response, error) in
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
618 |             if error != nil {
619 |                 invocation.notifyFailure(error: BreakerError(reason: error?.localizedDescription))
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:797:32: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
797 |         let method = challenge.protectionSpace.authenticationMethod
    |                                `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
798 |         let host = challenge.protectionSpace.host
799 |
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:798:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
    |                              `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
799 |
800 |         guard let url = URLComponents(string: self.url), let baseHost = url.host else {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
799 |
800 |         guard let url = URLComponents(string: self.url), let baseHost = url.host else {
801 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
802 |             return
803 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:801:56: error: 'nil' requires a contextual type
799 |
800 |         guard let url = URLComponents(string: self.url), let baseHost = url.host else {
801 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
802 |             return
803 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:808:15: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
806 |
807 |         switch (method, host) {
808 |         case (NSURLAuthenticationMethodServerTrust, baseHost):
    |               `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
809 |             #if !os(Linux)
810 |             guard #available(iOS 3.0, macOS 10.6, *), let trust = challenge.protectionSpace.serverTrust else {
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
821 |             #endif
822 |         default:
823 |             completionHandler(.performDefaultHandling, nil)
    |                                `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
824 |         }
825 |     }
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:823:56: error: 'nil' requires a contextual type
821 |             #endif
822 |         default:
823 |             completionHandler(.performDefaultHandling, nil)
    |                                                        `- error: 'nil' requires a contextual type
824 |         }
825 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/32] Compiling SwiftyRequest CodableExtensions.swift
[27/32] Compiling SwiftyRequest HTTPMethod.swift
[28/32] Compiling SwiftyRequest JSON.swift
[29/32] 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.
 27 |
 28 |     /// A default `URLSession` instance
 29 |     private var session: URLSession {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |         var session = URLSession(configuration: URLSessionConfiguration.default)
 31 |         if isSecure && isSelfSigned {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: error: cannot find type 'URLRequest' in scope
 38 |
 39 |     // The HTTP Request
 40 |     private var request: URLRequest
    |                          `- error: cannot find type 'URLRequest' in scope
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
/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.
 41 |
 42 |     /// `CircuitBreaker` instance for this `RestRequest`
 43 |     public var circuitBreaker: CircuitBreaker<(Data?, HTTPURLResponse?, Error?) -> Void, String>?
    |                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /// Parameters for a `CircuitBreaker` instance.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:92:34: error: 'nil' requires a contextual type
 90 |                 }
 91 |             } else {
 92 |                 request.setValue(nil, forHTTPHeaderField: "Authorization")
    |                                  `- error: 'nil' requires a contextual type
 93 |             }
 94 |         }
/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.
203 |     ///
204 |     /// - Parameter completionHandler: Callback used on completion of operation
205 |     public func response(completionHandler: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 |         if let breaker = circuitBreaker {
207 |             breaker.run(commandArgs: completionHandler, fallbackArgs: "Circuit is open")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
275 |     ///   - completionHandler: Callback used on completion of operation
276 |     public func responseObject<T: JSONDecodable>(
277 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |         path: [JSONPathType]? = nil,
279 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
353 |     ///   - completionHandler: Callback used on completion of operation
354 |     public func responseObject<T: Decodable>(
355 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
356 |         templateParams: [String: String]? = nil,
357 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
408 |     ///   - completionHandler: Callback used on completion of operation
409 |     public func responseArray<T: JSONDecodable>(
410 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
411 |         path: [JSONPathType]? = nil,
412 |         templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
486 |     ///   - completionHandler: Callback used on completion of operation
487 |     public func responseString(
488 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |         templateParams: [String: String]? = nil,
490 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
551 |     ///   - completionHandler: Callback used on completion of operation
552 |     public func responseVoid(
553 |         responseToError: ((HTTPURLResponse?, Data?) -> Error?)? = nil,
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
554 |         templateParams: [String: String]? = nil,
555 |         queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
593 |     ///   - destination: URL destination to save the file to
594 |     ///   - completionHandler: Callback used on completion of operation
595 |     public func download(to destination: URL, completionHandler: @escaping (HTTPURLResponse?, Error?) -> Void) {
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
596 |         let task = session.downloadTask(with: request) { (source, response, error) in
597 |             do {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
614 |     ///
615 |     /// - Parameter invocation: `Invocation` contains a command argument, Void return type, and a String fallback arguement
616 |     private func handleInvocation(invocation: Invocation<(Data?, HTTPURLResponse?, Error?) -> Void, String>) {
    |                                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
617 |         let task = session.dataTask(with: request) { (data, response, error) in
618 |             if error != nil {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: error: cannot find type 'URLRequest' in scope
714 |
715 |     /// The rest request
716 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
717 |
718 |     /// The response to the request
/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.
717 |
718 |     /// The response to the request
719 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
720 |
721 |     /// The Response Data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: error: cannot find type 'URLSessionDelegate' in scope
791 |
792 | // URL Session extension
793 | extension RestRequest: URLSessionDelegate {
    |                        `- error: cannot find type 'URLSessionDelegate' in scope
794 |
795 |     /// URL session function to allow trusting certain URLs
/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')
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
/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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.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.
794 |
795 |     /// URL session function to allow trusting certain URLs
796 |     public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                         `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
797 |         let method = challenge.protectionSpace.authenticationMethod
798 |         let host = challenge.protectionSpace.host
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
[30/32] Compiling SwiftyRequest MultipartFormData.swift
[31/32] Compiling SwiftyRequest JSONWrapper.swift
[32/32] Compiling SwiftyRequest StringExtensions.swift
BUILD FAILURE 6.1 linux