The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealHTTP, reference 1.9.0 (fcec34), with Swift 6.3 for Linux on 15 Apr 2026 15:26:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:123:29: error: cannot find type 'URLRequest' in scope
121 |     /// NOTE:
122 |     /// When not specified the HTTPClient's value where the request is executed is used.
123 |     public var cachePolicy: URLRequest.CachePolicy?
    |                             `- error: cannot find type 'URLRequest' in scope
124 |
125 |     /// The HTTP Protocol version to use for request.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:293:49: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 |     /// 2. Each new get call to cookies produce new instances of `HTTPCookie` even with the same values
292 |     ///    (this because value is parsed on the fly from `headers` properties).
293 |     public func setCookiesInHeaders(_ cookies: [HTTPCookie]) {
    |                                                 `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
294 |         let headerFields = HTTPCookie.requestHeaderFields(with: cookies).map { item in
295 |             HTTPHeaders.Element(name: item.key, value: item.value)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:417:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     /// - Parameter client: client where the query should be executed.
416 |     /// - Returns: `URLSessionTask`
417 |     internal func urlSessionTask(inClient client: HTTPClient) async throws -> URLSessionTask {
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         // Generate the `URLRequest` instance.
419 |         var urlRequest = try await urlRequest(inClient: client)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:451:76: error: cannot find type 'URLRequest' in scope
449 |     /// - Parameter client: client instance.
450 |     /// - Returns: `URLRequest`
451 |     internal func urlRequest(inClient client: HTTPClient?) async throws -> URLRequest {
    |                                                                            `- error: cannot find type 'URLRequest' in scope
452 |         guard let client = client,
453 |               let fullURL = urlComponents.fullURLInClient(client) else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:28: error: cannot find type 'URLRequest' in scope
500 |         case follow
501 |         case followWithOriginalSettings
502 |         case followCustom((URLRequest) -> URLRequest?)
    |                            `- error: cannot find type 'URLRequest' in scope
503 |         case refuse
504 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:43: error: cannot find type 'URLRequest' in scope
500 |         case follow
501 |         case followWithOriginalSettings
502 |         case followCustom((URLRequest) -> URLRequest?)
    |                                           `- error: cannot find type 'URLRequest' in scope
503 |         case refuse
504 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:30: warning: conditional downcast from 'URLSessionTask?' (aka 'Optional<AnyObject>') to 'URLSessionDownloadTask' (aka 'AnyObject') does nothing
268 |         if transferMode == .largeData {
269 |             if let dataProducer = byProducingResumeData {
270 |                 (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
    |                              `- warning: conditional downcast from 'URLSessionTask?' (aka 'Optional<AnyObject>') to 'URLSessionDownloadTask' (aka 'AnyObject') does nothing
271 |             } else {
272 |                 sessionTask?.cancel()
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:59: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
268 |         if transferMode == .largeData {
269 |             if let dataProducer = byProducingResumeData {
270 |                 (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
    |                                                           `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
271 |             } else {
272 |                 sessionTask?.cancel()
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:272:30: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
270 |                 (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
271 |             } else {
272 |                 sessionTask?.cancel()
    |                              `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
273 |             }
274 |         } else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:275:26: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
273 |             }
274 |         } else {
275 |             sessionTask?.cancel()
    |                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
276 |         }
277 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:294:39: error: type 'HTTPCookie' (aka 'AnyObject') has no member 'requestHeaderFields'
292 |     ///    (this because value is parsed on the fly from `headers` properties).
293 |     public func setCookiesInHeaders(_ cookies: [HTTPCookie]) {
294 |         let headerFields = HTTPCookie.requestHeaderFields(with: cookies).map { item in
    |                                       `- error: type 'HTTPCookie' (aka 'AnyObject') has no member 'requestHeaderFields'
295 |             HTTPHeaders.Element(name: item.key, value: item.value)
296 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:425:19: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 |
424 |         // Create the `URLSessionTask` instance.
425 |         var task: URLSessionTask!
    |                   `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
426 |         if urlRequest.hasStream {
427 |             // If specified a stream mode we want to create the appropriate task
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:428:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
426 |         if urlRequest.hasStream {
427 |             // If specified a stream mode we want to create the appropriate task
428 |             task = client.session.uploadTask(withStreamedRequest: urlRequest)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
429 |         } else {
430 |             switch transferMode {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:432:39: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
430 |             switch transferMode {
431 |             case .default:
432 |                 task = client.session.dataTask(with: urlRequest)
    |                                       `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
433 |             case .largeData:
434 |                 if let partialData = partialData {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:435:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
433 |             case .largeData:
434 |                 if let partialData = partialData {
435 |                     task = client.session.downloadTask(withResumeData: partialData)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
436 |                 } else {
437 |                     task = client.session.downloadTask(with: urlRequest)
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:437:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
435 |                     task = client.session.downloadTask(withResumeData: partialData)
436 |                 } else {
437 |                     task = client.session.downloadTask(with: urlRequest)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
438 |                 }
439 |             }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:443:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
441 |
442 |         /// Keep in mind it's just a suggestion for HTTP/2 based services.
443 |         task.priority = httpPriority.urlTaskPriority
    |              `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
444 |         return task
445 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:466:30: error: cannot find 'URLRequest' in scope
464 |
465 |         // Prepare the request
466 |         var urlRequest = try URLRequest(url: fullURL,
    |                              `- error: cannot find 'URLRequest' in scope
467 |                                         method: method,
468 |                                         cachePolicy: requestCachePolicy,
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:34:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// `URLResponse` object received from server.
 34 |     open var urlResponse: URLResponse?
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Casted `HTTPURLResponse` object received from server.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:37:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Casted `HTTPURLResponse` object received from server.
 37 |     public var httpResponse: HTTPURLResponse? {
    |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |         urlResponse as? HTTPURLResponse
 39 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:38: error: cannot find type 'URLRequest' in scope
 45 |     ///             except when the server has responded to the initial request with a
 46 |     ///             redirect to a different URL.
 47 |     open var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
    |                                      `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:60: error: cannot find type 'URLRequest' in scope
 45 |     ///             except when the server has responded to the initial request with a
 46 |     ///             redirect to a different URL.
 47 |     open var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
    |                                                            `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:38:21: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 36 |     /// Casted `HTTPURLResponse` object received from server.
 37 |     public var httpResponse: HTTPURLResponse? {
 38 |         urlResponse as? HTTPURLResponse
    |                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 39 |     }
 40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:38:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     /// Casted `HTTPURLResponse` object received from server.
 37 |     public var httpResponse: HTTPURLResponse? {
 38 |         urlResponse as? HTTPURLResponse
    |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     }
 40 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:87:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
 85 |     /// Headers received into the response.
 86 |     open var headers: HTTPHeaders {
 87 |         httpResponse?.headers ?? HTTPHeaders()
    |                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
 88 |     }
 89 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:33: error: cannot find type 'URLRequest' in scope
56 |     ///             except when the server has responded to the initial request with a
57 |     ///             redirect to a different URL.
58 |     var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
   |                                 `- error: cannot find type 'URLRequest' in scope
59 |
60 |     // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:55: error: cannot find type 'URLRequest' in scope
56 |     ///             except when the server has responded to the initial request with a
57 |     ///             redirect to a different URL.
58 |     var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
   |                                                       `- error: cannot find type 'URLRequest' in scope
59 |
60 |     // MARK: - Initialization
[71/81] Compiling RealHTTP JSONSerializable.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:59: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |     public init(baseURL: URL?,
117 |                 maxConcurrentOperations: Int? = nil,
118 |                 configuration: URLSessionConfiguration = .default) {
    |                                                           `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |
120 |         self.baseURL = baseURL
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:59: error: value of type '_' expected to be instance of class or class-constrained type
116 |     public init(baseURL: URL?,
117 |                 maxConcurrentOperations: Int? = nil,
118 |                 configuration: URLSessionConfiguration = .default) {
    |                                                           `- error: value of type '_' expected to be instance of class or class-constrained type
119 |
120 |         self.baseURL = baseURL
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:63:58: error: cannot find type 'URLRequest' in scope
61 |     ///   - newRequest: the request to follow in redirect.
62 |     func client(_ client: HTTPClient, willPerformRedirect request: ExecutedRequest,
63 |                 response: HTTPResponse, with newRequest: URLRequest)
   |                                                          `- error: cannot find type 'URLRequest' in scope
64 |
65 |     /// Client receive an auth challenge which will be managed by the `security` property of the
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:41:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     /// URLSessionConfigurastion used to perform request in this client.
 41 |     public var session: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         loader.session
 43 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:47:29: error: cannot find type 'URLRequest' in scope
 45 |     /// The cache policy for the request. Defaults to `.useProtocolCachePolicy`.
 46 |     /// Requests may override this behaviour.
 47 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 48 |         get { loader.cachePolicy }
 49 |         set { loader.cachePolicy = newValue }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:66:31: error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |     /// Cookies storage.
 66 |     public var cookieStorage: HTTPCookieStorage? {
    |                               `- error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |         session.configuration.httpCookieStorage
 68 |     }
Foundation.HTTPCookieStorage:2:18: note: 'HTTPCookieStorage' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookieStorage = AnyObject
  |                  `- note: 'HTTPCookieStorage' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |     public init(baseURL: URL?,
117 |                 maxConcurrentOperations: Int? = nil,
118 |                 configuration: URLSessionConfiguration = .default) {
    |                                `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |
120 |         self.baseURL = baseURL
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:132:46: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     /// - Parameter url: URL.
131 |     /// - Returns: `[HTTCookie]`
132 |     public func cookies(forURL url: URL) -> [HTTPCookie] {
    |                                              `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
133 |         session.configuration.httpCookieStorage?.cookies(for: url) ?? []
134 |     }
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader.swift:39:31: error: cannot find type 'URLRequest' in scope
 37 |     /// The cache policy for the request. Defaults to `.useProtocolCachePolicy`.
 38 |     /// Requests may override this behaviour.
 39 |     internal var cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                               `- error: cannot find type 'URLRequest' in scope
 40 |
 41 |     // MARK: - Private Properties
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:67:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 65 |     /// Cookies storage.
 66 |     public var cookieStorage: HTTPCookieStorage? {
 67 |         session.configuration.httpCookieStorage
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 68 |     }
 69 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:133:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
131 |     /// - Returns: `[HTTCookie]`
132 |     public func cookies(forURL url: URL) -> [HTTPCookie] {
133 |         session.configuration.httpCookieStorage?.cookies(for: url) ?? []
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
134 |     }
135 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:23:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Identify a list of events you can monitor during the lifecycle of the client instance.
22 | public protocol HTTPClientDelegate: AnyObject {
23 |     typealias ExecutedRequest = (request: HTTPRequest, task: URLSessionTask)
   |                                                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 |     /// A new request is enqueued into the client's pool.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:73:32: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 |     ///   - authChallenge: challenge received.
72 |     func client(_ client: HTTPClient, didReceiveAuthChallangeFor request: ExecutedRequest,
73 |                 authChallenge: URLAuthenticationChallenge)
   |                                `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |
75 |     /// Client executed the request and collected relative metrics stats.
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:23:48: error: cannot find type 'URLRequest' in scope
 21 | public class HTTPRequest: CustomStringConvertible {
 22 |     public typealias RequestTask = Task<HTTPResponse, Error>
 23 |     public typealias RequestModifier = ((inout URLRequest) throws -> Void)
    |                                                `- error: cannot find type 'URLRequest' in scope
 24 |     internal static let DefaultTimeout = TimeInterval(10)
 25 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:34:48: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// Session task currently in execution.
 34 |     public internal(set) weak var sessionTask: URLSessionTask?
    |                                                `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Client in which the task is running.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:123:29: error: cannot find type 'URLRequest' in scope
121 |     /// NOTE:
122 |     /// When not specified the HTTPClient's value where the request is executed is used.
123 |     public var cachePolicy: URLRequest.CachePolicy?
    |                             `- error: cannot find type 'URLRequest' in scope
124 |
125 |     /// The HTTP Protocol version to use for request.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:293:49: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 |     /// 2. Each new get call to cookies produce new instances of `HTTPCookie` even with the same values
292 |     ///    (this because value is parsed on the fly from `headers` properties).
293 |     public func setCookiesInHeaders(_ cookies: [HTTPCookie]) {
    |                                                 `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
294 |         let headerFields = HTTPCookie.requestHeaderFields(with: cookies).map { item in
295 |             HTTPHeaders.Element(name: item.key, value: item.value)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:417:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     /// - Parameter client: client where the query should be executed.
416 |     /// - Returns: `URLSessionTask`
417 |     internal func urlSessionTask(inClient client: HTTPClient) async throws -> URLSessionTask {
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         // Generate the `URLRequest` instance.
419 |         var urlRequest = try await urlRequest(inClient: client)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:451:76: error: cannot find type 'URLRequest' in scope
449 |     /// - Parameter client: client instance.
450 |     /// - Returns: `URLRequest`
451 |     internal func urlRequest(inClient client: HTTPClient?) async throws -> URLRequest {
    |                                                                            `- error: cannot find type 'URLRequest' in scope
452 |         guard let client = client,
453 |               let fullURL = urlComponents.fullURLInClient(client) else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:28: error: cannot find type 'URLRequest' in scope
500 |         case follow
501 |         case followWithOriginalSettings
502 |         case followCustom((URLRequest) -> URLRequest?)
    |                            `- error: cannot find type 'URLRequest' in scope
503 |         case refuse
504 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:502:43: error: cannot find type 'URLRequest' in scope
500 |         case follow
501 |         case followWithOriginalSettings
502 |         case followCustom((URLRequest) -> URLRequest?)
    |                                           `- error: cannot find type 'URLRequest' in scope
503 |         case refuse
504 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:30: warning: conditional downcast from 'URLSessionTask?' (aka 'Optional<AnyObject>') to 'URLSessionDownloadTask' (aka 'AnyObject') does nothing
268 |         if transferMode == .largeData {
269 |             if let dataProducer = byProducingResumeData {
270 |                 (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
    |                              `- warning: conditional downcast from 'URLSessionTask?' (aka 'Optional<AnyObject>') to 'URLSessionDownloadTask' (aka 'AnyObject') does nothing
271 |             } else {
272 |                 sessionTask?.cancel()
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:270:59: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
268 |         if transferMode == .largeData {
269 |             if let dataProducer = byProducingResumeData {
270 |                 (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
    |                                                           `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
271 |             } else {
272 |                 sessionTask?.cancel()
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:272:30: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
270 |                 (sessionTask as? URLSessionDownloadTask)?.cancel(byProducingResumeData: dataProducer)
271 |             } else {
272 |                 sessionTask?.cancel()
    |                              `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
273 |             }
274 |         } else {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:275:26: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
273 |             }
274 |         } else {
275 |             sessionTask?.cancel()
    |                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
276 |         }
277 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:294:39: error: type 'HTTPCookie' (aka 'AnyObject') has no member 'requestHeaderFields'
292 |     ///    (this because value is parsed on the fly from `headers` properties).
293 |     public func setCookiesInHeaders(_ cookies: [HTTPCookie]) {
294 |         let headerFields = HTTPCookie.requestHeaderFields(with: cookies).map { item in
    |                                       `- error: type 'HTTPCookie' (aka 'AnyObject') has no member 'requestHeaderFields'
295 |             HTTPHeaders.Element(name: item.key, value: item.value)
296 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:425:19: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 |
424 |         // Create the `URLSessionTask` instance.
425 |         var task: URLSessionTask!
    |                   `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
426 |         if urlRequest.hasStream {
427 |             // If specified a stream mode we want to create the appropriate task
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:428:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
426 |         if urlRequest.hasStream {
427 |             // If specified a stream mode we want to create the appropriate task
428 |             task = client.session.uploadTask(withStreamedRequest: urlRequest)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
429 |         } else {
430 |             switch transferMode {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:432:39: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
430 |             switch transferMode {
431 |             case .default:
432 |                 task = client.session.dataTask(with: urlRequest)
    |                                       `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
433 |             case .largeData:
434 |                 if let partialData = partialData {
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:435:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
433 |             case .largeData:
434 |                 if let partialData = partialData {
435 |                     task = client.session.downloadTask(withResumeData: partialData)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
436 |                 } else {
437 |                     task = client.session.downloadTask(with: urlRequest)
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:437:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
435 |                     task = client.session.downloadTask(withResumeData: partialData)
436 |                 } else {
437 |                     task = client.session.downloadTask(with: urlRequest)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
438 |                 }
439 |             }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:443:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
441 |
442 |         /// Keep in mind it's just a suggestion for HTTP/2 based services.
443 |         task.priority = httpPriority.urlTaskPriority
    |              `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
444 |         return task
445 |     }
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPRequest/HTTPRequest.swift:466:30: error: cannot find 'URLRequest' in scope
464 |
465 |         // Prepare the request
466 |         var urlRequest = try URLRequest(url: fullURL,
    |                              `- error: cannot find 'URLRequest' in scope
467 |                                         method: method,
468 |                                         cachePolicy: requestCachePolicy,
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:34:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// `URLResponse` object received from server.
 34 |     open var urlResponse: URLResponse?
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Casted `HTTPURLResponse` object received from server.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:37:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Casted `HTTPURLResponse` object received from server.
 37 |     public var httpResponse: HTTPURLResponse? {
    |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |         urlResponse as? HTTPURLResponse
 39 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:38: error: cannot find type 'URLRequest' in scope
 45 |     ///             except when the server has responded to the initial request with a
 46 |     ///             redirect to a different URL.
 47 |     open var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
    |                                      `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:47:60: error: cannot find type 'URLRequest' in scope
 45 |     ///             except when the server has responded to the initial request with a
 46 |     ///             redirect to a different URL.
 47 |     open var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
    |                                                            `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /// Raw data received from server.
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:38:21: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 36 |     /// Casted `HTTPURLResponse` object received from server.
 37 |     public var httpResponse: HTTPURLResponse? {
 38 |         urlResponse as? HTTPURLResponse
    |                     `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 39 |     }
 40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:38:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     /// Casted `HTTPURLResponse` object received from server.
 37 |     public var httpResponse: HTTPURLResponse? {
 38 |         urlResponse as? HTTPURLResponse
    |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     }
 40 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/HTTPResponse/HTTPResponse.swift:87:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
 85 |     /// Headers received into the response.
 86 |     open var headers: HTTPHeaders {
 87 |         httpResponse?.headers ?? HTTPHeaders()
    |                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
 88 |     }
 89 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:33: error: cannot find type 'URLRequest' in scope
56 |     ///             except when the server has responded to the initial request with a
57 |     ///             redirect to a different URL.
58 |     var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
   |                                 `- error: cannot find type 'URLRequest' in scope
59 |
60 |     // MARK: - Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPDataLoader/HTTPDataLoader+Response.swift:58:55: error: cannot find type 'URLRequest' in scope
56 |     ///             except when the server has responded to the initial request with a
57 |     ///             redirect to a different URL.
58 |     var urlRequests: (original: URLRequest?, current: URLRequest?) = (nil, nil)
   |                                                       `- error: cannot find type 'URLRequest' in scope
59 |
60 |     // MARK: - Initialization
[72/81] Compiling RealHTTP CredentialSecurity.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[73/81] Compiling RealHTTP SelfSignedCertsSecurity.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[74/81] Compiling RealHTTP Foundation+Extension.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[75/81] Compiling RealHTTP HTTPFormattable.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[76/81] Compiling RealHTTP ThreadSafeDictionary.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[77/81] Compiling RealHTTP URLRequest+Extension.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[78/81] Compiling RealHTTP HTTPCacheControl.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[79/81] Compiling RealHTTP HTTPContentType.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[80/81] Compiling RealHTTP HTTPError.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
[81/81] Compiling RealHTTP HTTPMethod.swift
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:49: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                 `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:24:80: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// authenticated session using the `URLSession`'s `URLAuthenticationChallenge`.
23 | public struct CredentialSecurity: HTTPSecurityService {
24 |     public typealias AuthenticationCallback = ((URLAuthenticationChallenge) -> URLCredential?)
   |                                                                                `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     // MARK: - Public Properties
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:45:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:42:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     // MARK: - Conformance
41 |
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:44:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
43 |                                  forRequest request: HTTPRequest,
44 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/HTTPSecurityService.swift:35:68: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |     func receiveChallenge(_ challenge: URLAuthenticationChallenge,
34 |                           forRequest request: HTTPRequest, task: URLSessionTask,
35 |                           completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
   |                                                                    `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
36 |
37 | }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:32: error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                `- error: cannot infer contextual base in reference to member 'rejectProtectionSpace'
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:47:55: error: 'nil' requires a contextual type
45 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
46 |         guard let cred = callback(challenge) else {
47 |             completionHandler(.rejectProtectionSpace, nil)
   |                                                       `- error: 'nil' requires a contextual type
48 |             return
49 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/CredentialSecurity.swift:51:28: error: cannot infer contextual base in reference to member 'useCredential'
49 |         }
50 |
51 |         completionHandler(.useCredential, cred)
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
52 |     }
53 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:32:75: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                           `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:29:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public struct SelfSignedCertsSecurity: HTTPSecurityService {
28 |
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
   |                                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:31:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     public func receiveChallenge(_ challenge: URLAuthenticationChallenge,
30 |                                  forRequest request: HTTPRequest,
31 |                                  task: URLSessionTask,
   |                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:33:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
31 |                                  task: URLSessionTask,
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
   |                                     `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
34 |             completionHandler(.useCredential, nil)
35 |             return
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:32: error: cannot infer contextual base in reference to member 'useCredential'
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                `- error: cannot infer contextual base in reference to member 'useCredential'
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:34:47: error: 'nil' requires a contextual type
32 |                                  completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
33 |         guard let trust = challenge.protectionSpace.serverTrust else {
34 |             completionHandler(.useCredential, nil)
   |                                               `- error: 'nil' requires a contextual type
35 |             return
36 |         }
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:28: error: cannot infer contextual base in reference to member 'useCredential'
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                            `- error: cannot infer contextual base in reference to member 'useCredential'
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/HTTPSecurity/Options/SelfSignedCertsSecurity.swift:38:43: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         }
37 |
38 |         completionHandler(.useCredential, URLCredential(trust: trust))
   |                                           `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     }
40 |
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/Foundation+Extension.swift:238:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
236 | // MARK: - URL
237 |
238 | extension URL: ExpressibleByStringLiteral {
    | |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
239 |
240 |     public init(stringLiteral value: StaticString) {
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:21:11: error: cannot find type 'URLRequest' in scope
 19 | import Foundation
 20 |
 21 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 22 |
 23 |     // MARK: - Additional Initialization
/host/spi-builder-workspace/Sources/RealHTTP/Client/Internal/Other Structures/Foundation+Extensions/URLRequest+Extension.swift:35:30: error: cannot find type 'URLRequest' in scope
 33 |     /// - Throws: throw an exception if url is not valid and cannot be converted to request.
 34 |     public init(url: URL, method: HTTPMethod,
 35 |                 cachePolicy: URLRequest.CachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 36 |                 timeout: TimeInterval,
 37 |                 headers: HTTPHeaders? = nil) throws {
BUILD FAILURE 6.3 linux