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>&1Build 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: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m116 |[0;0m public init(baseURL: URL?,
[0;36m117 |[0;0m maxConcurrentOperations: Int? = nil,
[0;36m118 |[0;0m configuration: URLSessionConfiguration = [4;39m.default[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m119 |[0;0m
[0;36m120 |[0;0m self.baseURL = baseURL
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:59: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m116 |[0;0m public init(baseURL: URL?,
[0;36m117 |[0;0m maxConcurrentOperations: Int? = nil,
[0;36m118 |[0;0m configuration: URLSessionConfiguration = .default) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m119 |[0;0m
[0;36m120 |[0;0m self.baseURL = baseURL
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:63:58: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m /// - newRequest: the request to follow in redirect.
[0;36m62 |[0;0m func client(_ client: HTTPClient, willPerformRedirect request: ExecutedRequest,
[0;36m63 |[0;0m response: HTTPResponse, with newRequest: [4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m /// 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: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m
[0;36m40 |[0;0m /// URLSessionConfigurastion used to perform request in this client.
[0;36m41 |[0;0m public var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m loader.session
[0;36m43 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:47:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m45 |[0;0m /// The cache policy for the request. Defaults to `.useProtocolCachePolicy`.
[0;36m46 |[0;0m /// Requests may override this behaviour.
[0;36m47 |[0;0m public var cachePolicy: [4;39mURLRequest[0;0m.CachePolicy {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m48 |[0;0m get { loader.cachePolicy }
[0;36m49 |[0;0m set { loader.cachePolicy = newValue }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:66:31: [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m /// Cookies storage.
[0;36m66 |[0;0m public var cookieStorage: [4;39mHTTPCookieStorage[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m session.configuration.httpCookieStorage
[0;36m68 |[0;0m }
Foundation.HTTPCookieStorage:2:18: [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPCookieStorage = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:32: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m116 |[0;0m public init(baseURL: URL?,
[0;36m117 |[0;0m maxConcurrentOperations: Int? = nil,
[0;36m118 |[0;0m configuration: [4;39mURLSessionConfiguration[0;0m = .default) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m119 |[0;0m
[0;36m120 |[0;0m self.baseURL = baseURL
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:132:46: [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m130 |[0;0m /// - Parameter url: URL.
[0;36m131 |[0;0m /// - Returns: `[HTTCookie]`
[0;36m132 |[0;0m public func cookies(forURL url: URL) -> [[4;39mHTTPCookie[0;0m] {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m133 |[0;0m session.configuration.httpCookieStorage?.cookies(for: url) ?? []
[0;36m134 |[0;0m }
Foundation.HTTPCookie:2:18: [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPCookie = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:23:62: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m /// Identify a list of events you can monitor during the lifecycle of the client instance.
[0;36m22 |[0;0m public protocol HTTPClientDelegate: AnyObject {
[0;36m23 |[0;0m typealias ExecutedRequest = (request: HTTPRequest, task: [4;39mURLSessionTask[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// A new request is enqueued into the client's pool.
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:73:32: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m /// - authChallenge: challenge received.
[0;36m72 |[0;0m func client(_ client: HTTPClient, didReceiveAuthChallangeFor request: ExecutedRequest,
[0;36m73 |[0;0m authChallenge: [4;39mURLAuthenticationChallenge[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m74 |[0;0m
[0;36m75 |[0;0m /// Client executed the request and collected relative metrics stats.
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:23:48: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m public class HTTPRequest: CustomStringConvertible {
[0;36m22 |[0;0m public typealias RequestTask = Task<HTTPResponse, Error>
[0;36m23 |[0;0m public typealias RequestModifier = ((inout [4;39mURLRequest[0;0m) throws -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m internal static let DefaultTimeout = TimeInterval(10)
[0;36m25 |[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:34:48: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m /// Session task currently in execution.
[0;36m34 |[0;0m public internal(set) weak var sessionTask: [4;39mURLSessionTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Client in which the task is running.
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:123:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m121 |[0;0m /// NOTE:
[0;36m122 |[0;0m /// When not specified the HTTPClient's value where the request is executed is used.
[0;36m123 |[0;0m public var cachePolicy: [4;39mURLRequest[0;0m.CachePolicy?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m124 |[0;0m
[0;36m125 |[0;0m /// The HTTP Protocol version to use for request.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:293:49: [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m291 |[0;0m /// 2. Each new get call to cookies produce new instances of `HTTPCookie` even with the same values
[0;36m292 |[0;0m /// (this because value is parsed on the fly from `headers` properties).
[0;36m293 |[0;0m public func setCookiesInHeaders(_ cookies: [[4;39mHTTPCookie[0;0m]) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m294 |[0;0m let headerFields = HTTPCookie.requestHeaderFields(with: cookies).map { item in
[0;36m295 |[0;0m HTTPHeaders.Element(name: item.key, value: item.value)
Foundation.HTTPCookie:2:18: [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPCookie = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:417:79: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m415 |[0;0m /// - Parameter client: client where the query should be executed.
[0;36m416 |[0;0m /// - Returns: `URLSessionTask`
[0;36m417 |[0;0m internal func urlSessionTask(inClient client: HTTPClient) async throws -> [4;39mURLSessionTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m418 |[0;0m // Generate the `URLRequest` instance.
[0;36m419 |[0;0m var urlRequest = try await urlRequest(inClient: client)
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:451:76: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m449 |[0;0m /// - Parameter client: client instance.
[0;36m450 |[0;0m /// - Returns: `URLRequest`
[0;36m451 |[0;0m internal func urlRequest(inClient client: HTTPClient?) async throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m452 |[0;0m guard let client = client,
[0;36m453 |[0;0m let fullURL = urlComponents.fullURLInClient(client) else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m500 |[0;0m case follow
[0;36m501 |[0;0m case followWithOriginalSettings
[0;36m502 |[0;0m case followCustom(([4;39mURLRequest[0;0m) -> URLRequest?)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m503 |[0;0m case refuse
[0;36m504 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m500 |[0;0m case follow
[0;36m501 |[0;0m case followWithOriginalSettings
[0;36m502 |[0;0m case followCustom((URLRequest) -> [4;39mURLRequest[0;0m?)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m503 |[0;0m case refuse
[0;36m504 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:34:27: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m /// `URLResponse` object received from server.
[0;36m34 |[0;0m open var urlResponse: [4;39mURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Casted `HTTPURLResponse` object received from server.
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:37:30: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Casted `HTTPURLResponse` object received from server.
[0;36m37 |[0;0m public var httpResponse: [4;39mHTTPURLResponse[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m urlResponse as? HTTPURLResponse
[0;36m39 |[0;0m }
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m45 |[0;0m /// except when the server has responded to the initial request with a
[0;36m46 |[0;0m /// redirect to a different URL.
[0;36m47 |[0;0m open var urlRequests: (original: [4;39mURLRequest[0;0m?, current: URLRequest?) = (nil, nil)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:60: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m45 |[0;0m /// except when the server has responded to the initial request with a
[0;36m46 |[0;0m /// redirect to a different URL.
[0;36m47 |[0;0m open var urlRequests: (original: URLRequest?, current: [4;39mURLRequest[0;0m?) = (nil, nil)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:35:29: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m /// `URLSessionTaskMetrics` received data.
[0;36m35 |[0;0m var sessionTaskMetrics: [4;39mURLSessionTaskMetrics[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m36 |[0;0m
[0;36m37 |[0;0m /// Parsed HTTP Metrics from `sessionTaskMetrics`.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:44:22: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m
[0;36m43 |[0;0m /// response received from fetch.
[0;36m44 |[0;0m var urlResponse: [4;39mURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m
[0;36m46 |[0;0m /// Completion callback called by the data loader in order to incapsulate the async/await logic.
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m56 |[0;0m /// except when the server has responded to the initial request with a
[0;36m57 |[0;0m /// redirect to a different URL.
[0;36m58 |[0;0m var urlRequests: (original: [4;39mURLRequest[0;0m?, current: URLRequest?) = (nil, nil)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:55: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m56 |[0;0m /// except when the server has responded to the initial request with a
[0;36m57 |[0;0m /// redirect to a different URL.
[0;36m58 |[0;0m var urlRequests: (original: URLRequest?, current: [4;39mURLRequest[0;0m?) = (nil, nil)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:25:32: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m23 |[0;0m /// This because new `URLSession` methods are introduced and available only starting from iOS 15+.
[0;36m24 |[0;0m internal class HTTPDataLoader: NSObject,
[0;36m25 |[0;0m [4;39mURLSessionDelegate[0;0m, URLSessionDataDelegate,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m26 |[0;0m URLSessionDownloadDelegate,
[0;36m27 |[0;0m URLSessionTaskDelegate, URLSessionStreamDelegate {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:25:52: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m23 |[0;0m /// This because new `URLSession` methods are introduced and available only starting from iOS 15+.
[0;36m24 |[0;0m internal class HTTPDataLoader: NSObject,
[0;36m25 |[0;0m URLSessionDelegate, [4;39mURLSessionDataDelegate[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m26 |[0;0m URLSessionDownloadDelegate,
[0;36m27 |[0;0m URLSessionTaskDelegate, URLSessionStreamDelegate {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:26:32: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m24 |[0;0m internal class HTTPDataLoader: NSObject,
[0;36m25 |[0;0m URLSessionDelegate, URLSessionDataDelegate,
[0;36m26 |[0;0m [4;39mURLSessionDownloadDelegate[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m27 |[0;0m URLSessionTaskDelegate, URLSessionStreamDelegate {
[0;36m28 |[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:27:32: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m25 |[0;0m URLSessionDelegate, URLSessionDataDelegate,
[0;36m26 |[0;0m URLSessionDownloadDelegate,
[0;36m27 |[0;0m [4;39mURLSessionTaskDelegate[0;0m, URLSessionStreamDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:27:56: [1;31merror: [1;39mcannot find type 'URLSessionStreamDelegate' in scope[0;0m
[0;36m25 |[0;0m URLSessionDelegate, URLSessionDataDelegate,
[0;36m26 |[0;0m URLSessionDownloadDelegate,
[0;36m27 |[0;0m URLSessionTaskDelegate, [4;39mURLSessionStreamDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionStreamDelegate' in scope[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m // MARK: - Internal Properties
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:32:27: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /// URLSession instance which manage calls.
[0;36m32 |[0;0m internal var session: [4;39mURLSession[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m /// Weak references to the parent HTTPClient instance.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:39:31: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m37 |[0;0m /// The cache policy for the request. Defaults to `.useProtocolCachePolicy`.
[0;36m38 |[0;0m /// Requests may override this behaviour.
[0;36m39 |[0;0m internal var cachePolicy: [4;39mURLRequest[0;0m.CachePolicy = .useProtocolCachePolicy
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m // MARK: - Private Properties
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:56:34: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m /// - configuration: configuration setting.
[0;36m55 |[0;0m /// - maxConcurrentOperations: number of concurrent operations.
[0;36m56 |[0;0m required init(configuration: [4;39mURLSessionConfiguration[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m maxConcurrentOperations: Int) {
[0;36m58 |[0;0m super.init()
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:151:78: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m149 |[0;0m /// - Returns: `HTTPResponse`
[0;36m150 |[0;0m private func performRetryStrategy(_ strategy: HTTPRetryStrategy,
[0;36m151 |[0;0m forRequest request: HTTPRequest, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m152 |[0;0m withResponse response: HTTPResponse) async throws -> HTTPResponse {
[0;36m153 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:217:54: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m215 |[0;0m /// - completion: completion block to call at the end of the operation.
[0;36m216 |[0;0m /// - Returns: `URLSessionTask`
[0;36m217 |[0;0m private func fetch(_ request: HTTPRequest, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m218 |[0;0m completion: @escaping HTTPDataLoaderResponse.Completion) -> URLSessionTask {
[0;36m219 |[0;0m session.delegateQueue.addOperation { [weak self] in
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:218:84: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m216 |[0;0m /// - Returns: `URLSessionTask`
[0;36m217 |[0;0m private func fetch(_ request: HTTPRequest, task: URLSessionTask,
[0;36m218 |[0;0m completion: @escaping HTTPDataLoaderResponse.Completion) -> [4;39mURLSessionTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m219 |[0;0m session.delegateQueue.addOperation { [weak self] in
[0;36m220 |[0;0m guard let self = self else { return }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:263:69: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m261 |[0;0m task: URLSessionTask,
[0;36m262 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m263 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m264 |[0;0m evaluateAuthChallange(task, challenge: challenge, completionHandler: completionHandler)
[0;36m265 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:260:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m258 |[0;0m // MARK: - Security Support
[0;36m259 |[0;0m
[0;36m260 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m261 |[0;0m task: URLSessionTask,
[0;36m262 |[0;0m didReceive challenge: URLAuthenticationChallenge,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:261:34: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m259 |[0;0m
[0;36m260 |[0;0m public func urlSession(_ session: URLSession,
[0;36m261 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m262 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m263 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:262:50: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m260 |[0;0m public func urlSession(_ session: URLSession,
[0;36m261 |[0;0m task: URLSessionTask,
[0;36m262 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m263 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m264 |[0;0m evaluateAuthChallange(task, challenge: challenge, completionHandler: completionHandler)
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:269:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m267 |[0;0m // MARK: - Core Operations
[0;36m268 |[0;0m
[0;36m269 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, didBecomeInvalidWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m270 |[0;0m didCompleteAllHandlersWithSessionError(error)
[0;36m271 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:273:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m271 |[0;0m }
[0;36m272 |[0;0m
[0;36m273 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m274 |[0;0m didReceive data: Data) {
[0;36m275 |[0;0m self.dataLoadersMap[dataTask.taskIdentifier]?.appendData(data)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:273:61: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m271 |[0;0m }
[0;36m272 |[0;0m
[0;36m273 |[0;0m public func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m274 |[0;0m didReceive data: Data) {
[0;36m275 |[0;0m self.dataLoadersMap[dataTask.taskIdentifier]?.appendData(data)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:281:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m279 |[0;0m task: URLSessionTask,
[0;36m280 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m281 |[0;0m newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m282 |[0;0m completionHandler: @escaping (URLRequest?) -> Void) {
[0;36m283 |[0;0m evaluateRedirect(task: task, response: response, request: request, completion: completionHandler)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:282:51: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m280 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m281 |[0;0m newRequest request: URLRequest,
[0;36m282 |[0;0m completionHandler: @escaping ([4;39mURLRequest[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m283 |[0;0m evaluateRedirect(task: task, response: response, request: request, completion: completionHandler)
[0;36m284 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:278:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m276 |[0;0m }
[0;36m277 |[0;0m
[0;36m278 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m279 |[0;0m task: URLSessionTask,
[0;36m280 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:279:27: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m277 |[0;0m
[0;36m278 |[0;0m func urlSession(_ session: URLSession,
[0;36m279 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m280 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m281 |[0;0m newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:280:58: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m278 |[0;0m func urlSession(_ session: URLSession,
[0;36m279 |[0;0m task: URLSessionTask,
[0;36m280 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m281 |[0;0m newRequest request: URLRequest,
[0;36m282 |[0;0m completionHandler: @escaping (URLRequest?) -> Void) {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:286:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m284 |[0;0m }
[0;36m285 |[0;0m
[0;36m286 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m287 |[0;0m didCompleteWithError error: Error?) {
[0;36m288 |[0;0m let handler = dataLoadersMap[task.taskIdentifier]
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:286:57: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m284 |[0;0m }
[0;36m285 |[0;0m
[0;36m286 |[0;0m public func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m287 |[0;0m didCompleteWithError error: Error?) {
[0;36m288 |[0;0m let handler = dataLoadersMap[task.taskIdentifier]
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:293:50: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m291 |[0;0m
[0;36m292 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask,
[0;36m293 |[0;0m didFinishCollecting metrics: [4;39mURLSessionTaskMetrics[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m294 |[0;0m
[0;36m295 |[0;0m // 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: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m290 |[0;0m }
[0;36m291 |[0;0m
[0;36m292 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m293 |[0;0m didFinishCollecting metrics: URLSessionTaskMetrics) {
[0;36m294 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:292:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m290 |[0;0m }
[0;36m291 |[0;0m
[0;36m292 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m293 |[0;0m didFinishCollecting metrics: URLSessionTaskMetrics) {
[0;36m294 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:312:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m310 |[0;0m // MARK: - Upload Progress
[0;36m311 |[0;0m
[0;36m312 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m313 |[0;0m didSendBodyData bytesSent: Int64,
[0;36m314 |[0;0m totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:312:57: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m310 |[0;0m // MARK: - Upload Progress
[0;36m311 |[0;0m
[0;36m312 |[0;0m public func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m313 |[0;0m didSendBodyData bytesSent: Int64,
[0;36m314 |[0;0m totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:324:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m322 |[0;0m // MARK: - Download Progress
[0;36m323 |[0;0m
[0;36m324 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m325 |[0;0m didFinishDownloadingTo location: URL) {
[0;36m326 |[0;0m guard let handler = dataLoadersMap[downloadTask.taskIdentifier],
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:324:58: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m322 |[0;0m // MARK: - Download Progress
[0;36m323 |[0;0m
[0;36m324 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m325 |[0;0m didFinishDownloadingTo location: URL) {
[0;36m326 |[0;0m guard let handler = dataLoadersMap[downloadTask.taskIdentifier],
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:337:50: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m335 |[0;0m }
[0;36m336 |[0;0m
[0;36m337 |[0;0m public func urlSession(_ session: Foundation.[4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m338 |[0;0m didWriteData bytesWritten: Int64,
[0;36m339 |[0;0m totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:337:76: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m335 |[0;0m }
[0;36m336 |[0;0m
[0;36m337 |[0;0m public func urlSession(_ session: Foundation.URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m338 |[0;0m didWriteData bytesWritten: Int64,
[0;36m339 |[0;0m totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:348:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m346 |[0;0m }
[0;36m347 |[0;0m
[0;36m348 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m349 |[0;0m didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
[0;36m350 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:348:65: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m346 |[0;0m }
[0;36m347 |[0;0m
[0;36m348 |[0;0m public func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m349 |[0;0m didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
[0;36m350 |[0;0m
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:361:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m359 |[0;0m // MARK: - Stream
[0;36m360 |[0;0m
[0;36m361 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m362 |[0;0m needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
[0;36m363 |[0;0m guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:361:57: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m359 |[0;0m // MARK: - Stream
[0;36m360 |[0;0m
[0;36m361 |[0;0m public func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m362 |[0;0m needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
[0;36m363 |[0;0m guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:376:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m374 |[0;0m // MARK: - Other Events
[0;36m375 |[0;0m
[0;36m376 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m377 |[0;0m guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
[0;36m378 |[0;0m return
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:376:79: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m374 |[0;0m // MARK: - Other Events
[0;36m375 |[0;0m
[0;36m376 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m377 |[0;0m guard let request = dataLoadersMap[task.taskIdentifier]?.request else {
[0;36m378 |[0;0m return
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:419:31: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m417 |[0;0m /// - handler: response received.
[0;36m418 |[0;0m /// - error: error received, if any.
[0;36m419 |[0;0m func completeTask(_ task: [4;39mURLSessionTask[0;0m, handler: HTTPDataLoaderResponse?, error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m420 |[0;0m guard let handler = handler else {
[0;36m421 |[0;0m return
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:463:85: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m461 |[0;0m /// - request: original request executed.
[0;36m462 |[0;0m /// - completion: completion block.
[0;36m463 |[0;0m func evaluateRedirect(task: URLSessionTask, response: HTTPURLResponse, request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m464 |[0;0m completion: @escaping (URLRequest?) -> Void) {
[0;36m465 |[0;0m // missing components, continue to the default behaviour
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:464:50: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m462 |[0;0m /// - completion: completion block.
[0;36m463 |[0;0m func evaluateRedirect(task: URLSessionTask, response: HTTPURLResponse, request: URLRequest,
[0;36m464 |[0;0m completion: @escaping ([4;39mURLRequest[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m465 |[0;0m // missing components, continue to the default behaviour
[0;36m466 |[0;0m let handler = dataLoadersMap[task.taskIdentifier]
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:463:33: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m461 |[0;0m /// - request: original request executed.
[0;36m462 |[0;0m /// - completion: completion block.
[0;36m463 |[0;0m func evaluateRedirect(task: [4;39mURLSessionTask[0;0m, response: HTTPURLResponse, request: URLRequest,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m464 |[0;0m completion: @escaping (URLRequest?) -> Void) {
[0;36m465 |[0;0m // missing components, continue to the default behaviour
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:463:59: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m461 |[0;0m /// - request: original request executed.
[0;36m462 |[0;0m /// - completion: completion block.
[0;36m463 |[0;0m func evaluateRedirect(task: URLSessionTask, response: [4;39mHTTPURLResponse[0;0m, request: URLRequest,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m464 |[0;0m completion: @escaping (URLRequest?) -> Void) {
[0;36m465 |[0;0m // missing components, continue to the default behaviour
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:504:73: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m502 |[0;0m /// - completionHandler: completion callback.
[0;36m503 |[0;0m func evaluateAuthChallange(_ task: URLSessionTask, challenge: URLAuthenticationChallenge,
[0;36m504 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m505 |[0;0m guard let request = dataLoadersMap[task.taskIdentifier]?.request,
[0;36m506 |[0;0m let security = request.security ?? client?.security else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:503:40: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m501 |[0;0m /// - challenge: challange.
[0;36m502 |[0;0m /// - completionHandler: completion callback.
[0;36m503 |[0;0m func evaluateAuthChallange(_ task: [4;39mURLSessionTask[0;0m, challenge: URLAuthenticationChallenge,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m504 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m505 |[0;0m guard let request = dataLoadersMap[task.taskIdentifier]?.request,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:503:67: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m501 |[0;0m /// - challenge: challange.
[0;36m502 |[0;0m /// - completionHandler: completion callback.
[0;36m503 |[0;0m func evaluateAuthChallange(_ task: URLSessionTask, challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m504 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m505 |[0;0m guard let request = dataLoadersMap[task.taskIdentifier]?.request,
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:527:19: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m525 |[0;0m /// Support class for incapsulation of the task.
[0;36m526 |[0;0m private final class Box {
[0;36m527 |[0;0m var task: [4;39mURLSessionTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m528 |[0;0m }
[0;36m529 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m33 |[0;0m func receiveChallenge(_ challenge: URLAuthenticationChallenge,
[0;36m34 |[0;0m forRequest request: HTTPRequest, task: URLSessionTask,
[0;36m35 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m36 |[0;0m
[0;36m37 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:33:40: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m /// - task: task associated with request.
[0;36m32 |[0;0m /// - completionHandler: completion handler.
[0;36m33 |[0;0m func receiveChallenge(_ challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m forRequest request: HTTPRequest, task: URLSessionTask,
[0;36m35 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:34:66: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m /// - completionHandler: completion handler.
[0;36m33 |[0;0m func receiveChallenge(_ challenge: URLAuthenticationChallenge,
[0;36m34 |[0;0m forRequest request: HTTPRequest, task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
[0;36m36 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:33:22: [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m /// The public keys
[0;36m33 |[0;0m var publicKeys: [[4;39mSecKey[0;0m]?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m /// Use public keys or certificate validation?
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:82:73: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m80 |[0;0m forRequest request: HTTPRequest,
[0;36m81 |[0;0m task: URLSessionTask,
[0;36m82 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m83 |[0;0m guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
[0;36m84 |[0;0m let trust = challenge.protectionSpace.serverTrust,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:79:45: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m77 |[0;0m // MARK: - Conformance
[0;36m78 |[0;0m
[0;36m79 |[0;0m open func receiveChallenge(_ challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m80 |[0;0m forRequest request: HTTPRequest,
[0;36m81 |[0;0m task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:81:38: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m open func receiveChallenge(_ challenge: URLAuthenticationChallenge,
[0;36m80 |[0;0m forRequest request: HTTPRequest,
[0;36m81 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m83 |[0;0m guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:95:30: [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m93 |[0;0m // MARK: - Public Functions
[0;36m94 |[0;0m
[0;36m95 |[0;0m open func isValid(trust: [4;39mSecTrust[0;0m, forDomain domain: String?) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m96 |[0;0m SecTrustSetPolicies(trust, trustPolicyForDomain(domain))
[0;36m97 |[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:113:61: [1;31merror: [1;39mcannot find type 'SecPolicy' in scope[0;0m
[0;36m111 |[0;0m /// - Parameter domain: domain.
[0;36m112 |[0;0m /// - Returns: SecPolicy
[0;36m113 |[0;0m private func trustPolicyForDomain(_ domain: String?) -> [4;39mSecPolicy[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecPolicy' in scope[0;0m
[0;36m114 |[0;0m switch validatedDomainName {
[0;36m115 |[0;0m case true:
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:122:62: [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m120 |[0;0m }
[0;36m121 |[0;0m
[0;36m122 |[0;0m private func isValidCertificates(_ certs: [Data], trust: [4;39mSecTrust[0;0m, domain: String?) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m123 |[0;0m let serverCerts = trust.certificateChain()
[0;36m124 |[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:152:43: [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m150 |[0;0m }
[0;36m151 |[0;0m
[0;36m152 |[0;0m private func isValidPublicKeys(trust: [4;39mSecTrust[0;0m, domain: String?) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m153 |[0;0m guard let keys = publicKeys else {
[0;36m154 |[0;0m return false
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:180:32: [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m178 |[0;0m ///
[0;36m179 |[0;0m /// - Returns: SecKey?
[0;36m180 |[0;0m func extractPublicKey() -> [4;39mSecKey[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m181 |[0;0m let possibleCert = SecCertificateCreateWithData(nil, self as CFData)
[0;36m182 |[0;0m return possibleCert?.extractPublicKeyFromCert(policy: SecPolicyCreateBasicX509())
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:189:23: [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m187 |[0;0m // MARK: - SecTrust Extension
[0;36m188 |[0;0m
[0;36m189 |[0;0m fileprivate extension [4;39mSecTrust[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecTrust' in scope[0;0m
[0;36m190 |[0;0m
[0;36m191 |[0;0m /// Get the public key chain for the trust instance.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/CertificatesSecurity.swift:218:23: [1;31merror: [1;39mcannot find type 'SecCertificate' in scope[0;0m
[0;36m216 |[0;0m // MARK: - SecCertificate Extension
[0;36m217 |[0;0m
[0;36m218 |[0;0m fileprivate extension [4;39mSecCertificate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecCertificate' in scope[0;0m
[0;36m219 |[0;0m
[0;36m220 |[0;0m /// Get the public key from a certificate data
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift:30:41: [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /// Public key to be used.
[0;36m30 |[0;0m public internal(set) var publicKey: [4;39mSecKey[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CertificatesSecurity/SSLCertificate.swift:44:28: [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m42 |[0;0m ///
[0;36m43 |[0;0m /// - Parameter key: public key to be used.
[0;36m44 |[0;0m public init(publicKey: [4;39mSecKey[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m45 |[0;0m self.publicKey = publicKey
[0;36m46 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
[0;36m23 |[0;0m public struct CredentialSecurity: HTTPSecurityService {
[0;36m24 |[0;0m public typealias AuthenticationCallback = (([4;39mURLAuthenticationChallenge[0;0m) -> URLCredential?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
[0;36m23 |[0;0m public struct CredentialSecurity: HTTPSecurityService {
[0;36m24 |[0;0m public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> [4;39mURLCredential[0;0m?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m // MARK: - Public Properties
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m43 |[0;0m forRequest request: HTTPRequest,
[0;36m44 |[0;0m task: URLSessionTask,
[0;36m45 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m46 |[0;0m guard let cred = callback(challenge) else {
[0;36m47 |[0;0m completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m // MARK: - Conformance
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func receiveChallenge(_ challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m forRequest request: HTTPRequest,
[0;36m44 |[0;0m task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
[0;36m43 |[0;0m forRequest request: HTTPRequest,
[0;36m44 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m46 |[0;0m guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m30 |[0;0m forRequest request: HTTPRequest,
[0;36m31 |[0;0m task: URLSessionTask,
[0;36m32 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m33 |[0;0m guard let trust = challenge.protectionSpace.serverTrust else {
[0;36m34 |[0;0m completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m public struct SelfSignedCertsSecurity: HTTPSecurityService {
[0;36m28 |[0;0m
[0;36m29 |[0;0m public func receiveChallenge(_ challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m forRequest request: HTTPRequest,
[0;36m31 |[0;0m task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
[0;36m30 |[0;0m forRequest request: HTTPRequest,
[0;36m31 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m33 |[0;0m guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m236 |[0;0m // MARK: - URL
[0;36m237 |[0;0m
[0;36m238 |[0;0m extension URL: ExpressibleByStringLiteral {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m239 |[0;0m
[0;36m240 |[0;0m public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:277:51: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m275 |[0;0m /// - request: request.
[0;36m276 |[0;0m /// - Returns: URL?
[0;36m277 |[0;0m internal func copyFileToDefaultLocation(task: [4;39mURLSessionDownloadTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m278 |[0;0m forRequest request: HTTPRequest) -> URL? {
[0;36m279 |[0;0m
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m import Foundation
[0;36m20 |[0;0m
[0;36m21 |[0;0m extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPStatusCode.swift:228:52: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m226 |[0;0m ///
[0;36m227 |[0;0m /// - Parameter urlResponse: url response instance
[0;36m228 |[0;0m public static func fromResponse(_ URLResponse: [4;39mURLResponse[0;0m?) -> HTTPStatusCode {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m229 |[0;0m guard let statusCode = (URLResponse as? HTTPURLResponse)?.statusCode else {
[0;36m230 |[0;0m return .none
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/HTTPStatusCode.swift:284:1: [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m282 |[0;0m // MARK: HTTPURLResponse + Extension
[0;36m283 |[0;0m
[0;36m284 |[0;0m extension [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m285 |[0;0m
[0;36m286 |[0;0m /// Status of the response as `HTTPStatusCode` object
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders.swift:301:1: [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m299 |[0;0m // MARK: HTTPHeaders (HTTPURLResponse Extension)
[0;36m300 |[0;0m
[0;36m301 |[0;0m extension [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m302 |[0;0m
[0;36m303 |[0;0m /// Returns `allHeaderFields` as `HTTPHeaders`.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Headers/HTTPHeaders.swift:312:1: [1;31merror: [1;39mnon-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m310 |[0;0m // MARK: HTTPHeaders (URLSessionConfiguration Extension)
[0;36m311 |[0;0m
[0;36m312 |[0;0m extension [4;39mURLSessionConfiguration[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m313 |[0;0m
[0;36m314 |[0;0m /// `httpAdditionalHeaders` as `HTTPHeaders` object.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:44:29: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m42 |[0;0m
[0;36m43 |[0;0m /// Task metrics.
[0;36m44 |[0;0m public let taskMetrics: [4;39mURLSessionTaskMetrics[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m45 |[0;0m
[0;36m46 |[0;0m /// Associated task.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:47:40: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m
[0;36m46 |[0;0m /// Associated task.
[0;36m47 |[0;0m public private(set) weak var task: [4;39mURLSessionTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m /// Number of redirects made.
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:57:29: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m /// Initialize the object with the metrics gathered for a task.
[0;36m57 |[0;0m internal init?(metrics: [4;39mURLSessionTaskMetrics[0;0m?, task: URLSessionTask?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m58 |[0;0m self.taskMetrics = metrics
[0;36m59 |[0;0m self.task = task
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:57:59: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m /// Initialize the object with the metrics gathered for a task.
[0;36m57 |[0;0m internal init?(metrics: URLSessionTaskMetrics?, task: [4;39mURLSessionTask[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m self.taskMetrics = metrics
[0;36m59 |[0;0m self.task = task
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:97:40: [1;31merror: [1;39mcannot find type 'URLSessionTaskTransactionMetrics' in scope[0;0m
[0;36m95 |[0;0m
[0;36m96 |[0;0m /// Underlying transaction metrics.
[0;36m97 |[0;0m public let transactionMetrics: [4;39mURLSessionTaskTransactionMetrics[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskTransactionMetrics' in scope[0;0m
[0;36m98 |[0;0m
[0;36m99 |[0;0m /// The transaction request.
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:100:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m98 |[0;0m
[0;36m99 |[0;0m /// The transaction request.
[0;36m100 |[0;0m public var request: [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m101 |[0;0m transactionMetrics.request
[0;36m102 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/HTTPMetrics.swift:109:33: [1;31merror: [1;39mcannot find type 'URLSessionTaskTransactionMetrics' in scope[0;0m
[0;36m107 |[0;0m ///
[0;36m108 |[0;0m /// - Parameter metrics: metrics instance
[0;36m109 |[0;0m internal init?(metrics: [4;39mURLSessionTaskTransactionMetrics[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskTransactionMetrics' in scope[0;0m
[0;36m110 |[0;0m guard let metrics = metrics else {
[0;36m111 |[0;0m return nil
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Metrics/Renders/HTTPMetrics+Console.swift:194:11: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m192 |[0;0m // MARK: - URLSessionTaskMetrics.ResourceFetchType Extension
[0;36m193 |[0;0m
[0;36m194 |[0;0m extension [4;39mURLSessionTaskMetrics[0;0m.ResourceFetchType {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m195 |[0;0m
[0;36m196 |[0;0m var name: String {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:63:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m public struct cURLHelper {
[0;36m62 |[0;0m
[0;36m63 |[0;0m fileprivate static func cURLDescription(request: [4;39mURLRequest[0;0m?, client: HTTPClient?) -> String {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m64 |[0;0m guard let client = client,
[0;36m65 |[0;0m let request = request,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:92:53: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m90 |[0;0m /// - client: where the request is running in.
[0;36m91 |[0;0m /// - components: components array.
[0;36m92 |[0;0m private static func addCredentials(for request: [4;39mURLRequest[0;0m, whenIn client: HTTPClient, into components: inout [String]) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m93 |[0;0m guard let credentialStorage = client.session.configuration.urlCredentialStorage,
[0;36m94 |[0;0m let url = request.url,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:119:52: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m117 |[0;0m /// - client: where the request is running in.
[0;36m118 |[0;0m /// - components: components array.
[0;36m119 |[0;0m private static func addSetCookies(for request: [4;39mURLRequest[0;0m, whenIn client: HTTPClient, into components: inout [String]) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m120 |[0;0m let configuration = client.session.configuration
[0;36m121 |[0;0m guard configuration.httpShouldSetCookies,
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:142:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m140 |[0;0m /// - client: where the request is running in.
[0;36m141 |[0;0m /// - components: components array.
[0;36m142 |[0;0m private static func addHeaders(for request: [4;39mURLRequest[0;0m, whenIn client: HTTPClient, into components: inout [String]) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m143 |[0;0m let configuration = client.session.configuration
[0;36m144 |[0;0m var headers = HTTPHeaders()
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:166:46: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m164 |[0;0m /// - client: where the request is running in.
[0;36m165 |[0;0m /// - components: components array.
[0;36m166 |[0;0m private static func addBody(for request: [4;39mURLRequest[0;0m, whenIn client: HTTPClient, into components: inout [String]) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m167 |[0;0m if let httpBodyData = request.httpBody {
[0;36m168 |[0;0m let httpBody = String(decoding: httpBodyData, as: UTF8.self)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:93:54: [1;31merror: [1;39mvalue of type 'URLSession' (aka 'AnyObject') has no member 'configuration'[0;0m
[0;36m91 |[0;0m /// - components: components array.
[0;36m92 |[0;0m private static func addCredentials(for request: URLRequest, whenIn client: HTTPClient, into components: inout [String]) {
[0;36m93 |[0;0m guard let credentialStorage = [4;39mclient.session[0;0m.[4;39mconfiguration[0;0m.urlCredentialStorage,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'URLSession' (aka 'AnyObject') has no member 'configuration'[0;0m
[0;36m94 |[0;0m let url = request.url,
[0;36m95 |[0;0m let host = url.host else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:103:72: [1;31merror: [1;39mcannot find 'NSURLAuthenticationMethodHTTPBasic' in scope[0;0m
[0;36m101 |[0;0m protocol: url.scheme,
[0;36m102 |[0;0m realm: host,
[0;36m103 |[0;0m authenticationMethod: [4;39mNSURLAuthenticationMethodHTTPBasic[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'NSURLAuthenticationMethodHTTPBasic' in scope[0;0m
[0;36m104 |[0;0m
[0;36m105 |[0;0m if let credentials = credentialStorage.credentials(for: protectionSpace)?.values {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/cURLHelper.swift:99:31: [1;31merror: [1;39m'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m97 |[0;0m }
[0;36m98 |[0;0m
[0;36m99 |[0;0m let protectionSpace = [4;39mURLProtectionSpace[0;0m(host: host,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m100 |[0;0m port: url.port ?? 0,
[0;36m101 |[0;0m protocol: url.scheme,
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/HTTPStubMatcher.swift:43:27: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m41 |[0;0m /// - request: request instance received.
[0;36m42 |[0;0m /// - source: source of data.
[0;36m43 |[0;0m func matches(request: [4;39mURLRequest[0;0m, for source: HTTPMatcherSource) -> Bool
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m44 |[0;0m
[0;36m45 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/HTTPStubIgnoreRule.swift:83:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m81 |[0;0m // MARK: - Internal Functions
[0;36m82 |[0;0m
[0;36m83 |[0;0m internal func matches(_ urlRequest: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m84 |[0;0m for matcher in matchers {
[0;36m85 |[0;0m 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: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m39 |[0;0m // MARK: - Conformance
[0;36m40 |[0;0m
[0;36m41 |[0;0m public func matches(request: [4;39mURLRequest[0;0m, for source: HTTPMatcherSource) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m42 |[0;0m guard let data = request.body else {
[0;36m43 |[0;0m return false
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubCustomMatcher.swift:22:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m public struct HTTPStubCustomMatcher: HTTPStubMatcher {
[0;36m22 |[0;0m public typealias Handler = ([4;39mURLRequest[0;0m, HTTPMatcherSource) -> Bool
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m // MARK: - Private Properties
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubCustomMatcher.swift:33:29: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m31 |[0;0m ///
[0;36m32 |[0;0m /// - Parameter callback: callback to call.
[0;36m33 |[0;0m public init(_ callback: @escaping Handler) {
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m34 |[0;0m self.callback = callback
[0;36m35 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubCustomMatcher.swift:39:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m37 |[0;0m // MARK: - Protocol
[0;36m38 |[0;0m
[0;36m39 |[0;0m public func matches(request: [4;39mURLRequest[0;0m, for source: HTTPMatcherSource) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m40 |[0;0m callback(request, source)
[0;36m41 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubJSONMatcher.swift:56:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m54 |[0;0m // MARK: - Conformance
[0;36m55 |[0;0m
[0;36m56 |[0;0m public func matches(request: [4;39mURLRequest[0;0m, for source: HTTPMatcherSource) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m57 |[0;0m guard let data = request.body,
[0;36m58 |[0;0m 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: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m48 |[0;0m // MARK: - Conformances
[0;36m49 |[0;0m
[0;36m50 |[0;0m public func matches(request: [4;39mURLRequest[0;0m, for source: HTTPMatcherSource) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m51 |[0;0m switch location {
[0;36m52 |[0;0m case .url:
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURITemplateMatcher.swift:52:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m50 |[0;0m // MARK: - Conformance
[0;36m51 |[0;0m
[0;36m52 |[0;0m public func matches(request: [4;39mURLRequest[0;0m, for source: HTTPMatcherSource) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m53 |[0;0m if let URLString = request.url?.absoluteString {
[0;36m54 |[0;0m if template.extract(URLString) != nil {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Matchers/Built-In Matchers/HTTPStubURLMatcher.swift:46:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m44 |[0;0m // MARK: - Conformance
[0;36m45 |[0;0m
[0;36m46 |[0;0m public func matches(request: [4;39mURLRequest[0;0m, for source: HTTPMatcherSource) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m47 |[0;0m guard var targetURL = request.url else {
[0;36m48 |[0;0m return false
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPDynamicStubResponse.swift:24:47: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m /// received from the matcher.
[0;36m23 |[0;0m public struct HTTPDynamicStubResponse: HTTPStubResponseProvider {
[0;36m24 |[0;0m public typealias DataCallbackProvider = (([4;39mURLRequest[0;0m, HTTPStubRequest) -> HTTPStubResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m // MARK: - Public Properties
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPDynamicStubResponse.swift:36:29: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m34 |[0;0m ///
[0;36m35 |[0;0m /// - Parameter callback: callback provider.
[0;36m36 |[0;0m public init(_ callback: @escaping DataCallbackProvider) {
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m37 |[0;0m self.callback = callback
[0;36m38 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPDynamicStubResponse.swift:42:52: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m40 |[0;0m // MARK: - Protocol Conformance
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func response(forURLRequest urlRequest: [4;39mURLRequest[0;0m, matchedStub stubRequest: HTTPStubRequest) -> HTTPStubResponse? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m43 |[0;0m callback(urlRequest, stubRequest)
[0;36m44 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest.swift:74:45: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m72 |[0;0m /// - stubRequest: stub request matched.
[0;36m73 |[0;0m /// - Returns: HTTPStubResponse
[0;36m74 |[0;0m func response(forURLRequest urlRequest: [4;39mURLRequest[0;0m, matchedStub stubRequest: HTTPStubRequest) -> HTTPStubResponse?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m75 |[0;0m
[0;36m76 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest.swift:50:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m48 |[0;0m /// - Parameter urlRequest: url request.
[0;36m49 |[0;0m /// - Returns: Bool
[0;36m50 |[0;0m public func match(_ urlRequest: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m51 |[0;0m for matcher in matchers {
[0;36m52 |[0;0m if matcher.matches(request: urlRequest, for: self) == false {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest+Matchers.swift:36:42: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m34 |[0;0m /// - Parameter matcherFunction: matcher function.
[0;36m35 |[0;0m /// - Returns: Self
[0;36m36 |[0;0m public func match(_ matcherFunction: @escaping HTTPStubCustomMatcher.Handler) -> Self {
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m37 |[0;0m let matcher = HTTPStubCustomMatcher(matcherFunction)
[0;36m38 |[0;0m return match(matcher)
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest+Stub.swift:31:73: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m29 |[0;0m /// - provider: data provider callback.
[0;36m30 |[0;0m /// - Returns: Self
[0;36m31 |[0;0m public func stub(for method: HTTPMethod, responseProvider provider: @escaping HTTPDynamicStubResponse.DataCallbackProvider) -> Self {
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m32 |[0;0m responses[method] = HTTPDynamicStubResponse(provider)
[0;36m33 |[0;0m return self
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Request/HTTPStubRequest.swift:82:52: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m80 |[0;0m extension HTTPStubResponse: HTTPStubResponseProvider {
[0;36m81 |[0;0m
[0;36m82 |[0;0m public func response(forURLRequest urlRequest: [4;39mURLRequest[0;0m, matchedStub stubRequest: HTTPStubRequest) -> HTTPStubResponse? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m83 |[0;0m // it returns the object itself.
[0;36m84 |[0;0m self
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Response/HTTPEchoResponse.swift:24:53: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m public class HTTPEchoResponse: HTTPStubResponse {
[0;36m23 |[0;0m
[0;36m24 |[0;0m public override func adaptForRequest(_ request: [4;39mURLRequest[0;0m) -> HTTPStubResponse {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m let response = HTTPStubResponse()
[0;36m26 |[0;0m response.body = request.body
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Response/HTTPStubResponse.swift:47:36: [1;31merror: [1;39m'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')[0;0m
[0;36m45 |[0;0m /// Allow response caching. Usually you dont want to have a cached response
[0;36m46 |[0;0m /// so the default behaviour is set to `notAllowed`.
[0;36m47 |[0;0m open var cachePolicy: [4;39mURLCache[0;0m.StoragePolicy = .notAllowed
[0;36m|[0;0m `- [1;31merror: [1;39m'StoragePolicy' is not a member type of type 'Foundation.URLCache' (aka 'AnyObject')[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m /// You can define a delay to return the reponse.
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/DataTypes/Stub Response/HTTPStubResponse.swift:69:42: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m67 |[0;0m /// - Parameter request: request.
[0;36m68 |[0;0m /// - Returns: `HTTPStubResponse`
[0;36m69 |[0;0m open func adaptForRequest(_ request: [4;39mURLRequest[0;0m) -> HTTPStubResponse {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m70 |[0;0m self
[0;36m71 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubber.swift:189:53: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m187 |[0;0m /// - Parameter request: url request to check.
[0;36m188 |[0;0m /// - Returns: HTTPSubRequest?
[0;36m189 |[0;0m internal func suitableStubForRequest(_ request: [4;39mURLRequest[0;0m) -> HTTPStubRequest? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m190 |[0;0m stubbedRequests.first {
[0;36m191 |[0;0m $0.match(request)
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubber.swift:199:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m197 |[0;0m /// - Parameter request: request to check.
[0;36m198 |[0;0m /// - Returns: Bool
[0;36m199 |[0;0m public func shouldHandle(_ request: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m200 |[0;0m switch unhandledMode {
[0;36m201 |[0;0m case .optin:
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/HTTPStubberErrors.swift:22:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m public enum HTTPStubberErrors: Error {
[0;36m22 |[0;0m case matchStubNotFound([4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:29:25: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m27 |[0;0m private var responseWorkItem: DispatchWorkItem?
[0;36m28 |[0;0m
[0;36m29 |[0;0m public [4;39moverride[0;0m var task: URLSessionTask? {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m30 |[0;0m urlSessionTask
[0;36m31 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:29:31: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m private var responseWorkItem: DispatchWorkItem?
[0;36m28 |[0;0m
[0;36m29 |[0;0m public override var task: [4;39mURLSessionTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m urlSessionTask
[0;36m31 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:33:33: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m
[0;36m33 |[0;0m private var urlSessionTask: [4;39mURLSessionTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m // MARK: - Overrides
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:44:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m42 |[0;0m /// - Parameter request: request to validate.
[0;36m43 |[0;0m /// - Returns: Bool
[0;36m44 |[0;0m public override class func canInit(with request: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m45 |[0;0m guard let scheme = request.url?.scheme,
[0;36m46 |[0;0m Self.supportedSchemes.contains(scheme) else {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:54:77: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
[0;36m54 |[0;0m public override class func canonicalRequest(for request: URLRequest) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m55 |[0;0m request
[0;36m56 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:54:62: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
[0;36m54 |[0;0m public override class func canonicalRequest(for request: [4;39mURLRequest[0;0m) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m55 |[0;0m request
[0;36m56 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:58:69: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m56 |[0;0m }
[0;36m57 |[0;0m
[0;36m58 |[0;0m public override class func requestIsCacheEquivalent(_ requestA: [4;39mURLRequest[0;0m, to requestB: URLRequest) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m false
[0;36m60 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:58:94: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m56 |[0;0m }
[0;36m57 |[0;0m
[0;36m58 |[0;0m public override class func requestIsCacheEquivalent(_ requestA: URLRequest, to requestB: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m false
[0;36m60 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:63:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m // Occasionally called by iOS, even though init(task:...) is implemented. Will cause a crash if not present.
[0;36m63 |[0;0m public override init(request: [4;39mURLRequest[0;0m, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m64 |[0;0m super.init(request: request, cachedResponse: cachedResponse, client: client)
[0;36m65 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:63:91: [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m // Occasionally called by iOS, even though init(task:...) is implemented. Will cause a crash if not present.
[0;36m63 |[0;0m public override init(request: URLRequest, cachedResponse: CachedURLResponse?, client: [4;39mURLProtocolClient[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m64 |[0;0m super.init(request: request, cachedResponse: cachedResponse, client: client)
[0;36m65 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:63:63: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m // Occasionally called by iOS, even though init(task:...) is implemented. Will cause a crash if not present.
[0;36m63 |[0;0m public override init(request: URLRequest, cachedResponse: [4;39mCachedURLResponse[0;0m?, client: URLProtocolClient?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m super.init(request: request, cachedResponse: cachedResponse, client: client)
[0;36m65 |[0;0m }
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:67:83: [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
[0;36m67 |[0;0m public init(task: URLSessionTask, cachedResponse: CachedURLResponse?, client: [4;39mURLProtocolClient[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m68 |[0;0m super.init(request: task.currentRequest!, cachedResponse: cachedResponse, client: client)
[0;36m69 |[0;0m self.urlSessionTask = task
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:67:23: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
[0;36m67 |[0;0m public init(task: [4;39mURLSessionTask[0;0m, cachedResponse: CachedURLResponse?, client: URLProtocolClient?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m super.init(request: task.currentRequest!, cachedResponse: cachedResponse, client: client)
[0;36m69 |[0;0m self.urlSessionTask = task
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:67:55: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
[0;36m67 |[0;0m public init(task: URLSessionTask, cachedResponse: [4;39mCachedURLResponse[0;0m?, client: URLProtocolClient?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m super.init(request: task.currentRequest!, cachedResponse: cachedResponse, client: client)
[0;36m69 |[0;0m self.urlSessionTask = task
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:72:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m70 |[0;0m }
[0;36m71 |[0;0m
[0;36m72 |[0;0m public [4;39moverride[0;0m func startLoading() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m73 |[0;0m var request = self.request
[0;36m74 |[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:135:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m133 |[0;0m }
[0;36m134 |[0;0m
[0;36m135 |[0;0m public [4;39moverride[0;0m func stopLoading() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m136 |[0;0m responseWorkItem?.cancel()
[0;36m137 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:142:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m140 |[0;0m
[0;36m141 |[0;0m private func streamData(_ inputStream: InputStream,
[0;36m142 |[0;0m forRequest request: [4;39mURLRequest[0;0m, forStub stub: HTTPStubResponse,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m143 |[0;0m speed: HTTPConnectionSpeed,
[0;36m144 |[0;0m completion: @escaping ((Error?) -> Void)) {
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:190:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m188 |[0;0m }
[0;36m189 |[0;0m
[0;36m190 |[0;0m private func finishRequest(_ request: [4;39mURLRequest[0;0m, withStub stubResponse: HTTPStubResponse, cookies: HTTPCookieStorage) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m191 |[0;0m let url = request.url!
[0;36m192 |[0;0m let headers = stubResponse.headers.asDictionary
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:190:105: [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m188 |[0;0m }
[0;36m189 |[0;0m
[0;36m190 |[0;0m private func finishRequest(_ request: URLRequest, withStub stubResponse: HTTPStubResponse, cookies: [4;39mHTTPCookieStorage[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m191 |[0;0m let url = request.url!
[0;36m192 |[0;0m let headers = stubResponse.headers.asDictionary
Foundation.HTTPCookieStorage:2:18: [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPCookieStorage = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/HTTPStubURLProtocol.swift:21:35: [1;31merror: [1;39m'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m import Foundation
[0;36m20 |[0;0m
[0;36m21 |[0;0m public class HTTPStubURLProtocol: [4;39mURLProtocol[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m /// This class support only certain common type of schemes.
Foundation.URLProtocol:2:18: [1;39mnote: [1;39m'URLProtocol' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLProtocol = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLProtocol' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/URLSessionHook.swift:41:40: [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m private func originalSelector() -> [4;39mSelector[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m42 |[0;0m #selector(getter: URLSessionConfiguration.protocolClasses)
[0;36m43 |[0;0m }
/host/spi-builder-workspace/Sources/RealHTTP/Stubber/Hooks/URLSessionHook.swift:45:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m @objc private func protocolClasses() -> [AnyClass] {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m46 |[0;0m [HTTPStubURLProtocol.self]
[0;36m47 |[0;0m }
[#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