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 MoyaAPIClient with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/MoyaAPIClient.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/fummicc1/MoyaAPIClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 49f00a0 fix: APIClient
Cloned https://github.com/fummicc1/MoyaAPIClient.git
Revision (git rev-parse @):
49f00a0fcaa64bac86aa19e51c291da00430be5d
SUCCESS checkout https://github.com/fummicc1/MoyaAPIClient.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/fummicc1/MoyaAPIClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Moya/Moya.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/52357] Fetching reactiveswift
[2/77535] Fetching reactiveswift, moya
[8491/128549] Fetching reactiveswift, moya, rxswift
[33081/156617] Fetching reactiveswift, moya, rxswift, alamofire
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (4.61s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.49s)
Fetched https://github.com/Moya/Moya.git from cache (5.49s)
Computing version for https://github.com/Moya/Moya.git
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.51s)
Computed https://github.com/Moya/Moya.git at 15.0.3 (2.75s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.66s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (0.48s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.7.1 (0.42s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.6.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.7.1
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 15.0.3
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/38] Emitting module Alamofire
[6/42] Compiling Alamofire URLEncodedFormEncoder.swift
[7/42] Compiling Alamofire URLRequest+Alamofire.swift
[8/42] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[9/42] Compiling Alamofire Validation.swift
[10/42] Compiling Alamofire Request.swift
[11/42] Compiling Alamofire RequestCompression.swift
[12/42] Compiling Alamofire RequestInterceptor.swift
[13/42] Compiling Alamofire RequestTaskMap.swift
[14/42] Compiling Alamofire Response.swift
[15/42] Compiling Alamofire Session.swift
[16/42] Compiling Alamofire SessionDelegate.swift
[17/42] Compiling Alamofire StringEncoding+Alamofire.swift
[18/42] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[19/42] Compiling Alamofire ResponseSerialization.swift
[20/42] Compiling Alamofire Result+Alamofire.swift
[21/42] Compiling Alamofire RetryPolicy.swift
[22/42] Compiling Alamofire ServerTrustEvaluation.swift
[23/42] Compiling Alamofire OperationQueue+Alamofire.swift
[24/42] Compiling Alamofire ParameterEncoder.swift
[25/42] Compiling Alamofire ParameterEncoding.swift
[26/42] Compiling Alamofire Protected.swift
[27/42] Compiling Alamofire RedirectHandler.swift
[28/42] Compiling Alamofire Combine.swift
[29/42] Compiling Alamofire Concurrency.swift
[30/42] Compiling Alamofire DispatchQueue+Alamofire.swift
[31/42] Compiling Alamofire EventMonitor.swift
[32/42] Compiling Alamofire HTTPHeaders.swift
[33/42] Compiling Alamofire AFError.swift
[34/42] Compiling Alamofire Alamofire.swift
[35/42] Compiling Alamofire AlamofireExtended.swift
[36/42] Compiling Alamofire AuthenticationInterceptor.swift
[37/42] Compiling Alamofire CachedResponseHandler.swift
[38/42] Compiling Alamofire HTTPMethod.swift
[39/42] Compiling Alamofire MultipartFormData.swift
[40/42] Compiling Alamofire MultipartUpload.swift
[41/42] Compiling Alamofire NetworkReachabilityManager.swift
[42/42] Compiling Alamofire Notifications.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/65] Emitting module Moya
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
                   ^~~~~~~~~~
[45/68] Compiling Moya AnyEncodable.swift
[46/68] Compiling Moya Atomic.swift
[47/68] Compiling Moya Cancellable.swift
[48/68] Compiling Moya Endpoint.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: requestURL)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
[49/68] Compiling Moya Image.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: requestURL)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
[50/68] Compiling Moya Moya+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: requestURL)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
[51/68] Compiling Moya Response.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:36:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
            && lhs.response == rhs.response
               ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:115:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
                let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
                                                 ^~~~~~~~~~~
                                                  forKey
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:145:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
            guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
                                                                                                            ^~~~~~~~~~~
                                                                                                             forKey
[52/68] Compiling Moya TargetType.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:36:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
            && lhs.response == rhs.response
               ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:115:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
                let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
                                                 ^~~~~~~~~~~
                                                  forKey
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:145:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
            guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
                                                                                                            ^~~~~~~~~~~
                                                                                                             forKey
[53/68] Compiling Moya Task.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:36:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
            && lhs.response == rhs.response
               ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:115:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
                let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
                                                 ^~~~~~~~~~~
                                                  forKey
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:145:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
            guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
                                                                                                            ^~~~~~~~~~~
                                                                                                             forKey
[54/68] Compiling Moya NetworkActivityPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkLoggerPlugin.swift:90:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            output.append(configuration.formatter.entry("Response", httpResponse.description, target))
                                                                    ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
        let newRequest = _request.authenticate(with: credential)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: note: did you mean to use 'as!' to force downcast?
        let newRequest = _request.authenticate(with: credential)
                                                     ^
                                                                as! URLCredential
[55/68] Compiling Moya NetworkLoggerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkLoggerPlugin.swift:90:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            output.append(configuration.formatter.entry("Response", httpResponse.description, target))
                                                                    ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
        let newRequest = _request.authenticate(with: credential)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: note: did you mean to use 'as!' to force downcast?
        let newRequest = _request.authenticate(with: credential)
                                                     ^
                                                                as! URLCredential
[56/68] Compiling Moya RequestTypeWrapper.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkLoggerPlugin.swift:90:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            output.append(configuration.formatter.entry("Response", httpResponse.description, target))
                                                                    ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
        let newRequest = _request.authenticate(with: credential)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: note: did you mean to use 'as!' to force downcast?
        let newRequest = _request.authenticate(with: credential)
                                                     ^
                                                                as! URLCredential
[57/68] Compiling Moya Plugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
[58/68] Compiling Moya AccessTokenPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
[59/68] Compiling Moya CredentialsPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
[60/68] Compiling Moya MoyaError.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
            closure(.success(urlRequest))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.requestMapping(url)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.parameterEncoding(error)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.underlying(error, nil)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
        configuration.headers = .default
                                ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:58: error: cannot find type 'URLRequest' in scope
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:51:26: error: cannot find type 'URLRequest' in scope
            var request: URLRequest!
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:33: error: unable to infer closure type without a type annotation
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:133:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let response = Moya.Response(statusCode: customResponse.statusCode, data: data, request: request, response: customResponse)
                                                         ~~~~~~~~~~~~~~ ^~~~~~~~~~
[61/68] Compiling Moya MoyaProvider+Defaults.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
            closure(.success(urlRequest))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.requestMapping(url)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.parameterEncoding(error)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.underlying(error, nil)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
        configuration.headers = .default
                                ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:58: error: cannot find type 'URLRequest' in scope
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:51:26: error: cannot find type 'URLRequest' in scope
            var request: URLRequest!
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:33: error: unable to infer closure type without a type annotation
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:133:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let response = Moya.Response(statusCode: customResponse.statusCode, data: data, request: request, response: customResponse)
                                                         ~~~~~~~~~~~~~~ ^~~~~~~~~~
[62/68] Compiling Moya MoyaProvider+Internal.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
            closure(.success(urlRequest))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.requestMapping(url)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.parameterEncoding(error)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.underlying(error, nil)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
        configuration.headers = .default
                                ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:58: error: cannot find type 'URLRequest' in scope
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:51:26: error: cannot find type 'URLRequest' in scope
            var request: URLRequest!
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:33: error: unable to infer closure type without a type annotation
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:133:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let response = Moya.Response(statusCode: customResponse.statusCode, data: data, request: request, response: customResponse)
                                                         ~~~~~~~~~~~~~~ ^~~~~~~~~~
[63/68] Compiling Moya URL+Moya.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
    mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
    func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
                                                                                            ^~~~~~~~~~
[64/68] Compiling Moya URLRequest+Encoding.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
    mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
    func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
                                                                                            ^~~~~~~~~~
[65/68] Compiling Moya ValidationType.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
    mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
    func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
                                                                                            ^~~~~~~~~~
[66/68] Compiling Moya MoyaProvider.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:65: error: cannot find 'NSEC_PER_SEC' in scope
            let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:149:81: error: cannot find 'NSEC_PER_SEC' in scope
            let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
                                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:199:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
[67/68] Compiling Moya MultiTarget.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:65: error: cannot find 'NSEC_PER_SEC' in scope
            let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:149:81: error: cannot find 'NSEC_PER_SEC' in scope
            let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
                                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:199:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
[68/68] Compiling Moya MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:65: error: cannot find 'NSEC_PER_SEC' in scope
            let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:149:81: error: cannot find 'NSEC_PER_SEC' in scope
            let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
                                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:199:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling Moya Plugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
[3/21] Compiling Moya AccessTokenPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
[4/21] Compiling Moya CredentialsPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/23] Emitting module Moya
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> Self
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
    public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias CredentialClosure = (TargetType) -> URLCredential?
                                                         ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
                   ^~~~~~~~~~
[6/23] Compiling Moya Endpoint.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: requestURL)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
[7/23] Compiling Moya Image.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: requestURL)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
[8/23] Compiling Moya Moya+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case response(HTTPURLResponse, Data)
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: requestURL)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
extension Request: RequestType {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:756:17: note: candidate has non-matching type '(URLCredential) -> Self'
    public func authenticate(with credential: URLCredential) -> Self {
                ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
    func authenticate(with credential: URLCredential) -> Self
         ^
[9/23] Compiling Moya MoyaError.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
            closure(.success(urlRequest))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.requestMapping(url)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.parameterEncoding(error)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.underlying(error, nil)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
        configuration.headers = .default
                                ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:58: error: cannot find type 'URLRequest' in scope
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:51:26: error: cannot find type 'URLRequest' in scope
            var request: URLRequest!
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:33: error: unable to infer closure type without a type annotation
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:133:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let response = Moya.Response(statusCode: customResponse.statusCode, data: data, request: request, response: customResponse)
                                                         ~~~~~~~~~~~~~~ ^~~~~~~~~~
[10/23] Compiling Moya MoyaProvider+Defaults.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
            closure(.success(urlRequest))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.requestMapping(url)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.parameterEncoding(error)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.underlying(error, nil)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
        configuration.headers = .default
                                ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:58: error: cannot find type 'URLRequest' in scope
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:51:26: error: cannot find type 'URLRequest' in scope
            var request: URLRequest!
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:33: error: unable to infer closure type without a type annotation
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:133:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let response = Moya.Response(statusCode: customResponse.statusCode, data: data, request: request, response: customResponse)
                                                         ~~~~~~~~~~~~~~ ^~~~~~~~~~
[11/23] Compiling Moya MoyaProvider+Internal.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
    func urlRequest() throws -> URLRequest {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
            closure(.success(urlRequest))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.requestMapping(url)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.parameterEncoding(error)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
            closure(.failure(MoyaError.underlying(error, nil)))
                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
        configuration.headers = .default
                                ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
    private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
    func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
    func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
    func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
    func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:58: error: cannot find type 'URLRequest' in scope
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:51:26: error: cannot find type 'URLRequest' in scope
            var request: URLRequest!
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:45:33: error: unable to infer closure type without a type annotation
        let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:128:110: error: 'nil' requires a contextual type
                let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
                                                                                                             ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:133:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let response = Moya.Response(statusCode: customResponse.statusCode, data: data, request: request, response: customResponse)
                                                         ~~~~~~~~~~~~~~ ^~~~~~~~~~
[12/23] Compiling Moya URLRequest+Encoding.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
    mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
    func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
                                                                                            ^~~~~~~~~~
[13/23] Compiling Moya ValidationType.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
    mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
                                                                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
    func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
                                                                                            ^~~~~~~~~~
[14/23] Compiling Moya Task.swift
[15/23] Compiling Moya URL+Moya.swift
[16/23] Compiling Moya Response.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:36:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
            && lhs.response == rhs.response
               ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:115:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
                let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
                                                 ^~~~~~~~~~~
                                                  forKey
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:145:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
            guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
                                                                                                            ^~~~~~~~~~~
                                                                                                             forKey
[17/23] Compiling Moya TargetType.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
public typealias Image = ImageType
                         ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:36:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
            && lhs.response == rhs.response
               ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:115:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
                let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
                                                 ^~~~~~~~~~~
                                                  forKey
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:145:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
            guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
                                                                                                            ^~~~~~~~~~~
                                                                                                             forKey
[18/23] Compiling Moya NetworkActivityPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkLoggerPlugin.swift:90:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            output.append(configuration.formatter.entry("Response", httpResponse.description, target))
                                                                    ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
        let newRequest = _request.authenticate(with: credential)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: note: did you mean to use 'as!' to force downcast?
        let newRequest = _request.authenticate(with: credential)
                                                     ^
                                                                as! URLCredential
[19/23] Compiling Moya NetworkLoggerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkLoggerPlugin.swift:90:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            output.append(configuration.formatter.entry("Response", httpResponse.description, target))
                                                                    ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
        let newRequest = _request.authenticate(with: credential)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: note: did you mean to use 'as!' to force downcast?
        let newRequest = _request.authenticate(with: credential)
                                                     ^
                                                                as! URLCredential
[20/23] Compiling Moya RequestTypeWrapper.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { get }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkLoggerPlugin.swift:90:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
            output.append(configuration.formatter.entry("Response", httpResponse.description, target))
                                                                    ~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
    var request: URLRequest? { _urlRequest }
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
    private var _urlRequest: URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
    init(request: Request, urlRequest: URLRequest?) {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
    func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
                                                                       ~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
                                       ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
        let newRequest = _request.authenticate(with: credential)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:24:54: note: did you mean to use 'as!' to force downcast?
        let newRequest = _request.authenticate(with: credential)
                                                     ^
                                                                as! URLCredential
[21/23] Compiling Moya MoyaProvider.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:65: error: cannot find 'NSEC_PER_SEC' in scope
            let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:149:81: error: cannot find 'NSEC_PER_SEC' in scope
            let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
                                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:199:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
[22/23] Compiling Moya MultiTarget.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:65: error: cannot find 'NSEC_PER_SEC' in scope
            let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:149:81: error: cannot find 'NSEC_PER_SEC' in scope
            let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
                                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:199:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
[23/23] Compiling Moya MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
    public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
    func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
    open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
    final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
    final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
                                                                                                                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:65: error: cannot find 'NSEC_PER_SEC' in scope
            let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:149:81: error: cannot find 'NSEC_PER_SEC' in scope
            let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
                                                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
    public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:199:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
                                                     ~~~~~~~~ ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux