This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.39.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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/alexjohnj/Requests.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Requests Request.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
      cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
                      ^
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
                                ^
                                , baseURL: <#URL#>
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
               ^
/host/spi-builder-workspace/Sources/Request.swift:161:23: note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
public struct Request<API: RequestProviding, Resource>: RequestConvertible {
                      ^
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
                                                                       ~^~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
        self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
                 ^
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
        self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
                                                                 ^
                                                                 , baseURL: <#URL#>
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
        self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
                                                                                                        ~^~~~
/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
        return Request<API, NewResource>(
               ^
/host/spi-builder-workspace/Sources/Request.swift:225:1: note: where 'API' = 'API'
extension Request where API == AnonymousRequestProvider, Resource == Void {
^
/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
        return Request<API, NewResource>(
               ^
/host/spi-builder-workspace/Sources/Request.swift:225:1: note: where 'Resource' = 'NewResource'
extension Request where API == AnonymousRequestProvider, Resource == Void {
^
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
        return Request<API, NewResource>(
                                        ^
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
          api: api,
                  ^
                  , baseURL: <#URL#>
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
[4/17] Compiling Requests RequestBody.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
      cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
                      ^
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
                                ^
                                , baseURL: <#URL#>
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
               ^
/host/spi-builder-workspace/Sources/Request.swift:161:23: note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
public struct Request<API: RequestProviding, Resource>: RequestConvertible {
                      ^
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
        return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
                                                                       ~^~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
        self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
                 ^
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
        self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
                                                                 ^
                                                                 , baseURL: <#URL#>
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
        self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
                                                                                                        ~^~~~
/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
        return Request<API, NewResource>(
               ^
/host/spi-builder-workspace/Sources/Request.swift:225:1: note: where 'API' = 'API'
extension Request where API == AnonymousRequestProvider, Resource == Void {
^
/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
        return Request<API, NewResource>(
               ^
/host/spi-builder-workspace/Sources/Request.swift:225:1: note: where 'Resource' = 'NewResource'
extension Request where API == AnonymousRequestProvider, Resource == Void {
^
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
        return Request<API, NewResource>(
                                        ^
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
          api: api,
                  ^
                  , baseURL: <#URL#>
/host/spi-builder-workspace/Sources/Request.swift:236:12: note: 'init(method:baseURL:endpoint:)' declared here
    public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
           ^
[5/19] Compiling Requests AuthenticationProvider.swift
[6/19] Compiling Requests BodyProvider.swift
[7/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.
    public let decode: (HTTPURLResponse, Data) throws -> Response
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[8/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.
    public let decode: (HTTPURLResponse, Data) throws -> Response
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[9/19] Compiling Requests Field.swift
[10/19] Compiling Requests HTTPMethod.swift
[11/19] Compiling Requests URLQueryItem+ExpresibleByDictionaryLiteral.swift
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/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.
public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
      with urlRequest: URLRequest,
                       ^~~~~~~~~~
[12/19] Compiling Requests URLSession+Requests.swift
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/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.
public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
      with urlRequest: URLRequest,
                       ^~~~~~~~~~
[13/19] Compiling Requests RequestConvertible.swift
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
    public func toURLRequest() throws -> URLRequest {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:144:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:153:32: error: 'nil' requires a contextual type
            request.httpBody = nil
                               ^
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/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.
    public let response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
    public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
                                                 ^~~~~~~~~~
/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.
    public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RequestError.swift:45:25: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        return response as? HTTPURLResponse
               ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/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.
        return response as? HTTPURLResponse
                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[14/19] Compiling Requests RequestError.swift
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
    public func toURLRequest() throws -> URLRequest {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:144:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:153:32: error: 'nil' requires a contextual type
            request.httpBody = nil
                               ^
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/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.
    public let response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
    public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
                                                 ^~~~~~~~~~
/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.
    public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RequestError.swift:45:25: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        return response as? HTTPURLResponse
               ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/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.
        return response as? HTTPURLResponse
                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/19] Compiling Requests Header.swift
[16/19] Compiling Requests MediaType.swift
[17/19] Emitting module Requests
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
    public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
      cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
    var cachePolicy: URLRequest.CachePolicy { get }
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
    public var cachePolicy: URLRequest.CachePolicy {
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
    public func toURLRequest() throws -> URLRequest {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
    public let request: URLRequest?
                        ^~~~~~~~~~
/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.
    public let response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
    public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
                                                 ^~~~~~~~~~
/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.
    public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public let decode: (HTTPURLResponse, Data) throws -> Response
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/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.
public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[18/19] Compiling Requests CaseInsensitiveString.swift
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
    public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
                                    ^~~~~~~~~~
[19/19] Compiling Requests DefaultValue.swift
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
    public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
                                    ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.