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 MoyaNC, reference 3.2.0 (e6c90a), with Swift 6.0 for Linux on 1 Nov 2024 08:31:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BarredEwe/MoyaNetworkClient.git
Reference: 3.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/BarredEwe/MoyaNetworkClient
 * tag               3.2.0      -> FETCH_HEAD
HEAD is now at e6c90a9 Merge pull request #7 from BarredEwe/cacheManualKey
Cloned https://github.com/BarredEwe/MoyaNetworkClient.git
Revision (git rev-parse @):
e6c90a91f809c2b66a51f68055173b090e99f4da
SUCCESS checkout https://github.com/BarredEwe/MoyaNetworkClient.git at 3.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/BarredEwe/MoyaNetworkClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Moya/Moya.git
[1/25242] Fetching moya
Fetched https://github.com/Moya/Moya.git from cache (2.02s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 14.0.1 (0.51s)
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Moya/ReactiveSwift.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/45863] Fetching reactiveswift
[2/47249] Fetching reactiveswift, rocket
[2763/55137] Fetching reactiveswift, rocket, ohhttpstubs
[5703/69860] Fetching reactiveswift, rocket, ohhttpstubs, quick
[37299/122218] Fetching reactiveswift, rocket, ohhttpstubs, quick, rxswift
Fetched https://github.com/shibapm/Rocket from cache (0.63s)
[45929/120832] Fetching reactiveswift, ohhttpstubs, quick, rxswift
Fetching https://github.com/Alamofire/Alamofire.git
[79394/140050] Fetching reactiveswift, ohhttpstubs, quick, rxswift, nimble
[119904/169839] Fetching reactiveswift, ohhttpstubs, quick, rxswift, nimble, alamofire
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (2.38s)
[146992/161951] Fetching reactiveswift, quick, rxswift, nimble, alamofire
Fetched https://github.com/Quick/Quick.git from cache (2.39s)
[133758/147228] Fetching reactiveswift, rxswift, nimble, alamofire
Fetched https://github.com/Moya/ReactiveSwift.git from cache (2.41s)
[89385/101365] Fetching rxswift, nimble, alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.92s)
Fetched https://github.com/Quick/Nimble.git from cache (5.78s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.92s)
Computing version for https://github.com/Moya/ReactiveSwift.git
Computed https://github.com/Moya/ReactiveSwift.git at 6.1.0 (0.51s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.51s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.50s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.3.0 (0.50s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/jpsim/Yams
[1/580] Fetching packageconfig
[581/5443] Fetching packageconfig, swiftshell
[1651/5559] Fetching packageconfig, swiftshell, logger
[5558/15461] Fetching packageconfig, swiftshell, logger, yams
Fetched https://github.com/kareman/SwiftShell from cache (0.37s)
[1586/10598] Fetching packageconfig, logger, yams
Fetched https://github.com/shibapm/PackageConfig.git from cache (1.03s)
Fetched https://github.com/shibapm/Logger from cache (1.03s)
Fetched https://github.com/jpsim/Yams from cache (1.07s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.52s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.21s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.61s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.58s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.83s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (3.88s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.51s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.1.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Creating working copy for https://github.com/Moya/ReactiveSwift.git
Working copy of https://github.com/Moya/ReactiveSwift.git resolved at 6.1.0
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 14.0.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.3.0
warning: 'alamofire': /host/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/MoyaNC/Example': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/MoyaNC/fastlane': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/FutureMoyaNC/Example': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/FutureMoyaNC/fastlane': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/CacheMoyaNC/Example': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/CacheMoyaNC/fastlane': File not found.
Building for debugging...
[0/7] Write sources
[0/7] Copying PrivacyInfo.xcprivacy
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/46] Emitting module Alamofire
[9/51] Compiling Alamofire URLRequest+Alamofire.swift
[10/51] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[11/51] Compiling Alamofire AlamofireExtended.swift
[12/51] Compiling Alamofire AuthenticationInterceptor.swift
[13/51] Compiling Alamofire CachedResponseHandler.swift
[14/51] Compiling Alamofire NetworkReachabilityManager.swift
[15/51] Compiling Alamofire RedirectHandler.swift
[16/51] Compiling Alamofire RequestCompression.swift
[17/51] Compiling Alamofire RequestInterceptor.swift
[18/51] Compiling Alamofire ResponseSerialization.swift
[19/51] Compiling Alamofire Alamofire.swift
[20/51] Compiling Alamofire AFError.swift
[21/51] Compiling Alamofire DataRequest.swift
[22/51] Compiling Alamofire DataStreamRequest.swift
[23/51] Compiling Alamofire DownloadRequest.swift
[24/51] Compiling Alamofire HTTPHeaders.swift
[25/51] Compiling Alamofire RetryPolicy.swift
[26/51] Compiling Alamofire ServerTrustEvaluation.swift
[27/51] Compiling Alamofire URLEncodedFormEncoder.swift
[28/51] Compiling Alamofire Validation.swift
[29/51] Compiling Alamofire resource_bundle_accessor.swift
[30/51] Compiling Alamofire RequestTaskMap.swift
[31/51] Compiling Alamofire Response.swift
[32/51] Compiling Alamofire Session.swift
[33/51] Compiling Alamofire SessionDelegate.swift
[34/51] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[35/51] Compiling Alamofire UploadRequest.swift
[36/51] Compiling Alamofire HTTPMethod.swift
[37/51] Compiling Alamofire Notifications.swift
[38/51] Compiling Alamofire ParameterEncoder.swift
[39/51] Compiling Alamofire ParameterEncoding.swift
[40/51] Compiling Alamofire Protected.swift
[41/51] Compiling Alamofire Request.swift
[42/51] Compiling Alamofire WebSocketRequest.swift
[43/51] Compiling Alamofire DispatchQueue+Alamofire.swift
[44/51] Compiling Alamofire OperationQueue+Alamofire.swift
[45/51] Compiling Alamofire Result+Alamofire.swift
[46/51] Compiling Alamofire StringEncoding+Alamofire.swift
[47/51] Compiling Alamofire Combine.swift
[48/51] Compiling Alamofire Concurrency.swift
[49/51] Compiling Alamofire EventMonitor.swift
[50/51] Compiling Alamofire MultipartFormData.swift
[51/51] Compiling Alamofire MultipartUpload.swift
[53/74] Compiling Moya TargetType.swift
[54/74] Compiling Moya Task.swift
[55/74] Compiling Moya URL+Moya.swift
[56/76] Compiling Moya AccessTokenPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                                                       `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/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.
 4 | public final class CredentialsPlugin: PluginType {
 5 |
 6 |     public typealias CredentialClosure = (TargetType) -> URLCredential?
   |                                                          `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     let credentialsClosure: CredentialClosure
 8 |
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
[57/76] Compiling Moya CredentialsPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                                                       `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/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.
 4 | public final class CredentialsPlugin: PluginType {
 5 |
 6 |     public typealias CredentialClosure = (TargetType) -> URLCredential?
   |                                                          `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     let credentialsClosure: CredentialClosure
 8 |
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
[58/76] Compiling Moya NetworkActivityPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                                                       `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/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.
 4 | public final class CredentialsPlugin: PluginType {
 5 |
 6 |     public typealias CredentialClosure = (TargetType) -> URLCredential?
   |                                                          `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     let credentialsClosure: CredentialClosure
 8 |
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
[59/76] Compiling Moya MultiTarget.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/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.
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 |     /// cURL representation of the instance.
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
[60/76] Compiling Moya MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/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.
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 |     /// cURL representation of the instance.
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
[61/76] Compiling Moya Plugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/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.
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 |     /// cURL representation of the instance.
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
[62/76] Compiling Moya AnyEncodable.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.
  8 |
  9 |     /// The network returned response which can be fully customized.
 10 |     case response(HTTPURLResponse, Data)
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /// The network failed to send the request, or failed to retrieve a response (eg a timeout).
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
 81 |         }
 82 |
 83 |         var request = URLRequest(url: requestURL)
    |                       `- error: cannot find 'URLRequest' in scope
 84 |         request.httpMethod = method.rawValue
 85 |         request.allHTTPHeaderFields = httpHeaderFields
[63/76] Compiling Moya Cancellable.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.
  8 |
  9 |     /// The network returned response which can be fully customized.
 10 |     case response(HTTPURLResponse, Data)
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /// The network failed to send the request, or failed to retrieve a response (eg a timeout).
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
 81 |         }
 82 |
 83 |         var request = URLRequest(url: requestURL)
    |                       `- error: cannot find 'URLRequest' in scope
 84 |         request.httpMethod = method.rawValue
 85 |         request.allHTTPHeaderFields = httpHeaderFields
[64/76] 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.
  8 |
  9 |     /// The network returned response which can be fully customized.
 10 |     case response(HTTPURLResponse, Data)
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /// The network failed to send the request, or failed to retrieve a response (eg a timeout).
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:83:23: error: cannot find 'URLRequest' in scope
 81 |         }
 82 |
 83 |         var request = URLRequest(url: requestURL)
    |                       `- error: cannot find 'URLRequest' in scope
 84 |         request.httpMethod = method.rawValue
 85 |         request.allHTTPHeaderFields = httpHeaderFields
[65/76] Compiling Moya Image.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
 25 |
 26 | /// Make the Alamofire Request type conform to our type, to prevent leaking Alamofire to plugins.
 27 | extension Request: RequestType {
    | `- error: type 'Request' does not conform to protocol 'RequestType'
 28 |     public var sessionHeaders: [String: String] {
 29 |         return delegate?.sessionConfiguration.httpAdditionalHeaders as? [String: String] ?? [:]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Core/Request.swift:759:17: note: candidate has non-matching type '(URLCredential) -> Self'
 757 |     /// - Returns:              The instance.
 758 |     @discardableResult
 759 |     public func authenticate(with credential: URLCredential) -> Self {
     |                 `- note: candidate has non-matching type '(URLCredential) -> Self'
 760 |         mutableState.credential = credential
 761 |
/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')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |          `- note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
49 |
50 |     /// cURL representation of the instance.
[66/76] Compiling Moya Moya+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
 25 |
 26 | /// Make the Alamofire Request type conform to our type, to prevent leaking Alamofire to plugins.
 27 | extension Request: RequestType {
    | `- error: type 'Request' does not conform to protocol 'RequestType'
 28 |     public var sessionHeaders: [String: String] {
 29 |         return delegate?.sessionConfiguration.httpAdditionalHeaders as? [String: String] ?? [:]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Core/Request.swift:759:17: note: candidate has non-matching type '(URLCredential) -> Self'
 757 |     /// - Returns:              The instance.
 758 |     @discardableResult
 759 |     public func authenticate(with credential: URLCredential) -> Self {
     |                 `- note: candidate has non-matching type '(URLCredential) -> Self'
 760 |         mutableState.credential = credential
 761 |
/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')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |          `- note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
49 |
50 |     /// cURL representation of the instance.
[67/76] Compiling Moya MoyaError.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
 25 |
 26 | /// Make the Alamofire Request type conform to our type, to prevent leaking Alamofire to plugins.
 27 | extension Request: RequestType {
    | `- error: type 'Request' does not conform to protocol 'RequestType'
 28 |     public var sessionHeaders: [String: String] {
 29 |         return delegate?.sessionConfiguration.httpAdditionalHeaders as? [String: String] ?? [:]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Core/Request.swift:759:17: note: candidate has non-matching type '(URLCredential) -> Self'
 757 |     /// - Returns:              The instance.
 758 |     @discardableResult
 759 |     public func authenticate(with credential: URLCredential) -> Self {
     |                 `- note: candidate has non-matching type '(URLCredential) -> Self'
 760 |         mutableState.credential = credential
 761 |
/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')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |          `- note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
49 |
50 |     /// cURL representation of the instance.
[68/76] 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
 1 | import Foundation
 2 |
 3 | internal extension URLRequest {
   |                    `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
 3 | internal extension URLRequest {
 4 |
 5 |     mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
   |                                                                                                 `- error: cannot find type 'URLRequest' in scope
 6 |         do {
 7 |             let encodable = AnyEncodable(encodable)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
19 |     }
20 |
21 |     func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         do {
23 |             return try parameterEncoding.encode(self, with: parameters)
[69/76] 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
 1 | import Foundation
 2 |
 3 | internal extension URLRequest {
   |                    `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
 3 | internal extension URLRequest {
 4 |
 5 |     mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
   |                                                                                                 `- error: cannot find type 'URLRequest' in scope
 6 |         do {
 7 |             let encodable = AnyEncodable(encodable)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
19 |     }
20 |
21 |     func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         do {
23 |             return try parameterEncoding.encode(self, with: parameters)
[70/76] Compiling Moya NetworkLoggerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/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'
 88 |         //Response presence check
 89 |         if let httpResponse = response.response {
 90 |             output.append(configuration.formatter.entry("Response", httpResponse.description, target))
    |                                                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
 91 |         } else {
 92 |             output.append(configuration.formatter.entry("Response", "Received empty network response for \(target).", target))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | struct RequestTypeWrapper: RequestType {
 5 |
 6 |     var request: URLRequest? {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |         return _urlRequest
 8 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     private var _request: Request
15 |     private var _urlRequest: URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:17:40: error: cannot find type 'URLRequest' in scope
15 |     private var _urlRequest: URLRequest?
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
18 |         self._request = request
19 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:22:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
20 |     }
21 |
22 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
23 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
24 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:27:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let newRequest = _request.authenticate(with: credential)
29 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:9: error: type 'Request' does not conform to protocol 'RequestType'
21 |
22 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
23 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
   |         `- error: type 'Request' does not conform to protocol 'RequestType'
24 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
25 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:28:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
26 |
27 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
28 |         let newRequest = _request.authenticate(with: credential)
   |                                                      |- error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
   |                                                      `- note: did you mean to use 'as!' to force downcast?
29 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
30 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
 11 |
 12 |     /// The original URLRequest for the response.
 13 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
 14 |
 15 |     /// The HTTPURLResponse object.
/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.
 14 |
 15 |     /// The HTTPURLResponse object.
 16 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/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.
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.statusCode = statusCode
 20 |         self.data = data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:38:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
 36 |         return lhs.statusCode == rhs.statusCode
 37 |             && lhs.data == rhs.data
 38 |             && lhs.response == rhs.response
    |                             `- error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
 39 |     }
 40 | }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:117:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
115 |             // Key path was provided, try to parse string at key path
116 |             guard let jsonDictionary = try mapJSON() as? NSDictionary,
117 |                 let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
    |                                                  `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
118 |                     throw MoyaError.stringMapping(self)
119 |             }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:147:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
145 |         let jsonData: Data
146 |         keyPathCheck: if let keyPath = keyPath {
147 |             guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
    |                                                                                                             `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
148 |                 if failsOnEmptyData {
149 |                     throw MoyaError.jsonMapping(self)
[71/76] Compiling Moya RequestTypeWrapper.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/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'
 88 |         //Response presence check
 89 |         if let httpResponse = response.response {
 90 |             output.append(configuration.formatter.entry("Response", httpResponse.description, target))
    |                                                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
 91 |         } else {
 92 |             output.append(configuration.formatter.entry("Response", "Received empty network response for \(target).", target))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | struct RequestTypeWrapper: RequestType {
 5 |
 6 |     var request: URLRequest? {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |         return _urlRequest
 8 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     private var _request: Request
15 |     private var _urlRequest: URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:17:40: error: cannot find type 'URLRequest' in scope
15 |     private var _urlRequest: URLRequest?
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
18 |         self._request = request
19 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:22:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
20 |     }
21 |
22 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
23 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
24 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:27:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let newRequest = _request.authenticate(with: credential)
29 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:9: error: type 'Request' does not conform to protocol 'RequestType'
21 |
22 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
23 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
   |         `- error: type 'Request' does not conform to protocol 'RequestType'
24 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
25 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:28:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
26 |
27 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
28 |         let newRequest = _request.authenticate(with: credential)
   |                                                      |- error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
   |                                                      `- note: did you mean to use 'as!' to force downcast?
29 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
30 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
 11 |
 12 |     /// The original URLRequest for the response.
 13 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
 14 |
 15 |     /// The HTTPURLResponse object.
/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.
 14 |
 15 |     /// The HTTPURLResponse object.
 16 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/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.
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.statusCode = statusCode
 20 |         self.data = data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:38:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
 36 |         return lhs.statusCode == rhs.statusCode
 37 |             && lhs.data == rhs.data
 38 |             && lhs.response == rhs.response
    |                             `- error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
 39 |     }
 40 | }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:117:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
115 |             // Key path was provided, try to parse string at key path
116 |             guard let jsonDictionary = try mapJSON() as? NSDictionary,
117 |                 let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
    |                                                  `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
118 |                     throw MoyaError.stringMapping(self)
119 |             }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:147:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
145 |         let jsonData: Data
146 |         keyPathCheck: if let keyPath = keyPath {
147 |             guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
    |                                                                                                             `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
148 |                 if failsOnEmptyData {
149 |                     throw MoyaError.jsonMapping(self)
[72/76] Compiling Moya Response.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/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'
 88 |         //Response presence check
 89 |         if let httpResponse = response.response {
 90 |             output.append(configuration.formatter.entry("Response", httpResponse.description, target))
    |                                                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
 91 |         } else {
 92 |             output.append(configuration.formatter.entry("Response", "Received empty network response for \(target).", target))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | struct RequestTypeWrapper: RequestType {
 5 |
 6 |     var request: URLRequest? {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |         return _urlRequest
 8 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     private var _request: Request
15 |     private var _urlRequest: URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:17:40: error: cannot find type 'URLRequest' in scope
15 |     private var _urlRequest: URLRequest?
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
18 |         self._request = request
19 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:22:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
20 |     }
21 |
22 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
23 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
24 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:27:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let newRequest = _request.authenticate(with: credential)
29 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:9: error: type 'Request' does not conform to protocol 'RequestType'
21 |
22 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
23 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
   |         `- error: type 'Request' does not conform to protocol 'RequestType'
24 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
25 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:28:54: error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
26 |
27 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
28 |         let newRequest = _request.authenticate(with: credential)
   |                                                      |- error: 'Foundation.URLCredential' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLCredential'
   |                                                      `- note: did you mean to use 'as!' to force downcast?
29 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
30 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
 11 |
 12 |     /// The original URLRequest for the response.
 13 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
 14 |
 15 |     /// The HTTPURLResponse object.
/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.
 14 |
 15 |     /// The HTTPURLResponse object.
 16 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/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.
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.statusCode = statusCode
 20 |         self.data = data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:38:29: error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
 36 |         return lhs.statusCode == rhs.statusCode
 37 |             && lhs.data == rhs.data
 38 |             && lhs.response == rhs.response
    |                             `- error: binary operator '==' cannot be applied to two 'HTTPURLResponse?' (aka 'Optional<AnyObject>') operands
 39 |     }
 40 | }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:117:50: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
115 |             // Key path was provided, try to parse string at key path
116 |             guard let jsonDictionary = try mapJSON() as? NSDictionary,
117 |                 let string = jsonDictionary.value(forKeyPath: keyPath) as? String else {
    |                                                  `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
118 |                     throw MoyaError.stringMapping(self)
119 |             }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:147:109: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
145 |         let jsonData: Data
146 |         keyPathCheck: if let keyPath = keyPath {
147 |             guard let jsonObject = (try mapJSON(failsOnEmptyData: failsOnEmptyData) as? NSDictionary)?.value(forKeyPath: keyPath) else {
    |                                                                                                             `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
148 |                 if failsOnEmptyData {
149 |                     throw MoyaError.jsonMapping(self)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/76] 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.
  8 |
  9 |     /// The network returned response which can be fully customized.
 10 |     case response(HTTPURLResponse, Data)
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /// The network failed to send the request, or failed to retrieve a response (eg a timeout).
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/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')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
 25 |
 26 | /// Make the Alamofire Request type conform to our type, to prevent leaking Alamofire to plugins.
 27 | extension Request: RequestType {
    | `- error: type 'Request' does not conform to protocol 'RequestType'
 28 |     public var sessionHeaders: [String: String] {
 29 |         return delegate?.sessionConfiguration.httpAdditionalHeaders as? [String: String] ?? [:]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Core/Request.swift:759:17: note: candidate has non-matching type '(URLCredential) -> Self'
 757 |     /// - Returns:              The instance.
 758 |     @discardableResult
 759 |     public func authenticate(with credential: URLCredential) -> Self {
     |                 `- note: candidate has non-matching type '(URLCredential) -> Self'
 760 |         mutableState.credential = credential
 761 |
/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')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |          `- note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
49 |
50 |     /// cURL representation of the instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:60:53: error: cannot find type 'URLRequest' in scope
 58 |
 59 |     /// Closure that decides if and what request should be performed.
 60 |     public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
    |                                                     `- error: cannot find type 'URLRequest' in scope
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:86:60: error: cannot find type 'URLRequest' in scope
 84 |
 85 |     // swiftlint:disable:next function_parameter_count
 86 |     private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
    |                                                            `- error: cannot find type 'URLRequest' in scope
 87 |         switch stubBehavior {
 88 |         case .never:
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:114:194: error: cannot find type 'URLRequest' in scope
112 |
113 |     /// Creates a function which, when called, executes the appropriate stubbing behavior for the given parameters.
114 |     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
    |                                                                                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
115 |         return {
116 |             if token.isCancelled {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:89: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                                                         `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:58: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                          `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:182:57: error: cannot find type 'URLRequest' in scope
180 |     }
181 |
182 |     func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
183 |         let formData = RequestMultipartFormData()
184 |         formData.applyMoyaMultipartFormData(multipartBody)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:195:52: error: cannot find type 'URLRequest' in scope
193 |     }
194 |
195 |     func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                    `- error: cannot find type 'URLRequest' in scope
196 |         let interceptor = self.interceptor(target: target)
197 |         let uploadRequest = session.upload(file, with: request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:205:57: error: cannot find type 'URLRequest' in scope
203 |     }
204 |
205 |     func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
206 |         let interceptor = self.interceptor(target: target)
207 |         let downloadRequest = session.download(request, interceptor: interceptor, to: destination)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:215:49: error: cannot find type 'URLRequest' in scope
213 |     }
214 |
215 |     func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                 `- error: cannot find type 'URLRequest' in scope
216 |         let interceptor = self.interceptor(target: target)
217 |         let initialRequest = session.request(request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:63:50: error: @escaping attribute only applies to function types
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
 63 |     public typealias RequestClosure = (Endpoint, @escaping RequestResultClosure) -> Void
    |                                                  `- error: @escaping attribute only applies to function types
 64 |
 65 |     /// Closure that decides if/how a request should be stubbed.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:95:33: error: @escaping attribute only applies to function types
 93 |     /// Initializes a provider.
 94 |     public init(endpointClosure: @escaping EndpointClosure = MoyaProvider.defaultEndpointMapping,
 95 |                 requestClosure: @escaping RequestClosure = MoyaProvider.defaultRequestMapping,
    |                                 `- error: @escaping attribute only applies to function types
 96 |                 stubClosure: @escaping StubClosure = MoyaProvider.neverStub,
 97 |                 callbackQueue: DispatchQueue? = nil,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:132:54: error: cannot find type 'URLRequest' in scope
130 |     /// Note: this was previously in an extension, however it must be in the original class declaration to allow subclasses to override.
131 |     @discardableResult
132 |     open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
    |                                                      `- error: cannot find type 'URLRequest' in scope
133 |         let callbackQueue = callbackQueue ?? self.callbackQueue
134 |         let cancellableToken = CancellableToken { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:76: error: cannot find type 'URLRequest' in scope
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                                            `- error: cannot find type 'URLRequest' in scope
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/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.
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 |     /// cURL representation of the instance.
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                                                       `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/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.
 4 | public final class CredentialsPlugin: PluginType {
 5 |
 6 |     public typealias CredentialClosure = (TargetType) -> URLCredential?
   |                                                          `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     let credentialsClosure: CredentialClosure
 8 |
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | struct RequestTypeWrapper: RequestType {
 5 |
 6 |     var request: URLRequest? {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |         return _urlRequest
 8 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     private var _request: Request
15 |     private var _urlRequest: URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:17:40: error: cannot find type 'URLRequest' in scope
15 |     private var _urlRequest: URLRequest?
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
18 |         self._request = request
19 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:22:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
20 |     }
21 |
22 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
23 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
24 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:27:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let newRequest = _request.authenticate(with: credential)
29 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
 11 |
 12 |     /// The original URLRequest for the response.
 13 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
 14 |
 15 |     /// The HTTPURLResponse object.
/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.
 14 |
 15 |     /// The HTTPURLResponse object.
 16 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/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.
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.statusCode = statusCode
 20 |         self.data = data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | internal extension URLRequest {
   |                    `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
[74/76] Compiling Moya MoyaProvider+Defaults.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:60:53: error: cannot find type 'URLRequest' in scope
 58 |
 59 |     /// Closure that decides if and what request should be performed.
 60 |     public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
    |                                                     `- error: cannot find type 'URLRequest' in scope
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
16 |         do {
17 |             let urlRequest = try endpoint.urlRequest()
18 |             closure(.success(urlRequest))
   |                      `- error: cannot infer contextual base in reference to member 'success'
19 |         } catch MoyaError.requestMapping(let url) {
20 |             closure(.failure(MoyaError.requestMapping(url)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
18 |             closure(.success(urlRequest))
19 |         } catch MoyaError.requestMapping(let url) {
20 |             closure(.failure(MoyaError.requestMapping(url)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
21 |         } catch MoyaError.parameterEncoding(let error) {
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
20 |             closure(.failure(MoyaError.requestMapping(url)))
21 |         } catch MoyaError.parameterEncoding(let error) {
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
23 |         } catch {
24 |             closure(.failure(MoyaError.underlying(error, nil)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
23 |         } catch {
24 |             closure(.failure(MoyaError.underlying(error, nil)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
25 |         }
26 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |
28 |     final class func defaultAlamofireSession() -> Session {
29 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 |         configuration.headers = .default
31 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
28 |     final class func defaultAlamofireSession() -> Session {
29 |         let configuration = URLSessionConfiguration.default
30 |         configuration.headers = .default
   |                                  `- error: cannot infer contextual base in reference to member 'default'
31 |
32 |         return Session(configuration: configuration, startRequestsImmediately: false)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:86:60: error: cannot find type 'URLRequest' in scope
 84 |
 85 |     // swiftlint:disable:next function_parameter_count
 86 |     private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
    |                                                            `- error: cannot find type 'URLRequest' in scope
 87 |         switch stubBehavior {
 88 |         case .never:
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:114:194: error: cannot find type 'URLRequest' in scope
112 |
113 |     /// Creates a function which, when called, executes the appropriate stubbing behavior for the given parameters.
114 |     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
    |                                                                                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
115 |         return {
116 |             if token.isCancelled {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:89: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                                                         `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:58: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                          `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:182:57: error: cannot find type 'URLRequest' in scope
180 |     }
181 |
182 |     func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
183 |         let formData = RequestMultipartFormData()
184 |         formData.applyMoyaMultipartFormData(multipartBody)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:195:52: error: cannot find type 'URLRequest' in scope
193 |     }
194 |
195 |     func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                    `- error: cannot find type 'URLRequest' in scope
196 |         let interceptor = self.interceptor(target: target)
197 |         let uploadRequest = session.upload(file, with: request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:205:57: error: cannot find type 'URLRequest' in scope
203 |     }
204 |
205 |     func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
206 |         let interceptor = self.interceptor(target: target)
207 |         let downloadRequest = session.download(request, interceptor: interceptor, to: destination)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:215:49: error: cannot find type 'URLRequest' in scope
213 |     }
214 |
215 |     func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                 `- error: cannot find type 'URLRequest' in scope
216 |         let interceptor = self.interceptor(target: target)
217 |         let initialRequest = session.request(request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:49:58: error: cannot find type 'URLRequest' in scope
 47 |         }
 48 |
 49 |         let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
    |                                                          `- error: cannot find type 'URLRequest' in scope
 50 |             if cancellableToken.isCancelled {
 51 |                 self.cancelCompletion(pluginsWithCompletion, target: target)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:55:26: error: cannot find type 'URLRequest' in scope
 53 |             }
 54 |
 55 |             var request: URLRequest!
    |                          `- error: cannot find type 'URLRequest' in scope
 56 |
 57 |             switch requestResult {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:49:33: error: unable to infer closure type without a type annotation
 47 |         }
 48 |
 49 |         let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
    |                                 `- error: unable to infer closure type without a type annotation
 50 |             if cancellableToken.isCancelled {
 51 |                 self.cancelCompletion(pluginsWithCompletion, target: target)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:63:50: error: @escaping attribute only applies to function types
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
 63 |     public typealias RequestClosure = (Endpoint, @escaping RequestResultClosure) -> Void
    |                                                  `- error: @escaping attribute only applies to function types
 64 |
 65 |     /// Closure that decides if/how a request should be stubbed.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:132:54: error: cannot find type 'URLRequest' in scope
130 |     /// Note: this was previously in an extension, however it must be in the original class declaration to allow subclasses to override.
131 |     @discardableResult
132 |     open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
    |                                                      `- error: cannot find type 'URLRequest' in scope
133 |         let callbackQueue = callbackQueue ?? self.callbackQueue
134 |         let cancellableToken = CancellableToken { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:135:110: error: 'nil' requires a contextual type
133 |             switch endpoint.sampleResponseClosure() {
134 |             case .networkResponse(let statusCode, let data):
135 |                 let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
    |                                                                                                              `- error: 'nil' requires a contextual type
136 |                 let result = validate(response)
137 |                 plugins.forEach { $0.didReceive(result, target: target) }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:17:40: error: cannot find type 'URLRequest' in scope
15 |     private var _urlRequest: URLRequest?
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
18 |         self._request = request
19 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
190 |         let validationCodes = target.validationType.statusCodes
191 |         let validatedRequest = validationCodes.isEmpty ? request : request.validate(statusCode: validationCodes)
192 |         return sendAlamofireRequest(validatedRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
193 |     }
194 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:202:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
200 |         let validationCodes = target.validationType.statusCodes
201 |         let alamoRequest = validationCodes.isEmpty ? uploadRequest : uploadRequest.validate(statusCode: validationCodes)
202 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
203 |     }
204 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:212:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
210 |         let validationCodes = target.validationType.statusCodes
211 |         let alamoRequest = validationCodes.isEmpty ? downloadRequest : downloadRequest.validate(statusCode: validationCodes)
212 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
213 |     }
214 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:222:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
220 |         let validationCodes = target.validationType.statusCodes
221 |         let alamoRequest = validationCodes.isEmpty ? initialRequest : initialRequest.validate(statusCode: validationCodes)
222 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
223 |     }
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:76: error: cannot find type 'URLRequest' in scope
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                                            `- error: cannot find type 'URLRequest' in scope
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:95:33: error: @escaping attribute only applies to function types
 93 |     /// Initializes a provider.
 94 |     public init(endpointClosure: @escaping EndpointClosure = MoyaProvider.defaultEndpointMapping,
 95 |                 requestClosure: @escaping RequestClosure = MoyaProvider.defaultRequestMapping,
    |                                 `- error: @escaping attribute only applies to function types
 96 |                 stubClosure: @escaping StubClosure = MoyaProvider.neverStub,
 97 |                 callbackQueue: DispatchQueue? = nil,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:147:65: error: cannot find 'NSEC_PER_SEC' in scope
145 |             }
146 |         case .delayed(let delay):
147 |             let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
    |                                                                 `- error: cannot find 'NSEC_PER_SEC' in scope
148 |             let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
149 |             (callbackQueue ?? DispatchQueue.main).asyncAfter(deadline: killTime) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:81: error: cannot find 'NSEC_PER_SEC' in scope
146 |         case .delayed(let delay):
147 |             let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
148 |             let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
    |                                                                                 `- error: cannot find 'NSEC_PER_SEC' in scope
149 |             (callbackQueue ?? DispatchQueue.main).asyncAfter(deadline: killTime) {
150 |                 stub()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
200 |         switch (response, data, error) {
201 |         case let (.some(response), data, .none):
202 |             let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
203 |             return .success(response)
204 |         case let (.some(response), _, .some(error)):
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:205:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
203 |             return .success(response)
204 |         case let (.some(response), _, .some(error)):
205 |             let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |             let error = MoyaError.underlying(error, response)
207 |             return .failure(error)
[75/76] Compiling Moya MoyaProvider+Internal.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:60:53: error: cannot find type 'URLRequest' in scope
 58 |
 59 |     /// Closure that decides if and what request should be performed.
 60 |     public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
    |                                                     `- error: cannot find type 'URLRequest' in scope
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
16 |         do {
17 |             let urlRequest = try endpoint.urlRequest()
18 |             closure(.success(urlRequest))
   |                      `- error: cannot infer contextual base in reference to member 'success'
19 |         } catch MoyaError.requestMapping(let url) {
20 |             closure(.failure(MoyaError.requestMapping(url)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
18 |             closure(.success(urlRequest))
19 |         } catch MoyaError.requestMapping(let url) {
20 |             closure(.failure(MoyaError.requestMapping(url)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
21 |         } catch MoyaError.parameterEncoding(let error) {
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
20 |             closure(.failure(MoyaError.requestMapping(url)))
21 |         } catch MoyaError.parameterEncoding(let error) {
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
23 |         } catch {
24 |             closure(.failure(MoyaError.underlying(error, nil)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
23 |         } catch {
24 |             closure(.failure(MoyaError.underlying(error, nil)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
25 |         }
26 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |
28 |     final class func defaultAlamofireSession() -> Session {
29 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 |         configuration.headers = .default
31 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
28 |     final class func defaultAlamofireSession() -> Session {
29 |         let configuration = URLSessionConfiguration.default
30 |         configuration.headers = .default
   |                                  `- error: cannot infer contextual base in reference to member 'default'
31 |
32 |         return Session(configuration: configuration, startRequestsImmediately: false)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:86:60: error: cannot find type 'URLRequest' in scope
 84 |
 85 |     // swiftlint:disable:next function_parameter_count
 86 |     private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
    |                                                            `- error: cannot find type 'URLRequest' in scope
 87 |         switch stubBehavior {
 88 |         case .never:
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:114:194: error: cannot find type 'URLRequest' in scope
112 |
113 |     /// Creates a function which, when called, executes the appropriate stubbing behavior for the given parameters.
114 |     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
    |                                                                                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
115 |         return {
116 |             if token.isCancelled {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:89: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                                                         `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:58: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                          `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:182:57: error: cannot find type 'URLRequest' in scope
180 |     }
181 |
182 |     func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
183 |         let formData = RequestMultipartFormData()
184 |         formData.applyMoyaMultipartFormData(multipartBody)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:195:52: error: cannot find type 'URLRequest' in scope
193 |     }
194 |
195 |     func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                    `- error: cannot find type 'URLRequest' in scope
196 |         let interceptor = self.interceptor(target: target)
197 |         let uploadRequest = session.upload(file, with: request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:205:57: error: cannot find type 'URLRequest' in scope
203 |     }
204 |
205 |     func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
206 |         let interceptor = self.interceptor(target: target)
207 |         let downloadRequest = session.download(request, interceptor: interceptor, to: destination)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:215:49: error: cannot find type 'URLRequest' in scope
213 |     }
214 |
215 |     func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                 `- error: cannot find type 'URLRequest' in scope
216 |         let interceptor = self.interceptor(target: target)
217 |         let initialRequest = session.request(request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:49:58: error: cannot find type 'URLRequest' in scope
 47 |         }
 48 |
 49 |         let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
    |                                                          `- error: cannot find type 'URLRequest' in scope
 50 |             if cancellableToken.isCancelled {
 51 |                 self.cancelCompletion(pluginsWithCompletion, target: target)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:55:26: error: cannot find type 'URLRequest' in scope
 53 |             }
 54 |
 55 |             var request: URLRequest!
    |                          `- error: cannot find type 'URLRequest' in scope
 56 |
 57 |             switch requestResult {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:49:33: error: unable to infer closure type without a type annotation
 47 |         }
 48 |
 49 |         let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
    |                                 `- error: unable to infer closure type without a type annotation
 50 |             if cancellableToken.isCancelled {
 51 |                 self.cancelCompletion(pluginsWithCompletion, target: target)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:63:50: error: @escaping attribute only applies to function types
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
 63 |     public typealias RequestClosure = (Endpoint, @escaping RequestResultClosure) -> Void
    |                                                  `- error: @escaping attribute only applies to function types
 64 |
 65 |     /// Closure that decides if/how a request should be stubbed.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:132:54: error: cannot find type 'URLRequest' in scope
130 |     /// Note: this was previously in an extension, however it must be in the original class declaration to allow subclasses to override.
131 |     @discardableResult
132 |     open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
    |                                                      `- error: cannot find type 'URLRequest' in scope
133 |         let callbackQueue = callbackQueue ?? self.callbackQueue
134 |         let cancellableToken = CancellableToken { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:135:110: error: 'nil' requires a contextual type
133 |             switch endpoint.sampleResponseClosure() {
134 |             case .networkResponse(let statusCode, let data):
135 |                 let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
    |                                                                                                              `- error: 'nil' requires a contextual type
136 |                 let result = validate(response)
137 |                 plugins.forEach { $0.didReceive(result, target: target) }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:17:40: error: cannot find type 'URLRequest' in scope
15 |     private var _urlRequest: URLRequest?
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
18 |         self._request = request
19 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
190 |         let validationCodes = target.validationType.statusCodes
191 |         let validatedRequest = validationCodes.isEmpty ? request : request.validate(statusCode: validationCodes)
192 |         return sendAlamofireRequest(validatedRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
193 |     }
194 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:202:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
200 |         let validationCodes = target.validationType.statusCodes
201 |         let alamoRequest = validationCodes.isEmpty ? uploadRequest : uploadRequest.validate(statusCode: validationCodes)
202 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
203 |     }
204 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:212:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
210 |         let validationCodes = target.validationType.statusCodes
211 |         let alamoRequest = validationCodes.isEmpty ? downloadRequest : downloadRequest.validate(statusCode: validationCodes)
212 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
213 |     }
214 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:222:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
220 |         let validationCodes = target.validationType.statusCodes
221 |         let alamoRequest = validationCodes.isEmpty ? initialRequest : initialRequest.validate(statusCode: validationCodes)
222 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
223 |     }
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:76: error: cannot find type 'URLRequest' in scope
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                                            `- error: cannot find type 'URLRequest' in scope
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:95:33: error: @escaping attribute only applies to function types
 93 |     /// Initializes a provider.
 94 |     public init(endpointClosure: @escaping EndpointClosure = MoyaProvider.defaultEndpointMapping,
 95 |                 requestClosure: @escaping RequestClosure = MoyaProvider.defaultRequestMapping,
    |                                 `- error: @escaping attribute only applies to function types
 96 |                 stubClosure: @escaping StubClosure = MoyaProvider.neverStub,
 97 |                 callbackQueue: DispatchQueue? = nil,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:147:65: error: cannot find 'NSEC_PER_SEC' in scope
145 |             }
146 |         case .delayed(let delay):
147 |             let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
    |                                                                 `- error: cannot find 'NSEC_PER_SEC' in scope
148 |             let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
149 |             (callbackQueue ?? DispatchQueue.main).asyncAfter(deadline: killTime) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:81: error: cannot find 'NSEC_PER_SEC' in scope
146 |         case .delayed(let delay):
147 |             let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
148 |             let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
    |                                                                                 `- error: cannot find 'NSEC_PER_SEC' in scope
149 |             (callbackQueue ?? DispatchQueue.main).asyncAfter(deadline: killTime) {
150 |                 stub()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
200 |         switch (response, data, error) {
201 |         case let (.some(response), data, .none):
202 |             let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
203 |             return .success(response)
204 |         case let (.some(response), _, .some(error)):
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:205:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
203 |             return .success(response)
204 |         case let (.some(response), _, .some(error)):
205 |             let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |             let error = MoyaError.underlying(error, response)
207 |             return .failure(error)
[76/76] Compiling Moya MoyaProvider.swift
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:60:53: error: cannot find type 'URLRequest' in scope
 58 |
 59 |     /// Closure that decides if and what request should be performed.
 60 |     public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
    |                                                     `- error: cannot find type 'URLRequest' in scope
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:18:22: error: cannot infer contextual base in reference to member 'success'
16 |         do {
17 |             let urlRequest = try endpoint.urlRequest()
18 |             closure(.success(urlRequest))
   |                      `- error: cannot infer contextual base in reference to member 'success'
19 |         } catch MoyaError.requestMapping(let url) {
20 |             closure(.failure(MoyaError.requestMapping(url)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:20:22: error: cannot infer contextual base in reference to member 'failure'
18 |             closure(.success(urlRequest))
19 |         } catch MoyaError.requestMapping(let url) {
20 |             closure(.failure(MoyaError.requestMapping(url)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
21 |         } catch MoyaError.parameterEncoding(let error) {
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:22:22: error: cannot infer contextual base in reference to member 'failure'
20 |             closure(.failure(MoyaError.requestMapping(url)))
21 |         } catch MoyaError.parameterEncoding(let error) {
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
23 |         } catch {
24 |             closure(.failure(MoyaError.underlying(error, nil)))
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:24:22: error: cannot infer contextual base in reference to member 'failure'
22 |             closure(.failure(MoyaError.parameterEncoding(error)))
23 |         } catch {
24 |             closure(.failure(MoyaError.underlying(error, nil)))
   |                      `- error: cannot infer contextual base in reference to member 'failure'
25 |         }
26 |     }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:29:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 |
28 |     final class func defaultAlamofireSession() -> Session {
29 |         let configuration = URLSessionConfiguration.default
   |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 |         configuration.headers = .default
31 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift:30:34: error: cannot infer contextual base in reference to member 'default'
28 |     final class func defaultAlamofireSession() -> Session {
29 |         let configuration = URLSessionConfiguration.default
30 |         configuration.headers = .default
   |                                  `- error: cannot infer contextual base in reference to member 'default'
31 |
32 |         return Session(configuration: configuration, startRequestsImmediately: false)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:86:60: error: cannot find type 'URLRequest' in scope
 84 |
 85 |     // swiftlint:disable:next function_parameter_count
 86 |     private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
    |                                                            `- error: cannot find type 'URLRequest' in scope
 87 |         switch stubBehavior {
 88 |         case .never:
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:114:194: error: cannot find type 'URLRequest' in scope
112 |
113 |     /// Creates a function which, when called, executes the appropriate stubbing behavior for the given parameters.
114 |     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
    |                                                                                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
115 |         return {
116 |             if token.isCancelled {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:89: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                                                         `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:153:58: error: cannot find type 'URLRequest' in scope
151 |
152 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
153 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                          `- error: cannot find type 'URLRequest' in scope
154 |         let alamoRequest = session.request(request)
155 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:182:57: error: cannot find type 'URLRequest' in scope
180 |     }
181 |
182 |     func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
183 |         let formData = RequestMultipartFormData()
184 |         formData.applyMoyaMultipartFormData(multipartBody)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:195:52: error: cannot find type 'URLRequest' in scope
193 |     }
194 |
195 |     func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                    `- error: cannot find type 'URLRequest' in scope
196 |         let interceptor = self.interceptor(target: target)
197 |         let uploadRequest = session.upload(file, with: request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:205:57: error: cannot find type 'URLRequest' in scope
203 |     }
204 |
205 |     func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
206 |         let interceptor = self.interceptor(target: target)
207 |         let downloadRequest = session.download(request, interceptor: interceptor, to: destination)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:215:49: error: cannot find type 'URLRequest' in scope
213 |     }
214 |
215 |     func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                 `- error: cannot find type 'URLRequest' in scope
216 |         let interceptor = self.interceptor(target: target)
217 |         let initialRequest = session.request(request, interceptor: interceptor)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:49:58: error: cannot find type 'URLRequest' in scope
 47 |         }
 48 |
 49 |         let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
    |                                                          `- error: cannot find type 'URLRequest' in scope
 50 |             if cancellableToken.isCancelled {
 51 |                 self.cancelCompletion(pluginsWithCompletion, target: target)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:55:26: error: cannot find type 'URLRequest' in scope
 53 |             }
 54 |
 55 |             var request: URLRequest!
    |                          `- error: cannot find type 'URLRequest' in scope
 56 |
 57 |             switch requestResult {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:49:33: error: unable to infer closure type without a type annotation
 47 |         }
 48 |
 49 |         let performNetworking = { (requestResult: Result<URLRequest, MoyaError>) in
    |                                 `- error: unable to infer closure type without a type annotation
 50 |             if cancellableToken.isCancelled {
 51 |                 self.cancelCompletion(pluginsWithCompletion, target: target)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:63:50: error: @escaping attribute only applies to function types
 61 |
 62 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
 63 |     public typealias RequestClosure = (Endpoint, @escaping RequestResultClosure) -> Void
    |                                                  `- error: @escaping attribute only applies to function types
 64 |
 65 |     /// Closure that decides if/how a request should be stubbed.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:132:54: error: cannot find type 'URLRequest' in scope
130 |     /// Note: this was previously in an extension, however it must be in the original class declaration to allow subclasses to override.
131 |     @discardableResult
132 |     open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
    |                                                      `- error: cannot find type 'URLRequest' in scope
133 |         let callbackQueue = callbackQueue ?? self.callbackQueue
134 |         let cancellableToken = CancellableToken { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:135:110: error: 'nil' requires a contextual type
133 |             switch endpoint.sampleResponseClosure() {
134 |             case .networkResponse(let statusCode, let data):
135 |                 let response = Moya.Response(statusCode: statusCode, data: data, request: request, response: nil)
    |                                                                                                              `- error: 'nil' requires a contextual type
136 |                 let result = validate(response)
137 |                 plugins.forEach { $0.didReceive(result, target: target) }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { return request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:17:40: error: cannot find type 'URLRequest' in scope
15 |     private var _urlRequest: URLRequest?
16 |
17 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
18 |         self._request = request
19 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
190 |         let validationCodes = target.validationType.statusCodes
191 |         let validatedRequest = validationCodes.isEmpty ? request : request.validate(statusCode: validationCodes)
192 |         return sendAlamofireRequest(validatedRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
193 |     }
194 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:202:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
200 |         let validationCodes = target.validationType.statusCodes
201 |         let alamoRequest = validationCodes.isEmpty ? uploadRequest : uploadRequest.validate(statusCode: validationCodes)
202 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
203 |     }
204 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:212:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
210 |         let validationCodes = target.validationType.statusCodes
211 |         let alamoRequest = validationCodes.isEmpty ? downloadRequest : downloadRequest.validate(statusCode: validationCodes)
212 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
213 |     }
214 |
    :
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:222:16: error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
220 |         let validationCodes = target.validationType.statusCodes
221 |         let alamoRequest = validationCodes.isEmpty ? initialRequest : initialRequest.validate(statusCode: validationCodes)
222 |         return sendAlamofireRequest(alamoRequest, target: target, callbackQueue: callbackQueue, progress: progress, completion: completion)
    |                `- error: instance method 'sendAlamofireRequest(_:target:callbackQueue:progress:completion:)' requires that 'Request' conform to 'Requestable'
223 |     }
224 |
225 |     // swiftlint:disable:next cyclomatic_complexity
226 |     func sendAlamofireRequest<T>(_ alamoRequest: T, target: Target, callbackQueue: DispatchQueue?, progress progressCompletion: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken where T: Requestable, T: Request {
    |          `- note: where 'T' = 'Request'
227 |         // Give plugins the chance to alter the outgoing request
228 |         let plugins = self.plugins
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:76: error: cannot find type 'URLRequest' in scope
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                                            `- error: cannot find type 'URLRequest' in scope
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:95:33: error: @escaping attribute only applies to function types
 93 |     /// Initializes a provider.
 94 |     public init(endpointClosure: @escaping EndpointClosure = MoyaProvider.defaultEndpointMapping,
 95 |                 requestClosure: @escaping RequestClosure = MoyaProvider.defaultRequestMapping,
    |                                 `- error: @escaping attribute only applies to function types
 96 |                 stubClosure: @escaping StubClosure = MoyaProvider.neverStub,
 97 |                 callbackQueue: DispatchQueue? = nil,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:198:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |
197 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
198 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |     Result<Moya.Response, MoyaError> {
200 |         switch (response, data, error) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:147:65: error: cannot find 'NSEC_PER_SEC' in scope
145 |             }
146 |         case .delayed(let delay):
147 |             let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
    |                                                                 `- error: cannot find 'NSEC_PER_SEC' in scope
148 |             let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
149 |             (callbackQueue ?? DispatchQueue.main).asyncAfter(deadline: killTime) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:148:81: error: cannot find 'NSEC_PER_SEC' in scope
146 |         case .delayed(let delay):
147 |             let killTimeOffset = Int64(CDouble(delay) * CDouble(NSEC_PER_SEC))
148 |             let killTime = DispatchTime.now() + Double(killTimeOffset) / Double(NSEC_PER_SEC)
    |                                                                                 `- error: cannot find 'NSEC_PER_SEC' in scope
149 |             (callbackQueue ?? DispatchQueue.main).asyncAfter(deadline: killTime) {
150 |                 stub()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:202:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
200 |         switch (response, data, error) {
201 |         case let (.some(response), data, .none):
202 |             let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
203 |             return .success(response)
204 |         case let (.some(response), _, .some(error)):
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:205:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
203 |             return .success(response)
204 |         case let (.some(response), _, .some(error)):
205 |             let response = Moya.Response(statusCode: response.statusCode, data: data ?? Data(), request: request, response: response)
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |             let error = MoyaError.underlying(error, response)
207 |             return .failure(error)
BUILD FAILURE 6.0 linux