The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealHTTP, reference 1.9.0 (fcec34), with Swift 6.4 for Android on 21 Sep 2026 18:08:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/immobiliare/RealHTTP.git
Reference: 1.9.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/immobiliare/RealHTTP
 * tag               1.9.0      -> FETCH_HEAD
HEAD is now at fcec34a Updated podspec version for Swift and PodSpec
Cloned https://github.com/immobiliare/RealHTTP.git
Revision (git rev-parse @):
fcec34a9996012aa2dc8ae70fc8c0d7075054739
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/immobiliare/RealHTTP.git at 1.9.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/immobiliare/RealHTTP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:59: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |     public init(baseURL: URL?,
117 |                 maxConcurrentOperations: Int? = nil,
118 |                 configuration: URLSessionConfiguration = .default) {
    |                                                           `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |
120 |         self.baseURL = baseURL
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:59: error: value of type '_' expected to be instance of class or class-constrained type
116 |     public init(baseURL: URL?,
117 |                 maxConcurrentOperations: Int? = nil,
118 |                 configuration: URLSessionConfiguration = .default) {
    |                                                           `- error: value of type '_' expected to be instance of class or class-constrained type
119 |
120 |         self.baseURL = baseURL
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:63:58: error: cannot find type 'URLRequest' in scope
61 |     ///   - newRequest: the request to follow in redirect.
62 |     func client(_ client: HTTPClient, willPerformRedirect request: ExecutedRequest,
63 |                 response: HTTPResponse, with newRequest: URLRequest)
   |                                                          `- error: cannot find type 'URLRequest' in scope
64 |
65 |     /// Client receive an auth challenge which will be managed by the `security` property of the
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:41:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     /// URLSessionConfigurastion used to perform request in this client.
 41 |     public var session: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         loader.session
 43 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:47:29: error: cannot find type 'URLRequest' in scope
 45 |     /// The cache policy for the request. Defaults to `.useProtocolCachePolicy`.
 46 |     /// Requests may override this behaviour.
 47 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 48 |         get { loader.cachePolicy }
 49 |         set { loader.cachePolicy = newValue }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:66:31: error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |     /// Cookies storage.
 66 |     public var cookieStorage: HTTPCookieStorage? {
    |                               `- error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |         session.configuration.httpCookieStorage
 68 |     }
Foundation.HTTPCookieStorage:2:18: note: 'HTTPCookieStorage' 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 HTTPCookieStorage = AnyObject
  |                  `- note: 'HTTPCookieStorage' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |     public init(baseURL: URL?,
117 |                 maxConcurrentOperations: Int? = nil,
118 |                 configuration: URLSessionConfiguration = .default) {
    |                                `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |
120 |         self.baseURL = baseURL
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:132:46: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     /// - Parameter url: URL.
131 |     /// - Returns: `[HTTCookie]`
132 |     public func cookies(forURL url: URL) -> [HTTPCookie] {
    |                                              `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
133 |         session.configuration.httpCookieStorage?.cookies(for: url) ?? []
134 |     }
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:23:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Identify a list of events you can monitor during the lifecycle of the client instance.
22 | public protocol HTTPClientDelegate: AnyObject {
23 |     typealias ExecutedRequest = (request: HTTPRequest, task: URLSessionTask)
   |                                                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 |     /// A new request is enqueued into the client's pool.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:73:32: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 |     ///   - authChallenge: challenge received.
72 |     func client(_ client: HTTPClient, didReceiveAuthChallangeFor request: ExecutedRequest,
73 |                 authChallenge: URLAuthenticationChallenge)
   |                                `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |
75 |     /// Client executed the request and collected relative metrics stats.
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:23:48: error: cannot find type 'URLRequest' in scope
 21 | public class HTTPRequest: CustomStringConvertible {
 22 |     public typealias RequestTask = Task<HTTPResponse, Error>
 23 |     public typealias RequestModifier = ((inout URLRequest) throws -> Void)
    |                                                `- error: cannot find type 'URLRequest' in scope
 24 |     internal static let DefaultTimeout = TimeInterval(10)
 25 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:34:48: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// Session task currently in execution.
 34 |     public internal(set) weak var sessionTask: URLSessionTask?
    |                                                `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Client in which the task is running.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:123:29: error: cannot find type 'URLRequest' in scope
121 |     /// NOTE:
122 |     /// When not specified the HTTPClient's value where the request is executed is used.
123 |     public var cachePolicy: URLRequest.CachePolicy?
    |                             `- error: cannot find type 'URLRequest' in scope
124 |
125 |     /// The HTTP Protocol version to use for request.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:293:49: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 |     /// 2. Each new get call to cookies produce new instances of `HTTPCookie` even with the same values
292 |     ///    (this because value is parsed on the fly from `headers` properties).
293 |     public func setCookiesInHeaders(_ cookies: [HTTPCookie]) {
    |                                                 `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
294 |         let headerFields = HTTPCookie.requestHeaderFields(with: cookies).map { item in
295 |             HTTPHeaders.Element(name: item.key, value: item.value)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:417:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     /// - Parameter client: client where the query should be executed.
416 |     /// - Returns: `URLSessionTask`
417 |     internal func urlSessionTask(inClient client: HTTPClient) async throws -> URLSessionTask {
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         // Generate the `URLRequest` instance.
419 |         var urlRequest = try await urlRequest(inClient: client)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:451:76: error: cannot find type 'URLRequest' in scope
449 |     /// - Parameter client: client instance.
450 |     /// - Returns: `URLRequest`
451 |     internal func urlRequest(inClient client: HTTPClient?) async throws -> URLRequest {
    |                                                                            `- error: cannot find type 'URLRequest' in scope
452 |         guard let client = client,
453 |               let fullURL = urlComponents.fullURLInClient(client) else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:28: error: cannot find type 'URLRequest' in scope
500 |         case follow
501 |         case followWithOriginalSettings
502 |         case followCustom((URLRequest) -> URLRequest?)
    |                            `- error: cannot find type 'URLRequest' in scope
503 |         case refuse
504 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:43: error: cannot find type 'URLRequest' in scope
500 |         case follow
501 |         case followWithOriginalSettings
502 |         case followCustom((URLRequest) -> URLRequest?)
    |                                           `- error: cannot find type 'URLRequest' in scope
503 |         case refuse
504 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:34:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// `URLResponse` object received from server.
 34 |     open var urlResponse: URLResponse?
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Casted `HTTPURLResponse` object received from server.
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/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:37:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Casted `HTTPURLResponse` object received from server.
 37 |     public var httpResponse: HTTPURLResponse? {
    |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |         urlResponse as? HTTPURLResponse
 39 |     }
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/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:38: error: cannot find type 'URLRequest' in scope
 45 |     ///             except when the server has responded to the initial request with a
 46 |     ///             redirect to a different URL.
 47 |     open var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
    |                                      `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:60: error: cannot find type 'URLRequest' in scope
 45 |     ///             except when the server has responded to the initial request with a
 46 |     ///             redirect to a different URL.
 47 |     open var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
    |                                                            `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:35:29: error: cannot find type 'URLSessionTaskMetrics' in scope
33 |
34 |     /// `URLSessionTaskMetrics` received data.
35 |     var sessionTaskMetrics: URLSessionTaskMetrics?
   |                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
36 |
37 |     /// Parsed HTTP Metrics from `sessionTaskMetrics`.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:44:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 |     /// response received from fetch.
44 |     var urlResponse: URLResponse?
   |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 |     /// Completion callback called by the data loader in order to incapsulate the async/await logic.
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/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:33: error: cannot find type 'URLRequest' in scope
56 |     ///             except when the server has responded to the initial request with a
57 |     ///             redirect to a different URL.
58 |     var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
   |                                 `- error: cannot find type 'URLRequest' in scope
59 |
60 |     // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:55: error: cannot find type 'URLRequest' in scope
56 |     ///             except when the server has responded to the initial request with a
57 |     ///             redirect to a different URL.
58 |     var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
   |                                                       `- error: cannot find type 'URLRequest' in scope
59 |
60 |     // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:25:32: error: cannot find type 'URLSessionDelegate' in scope
 23 | /// This because new `URLSession` methods are introduced and available only starting from iOS 15+.
 24 | internal class HTTPDataLoader: NSObject,
 25 |                                URLSessionDelegate, URLSessionDataDelegate,
    |                                `- error: cannot find type 'URLSessionDelegate' in scope
 26 |                                URLSessionDownloadDelegate,
 27 |                                URLSessionTaskDelegate, URLSessionStreamDelegate {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:25:52: error: cannot find type 'URLSessionDataDelegate' in scope
 23 | /// This because new `URLSession` methods are introduced and available only starting from iOS 15+.
 24 | internal class HTTPDataLoader: NSObject,
 25 |                                URLSessionDelegate, URLSessionDataDelegate,
    |                                                    `- error: cannot find type 'URLSessionDataDelegate' in scope
 26 |                                URLSessionDownloadDelegate,
 27 |                                URLSessionTaskDelegate, URLSessionStreamDelegate {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:26:32: error: cannot find type 'URLSessionDownloadDelegate' in scope
 24 | internal class HTTPDataLoader: NSObject,
 25 |                                URLSessionDelegate, URLSessionDataDelegate,
 26 |                                URLSessionDownloadDelegate,
    |                                `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 27 |                                URLSessionTaskDelegate, URLSessionStreamDelegate {
 28 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:27:32: error: cannot find type 'URLSessionTaskDelegate' in scope
 25 |                                URLSessionDelegate, URLSessionDataDelegate,
 26 |                                URLSessionDownloadDelegate,
 27 |                                URLSessionTaskDelegate, URLSessionStreamDelegate {
    |                                `- error: cannot find type 'URLSessionTaskDelegate' in scope
 28 |
 29 |     // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:27:56: error: cannot find type 'URLSessionStreamDelegate' in scope
 25 |                                URLSessionDelegate, URLSessionDataDelegate,
 26 |                                URLSessionDownloadDelegate,
 27 |                                URLSessionTaskDelegate, URLSessionStreamDelegate {
    |                                                        `- error: cannot find type 'URLSessionStreamDelegate' in scope
 28 |
 29 |     // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:32:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     /// URLSession instance which manage calls.
 32 |     internal var session: URLSession!
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |
 34 |     /// Weak references to the parent HTTPClient instance.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:39:31: error: cannot find type 'URLRequest' in scope
 37 |     /// The cache policy for the request. Defaults to `.useProtocolCachePolicy`.
 38 |     /// Requests may override this behaviour.
 39 |     internal var cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                               `- error: cannot find type 'URLRequest' in scope
 40 |
 41 |     // MARK: - Private Properties
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:56:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     ///   - configuration: configuration setting.
 55 |     ///   - maxConcurrentOperations: number of concurrent operations.
 56 |     required init(configuration: URLSessionConfiguration,
    |                                  `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |                   maxConcurrentOperations: Int) {
 58 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:151:78: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |     /// - Returns: `HTTPResponse`
150 |     private func performRetryStrategy(_ strategy: HTTPRetryStrategy,
151 |                                       forRequest request: HTTPRequest, task: URLSessionTask,
    |                                                                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |                                       withResponse response: HTTPResponse) async throws -> HTTPResponse {
153 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:217:54: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 |     ///   - completion: completion block to call at the end of the operation.
216 |     /// - Returns: `URLSessionTask`
217 |     private func fetch(_ request: HTTPRequest, task: URLSessionTask,
    |                                                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |                        completion: @escaping HTTPDataLoaderResponse.Completion) -> URLSessionTask {
219 |         session.delegateQueue.addOperation { [weak self] in
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:218:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
216 |     /// - Returns: `URLSessionTask`
217 |     private func fetch(_ request: HTTPRequest, task: URLSessionTask,
218 |                        completion: @escaping HTTPDataLoaderResponse.Completion) -> URLSessionTask {
    |                                                                                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |         session.delegateQueue.addOperation { [weak self] in
220 |             guard let self = self else { return }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:263:69: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
261 |                            task: URLSessionTask,
262 |                            didReceive challenge: URLAuthenticationChallenge,
263 |                            completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                     `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
264 |         evaluateAuthChallange(task, challenge: challenge, completionHandler: completionHandler)
265 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:260:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 |     // MARK: - Security Support
259 |
260 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
261 |                            task: URLSessionTask,
262 |                            didReceive challenge: URLAuthenticationChallenge,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:261:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
259 |
260 |     public func urlSession(_ session: URLSession,
261 |                            task: URLSessionTask,
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
262 |                            didReceive challenge: URLAuthenticationChallenge,
263 |                            completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:262:50: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
260 |     public func urlSession(_ session: URLSession,
261 |                            task: URLSessionTask,
262 |                            didReceive challenge: URLAuthenticationChallenge,
    |                                                  `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
263 |                            completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
264 |         evaluateAuthChallange(task, challenge: challenge, completionHandler: completionHandler)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:269:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
267 |     // MARK: - Core Operations
268 |
269 |     public func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
270 |         didCompleteAllHandlersWithSessionError(error)
271 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:273:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |     }
272 |
273 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 |                            didReceive data: Data) {
275 |         self.dataLoadersMap[dataTask.taskIdentifier]?.appendData(data)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:273:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |     }
272 |
273 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
    |                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 |                            didReceive data: Data) {
275 |         self.dataLoadersMap[dataTask.taskIdentifier]?.appendData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:281:41: error: cannot find type 'URLRequest' in scope
279 |                     task: URLSessionTask,
280 |                     willPerformHTTPRedirection response: HTTPURLResponse,
281 |                     newRequest request: URLRequest,
    |                                         `- error: cannot find type 'URLRequest' in scope
282 |                     completionHandler: @escaping (URLRequest?) -> Void) {
283 |         evaluateRedirect(task: task, response: response, request: request, completion: completionHandler)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:282:51: error: cannot find type 'URLRequest' in scope
280 |                     willPerformHTTPRedirection response: HTTPURLResponse,
281 |                     newRequest request: URLRequest,
282 |                     completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                   `- error: cannot find type 'URLRequest' in scope
283 |         evaluateRedirect(task: task, response: response, request: request, completion: completionHandler)
284 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:278:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |     }
277 |
278 |     func urlSession(_ session: URLSession,
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |                     task: URLSessionTask,
280 |                     willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:279:27: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 |     func urlSession(_ session: URLSession,
279 |                     task: URLSessionTask,
    |                           `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
280 |                     willPerformHTTPRedirection response: HTTPURLResponse,
281 |                     newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:280:58: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |     func urlSession(_ session: URLSession,
279 |                     task: URLSessionTask,
280 |                     willPerformHTTPRedirection response: HTTPURLResponse,
    |                                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
281 |                     newRequest request: URLRequest,
282 |                     completionHandler: @escaping (URLRequest?) -> Void) {
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/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:286:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
284 |     }
285 |
286 |     public func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
287 |                            didCompleteWithError error: Error?) {
288 |         let handler = dataLoadersMap[task.taskIdentifier]
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:286:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
284 |     }
285 |
286 |     public func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
287 |                            didCompleteWithError error: Error?) {
288 |         let handler = dataLoadersMap[task.taskIdentifier]
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:293:50: error: cannot find type 'URLSessionTaskMetrics' in scope
291 |
292 |     func urlSession(_ session: URLSession, task: URLSessionTask,
293 |                     didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                  `- error: cannot find type 'URLSessionTaskMetrics' in scope
294 |
295 |         // Metrics may fire after URLSession:task:didCompleteWithError: is called, delegate may be nil
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:292:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
290 |     }
291 |
292 |     func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
293 |                     didFinishCollecting metrics: URLSessionTaskMetrics) {
294 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:292:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
290 |     }
291 |
292 |     func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
293 |                     didFinishCollecting metrics: URLSessionTaskMetrics) {
294 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:312:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     // MARK: - Upload Progress
311 |
312 |     public func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |                            didSendBodyData bytesSent: Int64,
314 |                            totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:312:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     // MARK: - Upload Progress
311 |
312 |     public func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |                            didSendBodyData bytesSent: Int64,
314 |                            totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:324:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 |     // MARK: - Download Progress
323 |
324 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask,
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 |                     didFinishDownloadingTo location: URL) {
326 |         guard let handler = dataLoadersMap[downloadTask.taskIdentifier],
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:324:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 |     // MARK: - Download Progress
323 |
324 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask,
    |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 |                     didFinishDownloadingTo location: URL) {
326 |         guard let handler = dataLoadersMap[downloadTask.taskIdentifier],
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:337:50: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |     }
336 |
337 |     public func urlSession(_ session: Foundation.URLSession, downloadTask: URLSessionDownloadTask,
    |                                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |                            didWriteData bytesWritten: Int64,
339 |                            totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:337:76: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |     }
336 |
337 |     public func urlSession(_ session: Foundation.URLSession, downloadTask: URLSessionDownloadTask,
    |                                                                            `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |                            didWriteData bytesWritten: Int64,
339 |                            totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:348:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
346 |     }
347 |
348 |     public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
349 |                            didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
350 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:348:65: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
346 |     }
347 |
348 |     public func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask,
    |                                                                 `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
349 |                            didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
350 |
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:361:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
359 |     // MARK: - Stream
360 |
361 |     public func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
362 |                            needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
363 |         guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:361:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
359 |     // MARK: - Stream
360 |
361 |     public func urlSession(_ session: URLSession, task: URLSessionTask,
    |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
362 |                            needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
363 |         guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:376:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
374 |     // MARK: - Other Events
375 |
376 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
377 |         guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
378 |             return
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:376:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
374 |     // MARK: - Other Events
375 |
376 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
377 |         guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
378 |             return
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:419:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
417 |     ///   - handler: response received.
418 |     ///   - error: error received, if any.
419 |     func completeTask(_ task: URLSessionTask, handler: HTTPDataLoaderResponse?, error: Error?) {
    |                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 |         guard let handler = handler else {
421 |             return
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:463:85: error: cannot find type 'URLRequest' in scope
461 |     ///   - request: original request executed.
462 |     ///   - completion: completion block.
463 |     func evaluateRedirect(task: URLSessionTask, response: HTTPURLResponse, request: URLRequest,
    |                                                                                     `- error: cannot find type 'URLRequest' in scope
464 |                           completion: @escaping (URLRequest?) -> Void) {
465 |         // missing components, continue to the default behaviour
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:464:50: error: cannot find type 'URLRequest' in scope
462 |     ///   - completion: completion block.
463 |     func evaluateRedirect(task: URLSessionTask, response: HTTPURLResponse, request: URLRequest,
464 |                           completion: @escaping (URLRequest?) -> Void) {
    |                                                  `- error: cannot find type 'URLRequest' in scope
465 |         // missing components, continue to the default behaviour
466 |         let handler = dataLoadersMap[task.taskIdentifier]
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:463:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
461 |     ///   - request: original request executed.
462 |     ///   - completion: completion block.
463 |     func evaluateRedirect(task: URLSessionTask, response: HTTPURLResponse, request: URLRequest,
    |                                 `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
464 |                           completion: @escaping (URLRequest?) -> Void) {
465 |         // missing components, continue to the default behaviour
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:463:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
461 |     ///   - request: original request executed.
462 |     ///   - completion: completion block.
463 |     func evaluateRedirect(task: URLSessionTask, response: HTTPURLResponse, request: URLRequest,
    |                                                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
464 |                           completion: @escaping (URLRequest?) -> Void) {
465 |         // missing components, continue to the default behaviour
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/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:504:73: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
502 |     ///   - completionHandler: completion callback.
503 |     func evaluateAuthChallange(_ task: URLSessionTask, challenge: URLAuthenticationChallenge,
504 |                                completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                         `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
505 |         guard let request = dataLoadersMap[task.taskIdentifier]?.request,
506 |               let security = request.security ?? client?.security else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:503:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
501 |     ///   - challenge: challange.
502 |     ///   - completionHandler: completion callback.
503 |     func evaluateAuthChallange(_ task: URLSessionTask, challenge: URLAuthenticationChallenge,
    |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
504 |                                completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
505 |         guard let request = dataLoadersMap[task.taskIdentifier]?.request,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:503:67: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
501 |     ///   - challenge: challange.
502 |     ///   - completionHandler: completion callback.
503 |     func evaluateAuthChallange(_ task: URLSessionTask, challenge: URLAuthenticationChallenge,
    |                                                                   `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
504 |                                completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
505 |         guard let request = dataLoadersMap[task.taskIdentifier]?.request,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:527:19: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
525 |     /// Support class for incapsulation of the task.
526 |     private final class Box {
527 |         var task: URLSessionTask?
    |                   `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
528 |     }
529 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:33:40: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ///   - task: task associated with request.
32 |     ///   - completionHandler: completion handler.
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                        `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:34:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     ///   - completionHandler: completion handler.
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
   |                                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
36 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:33:22: error: cannot find type 'SecKey' in scope
 31 |
 32 |     /// The public keys
 33 |     var publicKeys: [SecKey]?
    |                      `- error: cannot find type 'SecKey' in scope
 34 |
 35 |     /// Use public keys or certificate validation?
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:82:73: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 80 |                                forRequest request: HTTPRequest,
 81 |                                task: URLSessionTask,
 82 |                                completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                         `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 83 |         guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
 84 |               let trust = challenge.protectionSpace.serverTrust,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:79:45: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 77 |     // MARK: - Conformance
 78 |
 79 |     open func receiveChallenge(_ challenge: URLAuthenticationChallenge,
    |                                             `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |                                forRequest request: HTTPRequest,
 81 |                                task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:81:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |     open func receiveChallenge(_ challenge: URLAuthenticationChallenge,
 80 |                                forRequest request: HTTPRequest,
 81 |                                task: URLSessionTask,
    |                                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |                                completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
 83 |         guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:95:30: error: cannot find type 'SecTrust' in scope
 93 |     // MARK: - Public Functions
 94 |
 95 |     open func isValid(trust: SecTrust, forDomain domain: String?) -> Bool {
    |                              `- error: cannot find type 'SecTrust' in scope
 96 |         SecTrustSetPolicies(trust, trustPolicyForDomain(domain))
 97 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:113:61: error: cannot find type 'SecPolicy' in scope
111 |     /// - Parameter domain: domain.
112 |     /// - Returns: SecPolicy
113 |     private func trustPolicyForDomain(_ domain: String?) -> SecPolicy {
    |                                                             `- error: cannot find type 'SecPolicy' in scope
114 |         switch validatedDomainName {
115 |         case true:
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:122:62: error: cannot find type 'SecTrust' in scope
120 |     }
121 |
122 |     private func isValidCertificates(_ certs: [Data], trust: SecTrust, domain: String?) -> Bool {
    |                                                              `- error: cannot find type 'SecTrust' in scope
123 |         let serverCerts = trust.certificateChain()
124 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:152:43: error: cannot find type 'SecTrust' in scope
150 |     }
151 |
152 |     private func isValidPublicKeys(trust: SecTrust, domain: String?) -> Bool {
    |                                           `- error: cannot find type 'SecTrust' in scope
153 |         guard let keys = publicKeys else {
154 |             return false
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:180:32: error: cannot find type 'SecKey' in scope
178 |     ///
179 |     /// - Returns: SecKey?
180 |     func extractPublicKey() -> SecKey? {
    |                                `- error: cannot find type 'SecKey' in scope
181 |         let possibleCert = SecCertificateCreateWithData(nil, self as CFData)
182 |         return possibleCert?.extractPublicKeyFromCert(policy: SecPolicyCreateBasicX509())
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:189:23: error: cannot find type 'SecTrust' in scope
187 | // MARK: - SecTrust Extension
188 |
189 | fileprivate extension SecTrust {
    |                       `- error: cannot find type 'SecTrust' in scope
190 |
191 |     /// Get the public key chain for the trust instance.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:218:23: error: cannot find type 'SecCertificate' in scope
216 | // MARK: - SecCertificate Extension
217 |
218 | fileprivate extension SecCertificate {
    |                       `- error: cannot find type 'SecCertificate' in scope
219 |
220 |     /// Get the public key from a certificate data
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift:30:41: error: cannot find type 'SecKey' in scope
28 |
29 |     /// Public key to be used.
30 |     public internal(set) var publicKey: SecKey?
   |                                         `- error: cannot find type 'SecKey' in scope
31 |
32 |     // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift:44:28: error: cannot find type 'SecKey' in scope
42 |     ///
43 |     /// - Parameter key: public key to be used.
44 |     public init(publicKey: SecKey) {
   |                            `- error: cannot find type 'SecKey' in scope
45 |         self.publicKey = publicKey
46 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:277:51: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |     ///   - request: request.
276 |     /// - Returns: URL?
277 |     internal func copyFileToDefaultLocation(task: URLSessionDownloadTask,
    |                                                   `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |                                             forRequest request: HTTPRequest) -> URL? {
279 |
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPStatusCode.swift:228:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
226 |     ///
227 |     /// - Parameter urlResponse: url response instance
228 |     public static func fromResponse(_ URLResponse: URLResponse?) -> HTTPStatusCode {
    |                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |         guard let statusCode = (URLResponse as? HTTPURLResponse)?.statusCode else {
230 |             return .none
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/RealHTTP/Client/Internal/Other Structures/HTTPStatusCode.swift:284:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
282 | // MARK: HTTPURLResponse + Extension
283 |
284 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
285 |
286 |     /// Status of the response as `HTTPStatusCode` object
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders.swift:301:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
299 | // MARK: HTTPHeaders (HTTPURLResponse Extension)
300 |
301 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
302 |
303 |     /// Returns `allHeaderFields` as `HTTPHeaders`.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders.swift:312:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
310 | // MARK: HTTPHeaders (URLSessionConfiguration Extension)
311 |
312 | extension URLSessionConfiguration {
    | `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
313 |
314 |     /// `httpAdditionalHeaders` as `HTTPHeaders` object.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:44:29: error: cannot find type 'URLSessionTaskMetrics' in scope
 42 |
 43 |     /// Task metrics.
 44 |     public let taskMetrics: URLSessionTaskMetrics?
    |                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
 45 |
 46 |     /// Associated task.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:47:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     /// Associated task.
 47 |     public private(set) weak var task: URLSessionTask?
    |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |
 49 |     /// Number of redirects made.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:57:29: error: cannot find type 'URLSessionTaskMetrics' in scope
 55 |
 56 |     /// Initialize the object with the metrics gathered for a task.
 57 |     internal init?(metrics: URLSessionTaskMetrics?, task: URLSessionTask?) {
    |                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
 58 |         self.taskMetrics = metrics
 59 |         self.task = task
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:57:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     /// Initialize the object with the metrics gathered for a task.
 57 |     internal init?(metrics: URLSessionTaskMetrics?, task: URLSessionTask?) {
    |                                                           `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         self.taskMetrics = metrics
 59 |         self.task = task
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:97:40: error: cannot find type 'URLSessionTaskTransactionMetrics' in scope
 95 |
 96 |         /// Underlying transaction metrics.
 97 |         public let transactionMetrics: URLSessionTaskTransactionMetrics
    |                                        `- error: cannot find type 'URLSessionTaskTransactionMetrics' in scope
 98 |
 99 |         /// The transaction request.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:100:29: error: cannot find type 'URLRequest' in scope
 98 |
 99 |         /// The transaction request.
100 |         public var request: URLRequest {
    |                             `- error: cannot find type 'URLRequest' in scope
101 |             transactionMetrics.request
102 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:109:33: error: cannot find type 'URLSessionTaskTransactionMetrics' in scope
107 |         ///
108 |         /// - Parameter metrics: metrics instance
109 |         internal init?(metrics: URLSessionTaskTransactionMetrics?) {
    |                                 `- error: cannot find type 'URLSessionTaskTransactionMetrics' in scope
110 |             guard let metrics = metrics else {
111 |                 return nil
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/Renders/HTTPMetrics+Console.swift:194:11: error: cannot find type 'URLSessionTaskMetrics' in scope
192 | // MARK: - URLSessionTaskMetrics.ResourceFetchType Extension
193 |
194 | extension URLSessionTaskMetrics.ResourceFetchType {
    |           `- error: cannot find type 'URLSessionTaskMetrics' in scope
195 |
196 |     var name: String {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:63:54: error: cannot find type 'URLRequest' in scope
 61 | public struct cURLHelper {
 62 |
 63 |     fileprivate static func cURLDescription(request: URLRequest?, client: HTTPClient?) -> String {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 64 |         guard let client = client,
 65 |               let request = request,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:92:53: error: cannot find type 'URLRequest' in scope
 90 |     ///   - client: where the request is running in.
 91 |     ///   - components: components array.
 92 |     private static func addCredentials(for request: URLRequest, whenIn client: HTTPClient, into components: inout [String]) {
    |                                                     `- error: cannot find type 'URLRequest' in scope
 93 |         guard let credentialStorage = client.session.configuration.urlCredentialStorage,
 94 |               let url = request.url,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:119:52: error: cannot find type 'URLRequest' in scope
117 |     ///   - client: where the request is running in.
118 |     ///   - components: components array.
119 |     private static func addSetCookies(for request: URLRequest, whenIn client: HTTPClient, into components: inout [String]) {
    |                                                    `- error: cannot find type 'URLRequest' in scope
120 |         let configuration = client.session.configuration
121 |         guard configuration.httpShouldSetCookies,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:142:49: error: cannot find type 'URLRequest' in scope
140 |     ///   - client: where the request is running in.
141 |     ///   - components: components array.
142 |     private static func addHeaders(for request: URLRequest, whenIn client: HTTPClient, into components: inout [String]) {
    |                                                 `- error: cannot find type 'URLRequest' in scope
143 |         let configuration = client.session.configuration
144 |         var headers = HTTPHeaders()
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:166:46: error: cannot find type 'URLRequest' in scope
164 |     ///   - client: where the request is running in.
165 |     ///   - components: components array.
166 |     private static func addBody(for request: URLRequest, whenIn client: HTTPClient, into components: inout [String]) {
    |                                              `- error: cannot find type 'URLRequest' in scope
167 |         if let httpBodyData = request.httpBody {
168 |             let httpBody = String(decoding: httpBodyData, as: UTF8.self)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:93:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 91 |     ///   - components: components array.
 92 |     private static func addCredentials(for request: URLRequest, whenIn client: HTTPClient, into components: inout [String]) {
 93 |         guard let credentialStorage = client.session.configuration.urlCredentialStorage,
    |                                                      `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 94 |               let url = request.url,
 95 |               let host = url.host else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:103:72: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
101 |                                                  protocol: url.scheme,
102 |                                                  realm: host,
103 |                                                  authenticationMethod: NSURLAuthenticationMethodHTTPBasic)
    |                                                                        `- error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
104 |
105 |         if let credentials = credentialStorage.credentials(for: protectionSpace)?.values {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:99:31: error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 97 |               }
 98 |
 99 |         let protectionSpace = URLProtectionSpace(host: host,
    |                               `- error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
100 |                                                  port: url.port ?? 0,
101 |                                                  protocol: url.scheme,
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/HTTPStubMatcher.swift:43:27: error: cannot find type 'URLRequest' in scope
41 |     ///   - request: request instance received.
42 |     ///   - source: source of data.
43 |     func matches(request: URLRequest, for source: HTTPMatcherSource) -> Bool
   |                           `- error: cannot find type 'URLRequest' in scope
44 |
45 | }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/HTTPStubIgnoreRule.swift:83:41: error: cannot find type 'URLRequest' in scope
81 |     // MARK: - Internal Functions
82 |
83 |     internal func matches(_ urlRequest: URLRequest) -> Bool {
   |                                         `- error: cannot find type 'URLRequest' in scope
84 |         for matcher in matchers {
85 |             if matcher.matches(request: urlRequest, for: self) == false {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubBodyMatcher.swift:41:34: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Conformance
40 |
41 |     public func matches(request: URLRequest, for source: HTTPMatcherSource) -> Bool {
   |                                  `- error: cannot find type 'URLRequest' in scope
42 |         guard let data = request.body else {
43 |             return false
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubCustomMatcher.swift:22:33: error: cannot find type 'URLRequest' in scope
20 |
21 | public struct HTTPStubCustomMatcher: HTTPStubMatcher {
22 |     public typealias Handler = (URLRequest, HTTPMatcherSource) -> Bool
   |                                 `- error: cannot find type 'URLRequest' in scope
23 |
24 |     // MARK: - Private Properties
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubCustomMatcher.swift:33:29: error: '@escaping' only applies to function types
31 |     ///
32 |     /// - Parameter callback: callback to call.
33 |     public init(_ callback: @escaping Handler) {
   |                             `- error: '@escaping' only applies to function types
34 |         self.callback = callback
35 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubCustomMatcher.swift:39:34: error: cannot find type 'URLRequest' in scope
37 |     // MARK: - Protocol
38 |
39 |     public func matches(request: URLRequest, for source: HTTPMatcherSource) -> Bool {
   |                                  `- error: cannot find type 'URLRequest' in scope
40 |         callback(request, source)
41 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubJSONMatcher.swift:56:34: error: cannot find type 'URLRequest' in scope
54 |     // MARK: - Conformance
55 |
56 |     public func matches(request: URLRequest, for source: HTTPMatcherSource) -> Bool {
   |                                  `- error: cannot find type 'URLRequest' in scope
57 |         guard let data = request.body,
58 |               let decodedObject = try? self.decoder.decode(T.self, from: data) else {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubRegExMatcher.swift:50:34: error: cannot find type 'URLRequest' in scope
48 |     // MARK: - Conformances
49 |
50 |     public func matches(request: URLRequest, for source: HTTPMatcherSource) -> Bool {
   |                                  `- error: cannot find type 'URLRequest' in scope
51 |         switch location {
52 |         case .url:
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURITemplateMatcher.swift:52:34: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Conformance
51 |
52 |     public func matches(request: URLRequest, for source: HTTPMatcherSource) -> Bool {
   |                                  `- error: cannot find type 'URLRequest' in scope
53 |         if let URLString = request.url?.absoluteString {
54 |             if template.extract(URLString) != nil {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURLMatcher.swift:46:34: error: cannot find type 'URLRequest' in scope
44 |     // MARK: - Conformance
45 |
46 |     public func matches(request: URLRequest, for source: HTTPMatcherSource) -> Bool {
   |                                  `- error: cannot find type 'URLRequest' in scope
47 |         guard var targetURL = request.url else {
48 |             return false
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPDynamicStubResponse.swift:24:47: error: cannot find type 'URLRequest' in scope
22 | /// received from the matcher.
23 | public struct HTTPDynamicStubResponse: HTTPStubResponseProvider {
24 |     public typealias DataCallbackProvider = ((URLRequest, HTTPStubRequest) -> HTTPStubResponse)
   |                                               `- error: cannot find type 'URLRequest' in scope
25 |
26 |     // MARK: - Public Properties
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPDynamicStubResponse.swift:36:29: error: '@escaping' only applies to function types
34 |     ///
35 |     /// - Parameter callback: callback provider.
36 |     public init(_ callback: @escaping DataCallbackProvider) {
   |                             `- error: '@escaping' only applies to function types
37 |         self.callback = callback
38 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPDynamicStubResponse.swift:42:52: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Protocol Conformance
41 |
42 |     public func response(forURLRequest urlRequest: URLRequest, matchedStub stubRequest: HTTPStubRequest) -> HTTPStubResponse? {
   |                                                    `- error: cannot find type 'URLRequest' in scope
43 |         callback(urlRequest, stubRequest)
44 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest.swift:74:45: error: cannot find type 'URLRequest' in scope
72 |     ///   - stubRequest: stub request matched.
73 |     /// - Returns: HTTPStubResponse
74 |     func response(forURLRequest urlRequest: URLRequest, matchedStub stubRequest: HTTPStubRequest) -> HTTPStubResponse?
   |                                             `- error: cannot find type 'URLRequest' in scope
75 |
76 | }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest.swift:50:37: error: cannot find type 'URLRequest' in scope
48 |     /// - Parameter urlRequest: url request.
49 |     /// - Returns: Bool
50 |     public func match(_ urlRequest: URLRequest) -> Bool {
   |                                     `- error: cannot find type 'URLRequest' in scope
51 |         for matcher in matchers {
52 |             if matcher.matches(request: urlRequest, for: self) == false {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest+Matchers.swift:36:42: error: '@escaping' only applies to function types
34 |     /// - Parameter matcherFunction: matcher function.
35 |     /// - Returns: Self
36 |     public func match(_ matcherFunction: @escaping HTTPStubCustomMatcher.Handler) -> Self {
   |                                          `- error: '@escaping' only applies to function types
37 |         let matcher = HTTPStubCustomMatcher(matcherFunction)
38 |         return match(matcher)
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest+Stub.swift:31:73: error: '@escaping' only applies to function types
 29 |     ///   - provider: data provider callback.
 30 |     /// - Returns: Self
 31 |     public func stub(for method: HTTPMethod, responseProvider provider: @escaping HTTPDynamicStubResponse.DataCallbackProvider) -> Self {
    |                                                                         `- error: '@escaping' only applies to function types
 32 |         responses[method] = HTTPDynamicStubResponse(provider)
 33 |         return self
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest.swift:82:52: error: cannot find type 'URLRequest' in scope
80 | extension HTTPStubResponse: HTTPStubResponseProvider {
81 |
82 |     public func response(forURLRequest urlRequest: URLRequest, matchedStub stubRequest: HTTPStubRequest) -> HTTPStubResponse? {
   |                                                    `- error: cannot find type 'URLRequest' in scope
83 |         // it returns the object itself.
84 |         self
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Response/HTTPEchoResponse.swift:24:53: error: cannot find type 'URLRequest' in scope
22 | public class HTTPEchoResponse: HTTPStubResponse {
23 |
24 |     public override func adaptForRequest(_ request: URLRequest) -> HTTPStubResponse {
   |                                                     `- error: cannot find type 'URLRequest' in scope
25 |         let response = HTTPStubResponse()
26 |         response.body = request.body
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Response/HTTPStubResponse.swift:47:36: error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 45 |     /// Allow response caching. Usually you dont want to have a cached response
 46 |     /// so the default behaviour is set to `notAllowed`.
 47 |     open var cachePolicy: URLCache.StoragePolicy = .notAllowed
    |                                    `- error: 'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')
 48 |
 49 |     /// You can define a delay to return the reponse.
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Response/HTTPStubResponse.swift:69:42: error: cannot find type 'URLRequest' in scope
 67 |     /// - Parameter request: request.
 68 |     /// - Returns: `HTTPStubResponse`
 69 |     open func adaptForRequest(_ request: URLRequest) -> HTTPStubResponse {
    |                                          `- error: cannot find type 'URLRequest' in scope
 70 |         self
 71 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubber.swift:189:53: error: cannot find type 'URLRequest' in scope
187 |     /// - Parameter request: url request to check.
188 |     /// - Returns: HTTPSubRequest?
189 |     internal func suitableStubForRequest(_ request: URLRequest) -> HTTPStubRequest? {
    |                                                     `- error: cannot find type 'URLRequest' in scope
190 |         stubbedRequests.first {
191 |             $0.match(request)
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubber.swift:199:41: error: cannot find type 'URLRequest' in scope
197 |     /// - Parameter request: request to check.
198 |     /// - Returns: Bool
199 |     public func shouldHandle(_ request: URLRequest) -> Bool {
    |                                         `- error: cannot find type 'URLRequest' in scope
200 |         switch unhandledMode {
201 |         case .optin:
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubberErrors.swift:22:28: error: cannot find type 'URLRequest' in scope
20 |
21 | public enum HTTPStubberErrors: Error {
22 |     case matchStubNotFound(URLRequest)
   |                            `- error: cannot find type 'URLRequest' in scope
23 | }
24 |
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:29:25: error: property does not override any property from its superclass
 27 |     private var responseWorkItem: DispatchWorkItem?
 28 |
 29 |     public override var task: URLSessionTask? {
    |                         `- error: property does not override any property from its superclass
 30 |       urlSessionTask
 31 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:29:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |     private var responseWorkItem: DispatchWorkItem?
 28 |
 29 |     public override var task: URLSessionTask? {
    |                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |       urlSessionTask
 31 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:33:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     }
 32 |
 33 |     private var urlSessionTask: URLSessionTask?
    |                                 `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |
 35 |     // MARK: - Overrides
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:44:54: error: cannot find type 'URLRequest' in scope
 42 |     /// - Parameter request: request to validate.
 43 |     /// - Returns: Bool
 44 |     public override class func canInit(with request: URLRequest) -> Bool {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 45 |         guard let scheme = request.url?.scheme,
 46 |               Self.supportedSchemes.contains(scheme) else {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:54:77: error: cannot find type 'URLRequest' in scope
 52 |     }
 53 |
 54 |     public override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                                             `- error: cannot find type 'URLRequest' in scope
 55 |         request
 56 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:54:62: error: cannot find type 'URLRequest' in scope
 52 |     }
 53 |
 54 |     public override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
 55 |         request
 56 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:58:69: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     public override class func requestIsCacheEquivalent(_ requestA: URLRequest, to requestB: URLRequest) -> Bool {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 59 |         false
 60 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:58:94: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     public override class func requestIsCacheEquivalent(_ requestA: URLRequest, to requestB: URLRequest) -> Bool {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 59 |         false
 60 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:63:35: error: cannot find type 'URLRequest' in scope
 61 |
 62 |     // Occasionally called by iOS, even though init(task:...) is implemented. Will cause a crash if not present.
 63 |     public override init(request: URLRequest, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
    |                                   `- error: cannot find type 'URLRequest' in scope
 64 |         super.init(request: request, cachedResponse: cachedResponse, client: client)
 65 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:63:91: error: cannot find type 'URLProtocolClient' in scope
 61 |
 62 |     // Occasionally called by iOS, even though init(task:...) is implemented. Will cause a crash if not present.
 63 |     public override init(request: URLRequest, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
    |                                                                                           `- error: cannot find type 'URLProtocolClient' in scope
 64 |         super.init(request: request, cachedResponse: cachedResponse, client: client)
 65 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:63:63: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |
 62 |     // Occasionally called by iOS, even though init(task:...) is implemented. Will cause a crash if not present.
 63 |     public override init(request: URLRequest, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
    |                                                               `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |         super.init(request: request, cachedResponse: cachedResponse, client: client)
 65 |     }
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
  |                  `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:67:83: error: cannot find type 'URLProtocolClient' in scope
 65 |     }
 66 |
 67 |     public init(task: URLSessionTask, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
    |                                                                                   `- error: cannot find type 'URLProtocolClient' in scope
 68 |         super.init(request: task.currentRequest!, cachedResponse: cachedResponse, client: client)
 69 |         self.urlSessionTask = task
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:67:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     }
 66 |
 67 |     public init(task: URLSessionTask, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         super.init(request: task.currentRequest!, cachedResponse: cachedResponse, client: client)
 69 |         self.urlSessionTask = task
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:67:55: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     }
 66 |
 67 |     public init(task: URLSessionTask, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
    |                                                       `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         super.init(request: task.currentRequest!, cachedResponse: cachedResponse, client: client)
 69 |         self.urlSessionTask = task
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
  |                  `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:72:26: error: method does not override any method from its superclass
 70 |     }
 71 |
 72 |     public override func startLoading() {
    |                          `- error: method does not override any method from its superclass
 73 |         var request = self.request
 74 |
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:135:26: error: method does not override any method from its superclass
133 |     }
134 |
135 |     public override func stopLoading() {
    |                          `- error: method does not override any method from its superclass
136 |         responseWorkItem?.cancel()
137 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:142:49: error: cannot find type 'URLRequest' in scope
140 |
141 |     private func streamData(_ inputStream: InputStream,
142 |                             forRequest request: URLRequest, forStub stub: HTTPStubResponse,
    |                                                 `- error: cannot find type 'URLRequest' in scope
143 |                             speed: HTTPConnectionSpeed,
144 |                             completion: @escaping ((Error?) -> Void)) {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:190:43: error: cannot find type 'URLRequest' in scope
188 |     }
189 |
190 |     private func finishRequest(_ request: URLRequest, withStub stubResponse: HTTPStubResponse, cookies: HTTPCookieStorage) {
    |                                           `- error: cannot find type 'URLRequest' in scope
191 |         let url = request.url!
192 |         let headers = stubResponse.headers.asDictionary
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:190:105: error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
188 |     }
189 |
190 |     private func finishRequest(_ request: URLRequest, withStub stubResponse: HTTPStubResponse, cookies: HTTPCookieStorage) {
    |                                                                                                         `- error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
191 |         let url = request.url!
192 |         let headers = stubResponse.headers.asDictionary
Foundation.HTTPCookieStorage:2:18: note: 'HTTPCookieStorage' 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 HTTPCookieStorage = AnyObject
  |                  `- note: 'HTTPCookieStorage' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:21:35: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 | import Foundation
 20 |
 21 | public class HTTPStubURLProtocol: URLProtocol {
    |                                   `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |
 23 |     /// This class support only certain common type of schemes.
Foundation.URLProtocol:2:18: note: 'URLProtocol' 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 URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/URLSessionHook.swift:41:40: error: cannot find type 'Selector' in scope
39 |     }
40 |
41 |     private func originalSelector() -> Selector {
   |                                        `- error: cannot find type 'Selector' in scope
42 |         #selector(getter: URLSessionConfiguration.protocolClasses)
43 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/URLSessionHook.swift:45:6: error: Objective-C interoperability is disabled
43 |     }
44 |
45 |     @objc private func protocolClasses() -> [AnyClass] {
   |      `- error: Objective-C interoperability is disabled
46 |         [HTTPStubURLProtocol.self]
47 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest+Combine.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPBody.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/HTTPSerializableBody.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/JSON/HTTPBody+JSON.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/JSON/JSONEncodable.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/JSON/JSONSerializable.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/Multipart/HTTPBody+FormValues.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/Multipart/HTTPBody+Multipart.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/Multipart/Support/MultipartForm+Boundary.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/Multipart/Support/MultipartForm+Item.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/Multipart/Support/MultipartForm.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/Stream/HTTPBody+Stream.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/Stream/StreamContent.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/URLParametersData/HTTPBody+QueryString.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPBody/URLParametersData/URLParametersData.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseTransform/HTTPResponseTransform.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPAltRequestValidator.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPAltTaskValidator.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPDefaultValidator.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPResponseValidator/HTTPValidator.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurity.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Foundation+Extensions/Foundation+Extension.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Foundation+Extensions/HTTPFormattable.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Foundation+Extensions/ThreadSafeDictionary.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Foundation+Extensions/URLRequest+Extension.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPCacheControl.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPContentType.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPError.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPMethod.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPProgress.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPRequestPriority.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPScheme.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPStatusCode.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/HTTPVersion.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Headers/HTTPHeaderElement+Name.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Headers/HTTPHeaders+Element.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Headers/HTTPHeaders.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/MIMEType.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Metrics/HTTPMetrics.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Metrics/Renders/HTTPMetrics+Console.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/Metrics/Renders/HTTPMetricsRender.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/URITemplate.swift /host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other\ Structures/cURLHelper.swift /host/spi-builder-workspace/Sources/RealHTTP/RealHTTP.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/HTTPStubIgnoreRule.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Matchers/Built-In\ Matchers/HTTPStubBodyMatcher.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Matchers/Built-In\ Matchers/HTTPStubCustomMatcher.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Matchers/Built-In\ Matchers/HTTPStubJSONMatcher.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Matchers/Built-In\ Matchers/HTTPStubRegExMatcher.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Matchers/Built-In\ Matchers/HTTPStubURITemplateMatcher.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Matchers/Built-In\ Matchers/HTTPStubURLMatcher.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Matchers/HTTPStubMatcher.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Request/HTTPDynamicStubResponse.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Request/HTTPStubRequest+Matchers.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Request/HTTPStubRequest+Stub.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Request/HTTPStubRequest.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Response/HTTPEchoResponse.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub\ Response/HTTPStubResponse.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Support/Foundation+Stubber.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Support/HTTPStub+Extension.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Support/HTTPStubDataConvertible.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubber.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubberErrors.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubHookProtocol.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/URLHook.swift /host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/URLSessionHook.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RealHTTP -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/Objects-normal/aarch64/RealHTTP_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/Objects-normal/aarch64/Modules/RealHTTP.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/Objects-normal/aarch64/Modules/RealHTTP.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/Objects-normal/aarch64/RealHTTP-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/Objects-normal/aarch64/RealHTTP-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/Objects-normal/aarch64/RealHTTP-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RealHTTP.build/Debug-android-aarch64/RealHTTP-t.build/Objects-normal/aarch64/Modules/RealHTTP.swiftmodule
[34 / 42] RealHTTP
error: Build failed
BUILD FAILURE 6.4 android