The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Requests, reference v0.3.2 (8504a5), with Swift 6.2 (beta) for Android on 17 Jun 2025 16:21:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexjohnj/Requests.git
Reference: v0.3.2
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/alexjohnj/Requests
 * tag               v0.3.2     -> FETCH_HEAD
HEAD is now at 8504a52 Version Bump
Cloned https://github.com/alexjohnj/Requests.git
Revision (git rev-parse @):
8504a521e463f5a6fe4d55c3876e3747295f5730
SUCCESS checkout https://github.com/alexjohnj/Requests.git at v0.3.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/alexjohnj/Requests.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/17] Compiling Requests Request.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                       `- error: extra arguments at positions #1, #3 in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                 `- error: missing argument for parameter 'baseURL' in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                `- error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 44 |     }
 45 |
    :
159 | /// - SeeAlso: `RequestProviding`
160 | ///
161 | public struct Request<API: RequestProviding, Resource>: RequestConvertible {
    |                       `- note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
162 |
163 |     // MARK: - Public Properties
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                                                         `- error: cannot infer contextual base in reference to member 'none'
 44 |     }
 45 |
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                  `- error: extra arguments at positions #1, #3 in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                  `- error: missing argument for parameter 'baseURL' in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                                                          `- error: cannot infer contextual base in reference to member 'none'
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'API' = 'API'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'Resource' = 'NewResource'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                                         `- error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
419 |           api: api,
    |                   `- error: missing argument for parameter 'baseURL' in call
420 |           endpoint: endpoint,
421 |           responseDecoder: newDecoder,
[4/17] Compiling Requests RequestBody.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                       `- error: extra arguments at positions #1, #3 in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                 `- error: missing argument for parameter 'baseURL' in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                `- error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 44 |     }
 45 |
    :
159 | /// - SeeAlso: `RequestProviding`
160 | ///
161 | public struct Request<API: RequestProviding, Resource>: RequestConvertible {
    |                       `- note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
162 |
163 |     // MARK: - Public Properties
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                                                         `- error: cannot infer contextual base in reference to member 'none'
 44 |     }
 45 |
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                  `- error: extra arguments at positions #1, #3 in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                  `- error: missing argument for parameter 'baseURL' in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                                                          `- error: cannot infer contextual base in reference to member 'none'
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'API' = 'API'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'Resource' = 'NewResource'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                                         `- error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
419 |           api: api,
    |                   `- error: missing argument for parameter 'baseURL' in call
420 |           endpoint: endpoint,
421 |           responseDecoder: newDecoder,
[5/17] Compiling Requests Header.swift
[6/17] Compiling Requests MediaType.swift
[7/17] Compiling Requests CaseInsensitiveString.swift
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
[8/17] Compiling Requests DefaultValue.swift
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
[9/17] Compiling Requests RequestConvertible.swift
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestConvertible.swift:144:23: error: cannot find 'URLRequest' in scope
142 |         }
143 |
144 |         var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
    |                       `- error: cannot find 'URLRequest' in scope
145 |         var header = self.header
146 |         let body = try bodyProvider.body(updating: &header)
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
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/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:45:25: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
46 |     }
47 |
/host/spi-builder-workspace/Sources/RequestError.swift:45:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
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
[10/17] Compiling Requests RequestError.swift
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestConvertible.swift:144:23: error: cannot find 'URLRequest' in scope
142 |         }
143 |
144 |         var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
    |                       `- error: cannot find 'URLRequest' in scope
145 |         var header = self.header
146 |         let body = try bodyProvider.body(updating: &header)
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
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/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:45:25: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
46 |     }
47 |
/host/spi-builder-workspace/Sources/RequestError.swift:45:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
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
[11/17] Compiling Requests Field.swift
[12/17] Compiling Requests HTTPMethod.swift
[13/19] Compiling Requests ResponseDecoder.swift
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:14:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |     /// The body of the decoder.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
   |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
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/Sources/ResponseDecoder.swift:16:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
   |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         self.decode = decode
18 |     }
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
[14/19] Compiling Requests URL+StaticString.swift
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:14:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |     /// The body of the decoder.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
   |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
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/Sources/ResponseDecoder.swift:16:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
   |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         self.decode = decode
18 |     }
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
[15/19] Compiling Requests URLQueryItem+ExpresibleByDictionaryLiteral.swift
/host/spi-builder-workspace/Sources/URLQueryItem+ExpresibleByDictionaryLiteral.swift:7:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 5 | import Foundation
 6 |
 7 | extension Array: ExpressibleByDictionaryLiteral where Element == URLQueryItem {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 8 |
 9 |     public typealias Key = String
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
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/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
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/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
114 |
115 |     private func dataTask(
116 |       with urlRequest: URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
117 |       configurationBlock configureTask: (URLSessionTask) -> Void,
118 |       completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[16/19] Compiling Requests URLSession+Requests.swift
/host/spi-builder-workspace/Sources/URLQueryItem+ExpresibleByDictionaryLiteral.swift:7:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 5 | import Foundation
 6 |
 7 | extension Array: ExpressibleByDictionaryLiteral where Element == URLQueryItem {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 8 |
 9 |     public typealias Key = String
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
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/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
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/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
114 |
115 |     private func dataTask(
116 |       with urlRequest: URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
117 |       configurationBlock configureTask: (URLSessionTask) -> Void,
118 |       completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Emitting module Requests
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
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/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:14:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |     /// The body of the decoder.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
   |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
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/Sources/ResponseDecoder.swift:16:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
   |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         self.decode = decode
18 |     }
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/Sources/URLQueryItem+ExpresibleByDictionaryLiteral.swift:7:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 5 | import Foundation
 6 |
 7 | extension Array: ExpressibleByDictionaryLiteral where Element == URLQueryItem {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 8 |
 9 |     public typealias Key = String
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
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/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[18/19] Compiling Requests AuthenticationProvider.swift
[19/19] Compiling Requests BodyProvider.swift
BUILD FAILURE 6.2 android