The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build OktaClient, reference master (e31db3), with Swift 6.1 for Android on 27 Jun 2025 05:11:33 UTC.

Build Command

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

Build Log

305 |                            responseBody: data,
306 |                            date: date ?? Date(),
307 |                            statusCode: response.statusCode,
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
308 |                            links: relatedLinks(from: response.allHeaderFields["Link"] as? String),
309 |                            rateInfo: rateInfo,
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:308:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
306 |                            date: date ?? Date(),
307 |                            statusCode: response.statusCode,
308 |                            links: relatedLinks(from: response.allHeaderFields["Link"] as? String),
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
309 |                            rateInfo: rateInfo,
310 |                            requestId: requestId)
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClientError.swift:25:35: error: cannot find type 'URLRequest' in scope
 23 |
 24 |     /// No response received from the server.
 25 |     case missingResponse(request: URLRequest? = nil)
    |                                   `- error: cannot find type 'URLRequest' in scope
 26 |
 27 |     /// Did not receive an HTTP response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:42:22: error: cannot find type 'URLRequest' in scope
 40 |
 41 |     /// The HTTP request cache policy to use.
 42 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     /// The HTTP timeout interval.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:57:55: error: cannot find type 'URLRequest' in scope
 55 |     /// - Parameter client: The ``APIClient`` the request is being sent through.
 56 |     /// - Returns: URLRequest instance for this API request.
 57 |     func request(for client: any APIClient) throws -> URLRequest
    |                                                       `- error: cannot find type 'URLRequest' in scope
 58 |
 59 |     /// Asynchronously sends the request to the given ``APIClient``.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:134:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |     /// - Parameter response: The response returned from the server.
133 |     /// - Returns: The result that should be inferred from this response.
134 |     func resultType(from response: HTTPURLResponse) -> APIResponseResult
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 |     /// Generates an error response from an ``APIRequest`` result when an HTTP error occurs.
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/AuthFoundation/Network/APIRequest.swift:159:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |
158 |     @_documentation(visibility: private)
159 |     public func resultType(from response: HTTPURLResponse) -> APIResponseResult {
    |                                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         APIResponseResult(statusCode: response.statusCode)
161 |     }
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/AuthFoundation/Network/APIRequest.swift:190:29: error: cannot find type 'URLRequest' in scope
188 |     public var acceptsType: APIContentType? { nil }
189 |     public var contentType: APIContentType? { nil }
190 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalAndRemoteCacheData }
    |                             `- error: cannot find type 'URLRequest' in scope
191 |     public var timeoutInterval: TimeInterval { 60 }
192 |     public var authorization: (any APIAuthorization)? { nil }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:195:62: error: cannot find type 'URLRequest' in scope
193 |
194 |     public func body() throws -> Data? { nil }
195 |     public func request(for client: any APIClient) throws -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
196 |         guard var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
197 |         else {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:160:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 |     @_documentation(visibility: private)
159 |     public func resultType(from response: HTTPURLResponse) -> APIResponseResult {
160 |         APIResponseResult(statusCode: response.statusCode)
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |     }
162 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:207:23: error: cannot find 'URLRequest' in scope
205 |         }
206 |
207 |         var request = URLRequest(url: requestUrl,
    |                       `- error: cannot find 'URLRequest' in scope
208 |                                  cachePolicy: cachePolicy,
209 |                                  timeoutInterval: timeoutInterval)
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:267:20: error: cannot find 'URLRequest' in scope
265 |                 throw APIClientError.invalidRequestData
266 |             }
267 |             return URLRequest.oktaURLFormEncodedString(for: parameters)?.data(using: .utf8)
    |                    `- error: cannot find 'URLRequest' in scope
268 |         case .json:
269 |             var opts: JSONSerialization.WritingOptions = []
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:267:87: error: cannot infer contextual base in reference to member 'utf8'
265 |                 throw APIClientError.invalidRequestData
266 |             }
267 |             return URLRequest.oktaURLFormEncodedString(for: parameters)?.data(using: .utf8)
    |                                                                                       `- error: cannot infer contextual base in reference to member 'utf8'
268 |         case .json:
269 |             var opts: JSONSerialization.WritingOptions = []
/host/spi-builder-workspace/Sources/AuthFoundation/Network/Internal/FormDataExtensions.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | #endif
18 |
19 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
20 |     static func oktaURLFormEncodedString(for params: [String: any APIRequestArgument]) -> String? {
21 |         func escape(_ str: String) -> String {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/URLSessionProtocol.swift:22:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | @_documentation(visibility: internal)
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     var configuration: URLSessionConfiguration { get }
24 | }
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/AuthFoundation/Network/URLSessionProtocol.swift:23:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
23 |     var configuration: URLSessionConfiguration { get }
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | }
25 |
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/AuthFoundation/Network/URLSessionProtocol.swift:27:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
25 |
26 | @_documentation(visibility: internal)
27 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
28 | #if os(Linux)
29 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
[78/125] Compiling AuthFoundation Configuration.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:55:34: error: cannot find type 'URLRequest' in scope
 53 |
 54 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 55 |     func willSend(request: inout URLRequest)
    |                                  `- error: cannot find type 'URLRequest' in scope
 56 |
 57 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:58:27: error: cannot find type 'URLRequest' in scope
 56 |
 57 |     /// Invoked when a request fails.
 58 |     func didSend(request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                           `- error: cannot find type 'URLRequest' in scope
 59 |
 60 |     /// Invoked when a request receives an HTTP response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:61:27: error: cannot find type 'URLRequest' in scope
 59 |
 60 |     /// Invoked when a request receives an HTTP response.
 61 |     func didSend(request: URLRequest, received response: HTTPURLResponse)
    |                           `- error: cannot find type 'URLRequest' in scope
 62 |
 63 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:61:58: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |
 60 |     /// Invoked when a request receives an HTTP response.
 61 |     func didSend(request: URLRequest, received response: HTTPURLResponse)
    |                                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |
 63 |     /// Invoked when a request returns a successful response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:64:30: error: cannot find type 'URLRequest' in scope
 62 |
 63 |     /// Invoked when a request returns a successful response.
 64 |     func didSend<T>(request: URLRequest, received response: APIResponse<T>)
    |                              `- error: cannot find type 'URLRequest' in scope
 65 |
 66 |     /// Send the given URLRequest.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:67:40: error: cannot find type 'URLRequest' in scope
 65 |
 66 |     /// Send the given URLRequest.
 67 |     func send<T: Decodable>(_ request: URLRequest, parsing context: (any APIParsingContext)?) async throws -> APIResponse<T>
    |                                        `- error: cannot find type 'URLRequest' in scope
 68 |
 69 |     /// Provides the ``APIRetry`` configurations from the delegate in response to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:70:31: error: cannot find type 'URLRequest' in scope
 68 |
 69 |     /// Provides the ``APIRetry`` configurations from the delegate in response to a retry request.
 70 |     func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry
    |                               `- error: cannot find type 'URLRequest' in scope
 71 | }
 72 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |
 84 |     /// Invoked when a request returns a successful response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:92:68: error: cannot find type 'URLRequest' in scope
 90 |
 91 | extension APIClientDelegate {
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
    |                                                                    `- error: cannot find type 'URLRequest' in scope
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:93:61: error: cannot find type 'URLRequest' in scope
 91 | extension APIClientDelegate {
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
    |                                                             `- error: cannot find type 'URLRequest' in scope
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:94:61: error: cannot find type 'URLRequest' in scope
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
    |                                                             `- error: cannot find type 'URLRequest' in scope
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:94:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
    |                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
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/AuthFoundation/Network/APIClient.swift:95:64: error: cannot find type 'URLRequest' in scope
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
    |                                                                `- error: cannot find type 'URLRequest' in scope
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
 97 |         return .default
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:96:65: error: cannot find type 'URLRequest' in scope
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
    |                                                                 `- error: cannot find type 'URLRequest' in scope
 97 |         return .default
 98 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:115:30: error: cannot find type 'URLRequest' in scope
113 |         let type: APIRetry
114 |         let requestId: String?
115 |         let originalRequest: URLRequest
    |                              `- error: cannot find type 'URLRequest' in scope
116 |         let retryCount: Int
117 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:158:41: error: cannot find type 'URLRequest' in scope
156 |     }
157 |
158 |     public func willSend(request: inout URLRequest) {}
    |                                         `- error: cannot find type 'URLRequest' in scope
159 |
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:160:34: error: cannot find type 'URLRequest' in scope
158 |     public func willSend(request: inout URLRequest) {}
159 |
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
    |                                  `- error: cannot find type 'URLRequest' in scope
161 |
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:162:34: error: cannot find type 'URLRequest' in scope
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
161 |
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
    |                                  `- error: cannot find type 'URLRequest' in scope
163 |
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:162:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
161 |
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
    |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
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/AuthFoundation/Network/APIClient.swift:164:37: error: cannot find type 'URLRequest' in scope
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
163 |
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
    |                                     `- error: cannot find type 'URLRequest' in scope
165 |
166 |     public func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry { .default }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:166:38: error: cannot find type 'URLRequest' in scope
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
165 |
166 |     public func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry { .default }
    |                                      `- error: cannot find type 'URLRequest' in scope
167 |
168 |     // swiftlint:disable closure_body_length
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:169:36: error: cannot find type 'URLRequest' in scope
167 |
168 |     // swiftlint:disable closure_body_length
169 |     public func send<T>(_ request: URLRequest,
    |                                    `- error: cannot find type 'URLRequest' in scope
170 |                         parsing context: (any APIParsingContext)? = nil) async throws -> APIResponse<T>
171 |     {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:253:69: error: cannot find type 'URLRequest' in scope
251 |     // swiftlint:enable closure_body_length
252 |
253 |     private func addRetryHeadersToRequest(state: APIRetry.State) -> URLRequest {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
254 |         var request = state.originalRequest
255 |         if let requestId = state.requestId {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:287:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
285 |     }
286 |
287 |     private func validate<T>(data: Data, response: HTTPURLResponse, rateInfo: APIRateLimit?, parsing context: (any APIParsingContext)? = nil) throws -> APIResponse<T> {
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |         var requestId: String?
289 |         if let requestIdHeader = requestIdHeader {
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/AuthFoundation/Network/URLSessionProtocol.swift:22:28: error: cannot find type 'URLRequest' in scope
20 | @_documentation(visibility: internal)
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
23 |     var configuration: URLSessionConfiguration { get }
24 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:290:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
288 |         var requestId: String?
289 |         if let requestIdHeader = requestIdHeader {
290 |             requestId = response.allHeaderFields[requestIdHeader] as? String
    |                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
291 |         }
292 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:294:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
292 |
293 |         var date: Date?
294 |         if let dateString = response.allHeaderFields["Date"] as? String {
    |                                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
295 |             date = httpDateFormatter.date(from: dateString)
296 |         }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:307:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
305 |                            responseBody: data,
306 |                            date: date ?? Date(),
307 |                            statusCode: response.statusCode,
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
308 |                            links: relatedLinks(from: response.allHeaderFields["Link"] as? String),
309 |                            rateInfo: rateInfo,
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:308:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
306 |                            date: date ?? Date(),
307 |                            statusCode: response.statusCode,
308 |                            links: relatedLinks(from: response.allHeaderFields["Link"] as? String),
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
309 |                            rateInfo: rateInfo,
310 |                            requestId: requestId)
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClientError.swift:25:35: error: cannot find type 'URLRequest' in scope
 23 |
 24 |     /// No response received from the server.
 25 |     case missingResponse(request: URLRequest? = nil)
    |                                   `- error: cannot find type 'URLRequest' in scope
 26 |
 27 |     /// Did not receive an HTTP response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:42:22: error: cannot find type 'URLRequest' in scope
 40 |
 41 |     /// The HTTP request cache policy to use.
 42 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     /// The HTTP timeout interval.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:57:55: error: cannot find type 'URLRequest' in scope
 55 |     /// - Parameter client: The ``APIClient`` the request is being sent through.
 56 |     /// - Returns: URLRequest instance for this API request.
 57 |     func request(for client: any APIClient) throws -> URLRequest
    |                                                       `- error: cannot find type 'URLRequest' in scope
 58 |
 59 |     /// Asynchronously sends the request to the given ``APIClient``.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:134:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |     /// - Parameter response: The response returned from the server.
133 |     /// - Returns: The result that should be inferred from this response.
134 |     func resultType(from response: HTTPURLResponse) -> APIResponseResult
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 |     /// Generates an error response from an ``APIRequest`` result when an HTTP error occurs.
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/AuthFoundation/Network/APIRequest.swift:159:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |
158 |     @_documentation(visibility: private)
159 |     public func resultType(from response: HTTPURLResponse) -> APIResponseResult {
    |                                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         APIResponseResult(statusCode: response.statusCode)
161 |     }
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/AuthFoundation/Network/APIRequest.swift:190:29: error: cannot find type 'URLRequest' in scope
188 |     public var acceptsType: APIContentType? { nil }
189 |     public var contentType: APIContentType? { nil }
190 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalAndRemoteCacheData }
    |                             `- error: cannot find type 'URLRequest' in scope
191 |     public var timeoutInterval: TimeInterval { 60 }
192 |     public var authorization: (any APIAuthorization)? { nil }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:195:62: error: cannot find type 'URLRequest' in scope
193 |
194 |     public func body() throws -> Data? { nil }
195 |     public func request(for client: any APIClient) throws -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
196 |         guard var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
197 |         else {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:160:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 |     @_documentation(visibility: private)
159 |     public func resultType(from response: HTTPURLResponse) -> APIResponseResult {
160 |         APIResponseResult(statusCode: response.statusCode)
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |     }
162 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:207:23: error: cannot find 'URLRequest' in scope
205 |         }
206 |
207 |         var request = URLRequest(url: requestUrl,
    |                       `- error: cannot find 'URLRequest' in scope
208 |                                  cachePolicy: cachePolicy,
209 |                                  timeoutInterval: timeoutInterval)
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:267:20: error: cannot find 'URLRequest' in scope
265 |                 throw APIClientError.invalidRequestData
266 |             }
267 |             return URLRequest.oktaURLFormEncodedString(for: parameters)?.data(using: .utf8)
    |                    `- error: cannot find 'URLRequest' in scope
268 |         case .json:
269 |             var opts: JSONSerialization.WritingOptions = []
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:267:87: error: cannot infer contextual base in reference to member 'utf8'
265 |                 throw APIClientError.invalidRequestData
266 |             }
267 |             return URLRequest.oktaURLFormEncodedString(for: parameters)?.data(using: .utf8)
    |                                                                                       `- error: cannot infer contextual base in reference to member 'utf8'
268 |         case .json:
269 |             var opts: JSONSerialization.WritingOptions = []
/host/spi-builder-workspace/Sources/AuthFoundation/Network/Internal/FormDataExtensions.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | #endif
18 |
19 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
20 |     static func oktaURLFormEncodedString(for params: [String: any APIRequestArgument]) -> String? {
21 |         func escape(_ str: String) -> String {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/URLSessionProtocol.swift:22:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | @_documentation(visibility: internal)
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     var configuration: URLSessionConfiguration { get }
24 | }
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/AuthFoundation/Network/URLSessionProtocol.swift:23:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
23 |     var configuration: URLSessionConfiguration { get }
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | }
25 |
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/AuthFoundation/Network/URLSessionProtocol.swift:27:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
25 |
26 | @_documentation(visibility: internal)
27 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
28 | #if os(Linux)
29 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
[79/125] Compiling AuthFoundation OAuth2Error+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:55:34: error: cannot find type 'URLRequest' in scope
 53 |
 54 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 55 |     func willSend(request: inout URLRequest)
    |                                  `- error: cannot find type 'URLRequest' in scope
 56 |
 57 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:58:27: error: cannot find type 'URLRequest' in scope
 56 |
 57 |     /// Invoked when a request fails.
 58 |     func didSend(request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                           `- error: cannot find type 'URLRequest' in scope
 59 |
 60 |     /// Invoked when a request receives an HTTP response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:61:27: error: cannot find type 'URLRequest' in scope
 59 |
 60 |     /// Invoked when a request receives an HTTP response.
 61 |     func didSend(request: URLRequest, received response: HTTPURLResponse)
    |                           `- error: cannot find type 'URLRequest' in scope
 62 |
 63 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:61:58: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |
 60 |     /// Invoked when a request receives an HTTP response.
 61 |     func didSend(request: URLRequest, received response: HTTPURLResponse)
    |                                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |
 63 |     /// Invoked when a request returns a successful response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:64:30: error: cannot find type 'URLRequest' in scope
 62 |
 63 |     /// Invoked when a request returns a successful response.
 64 |     func didSend<T>(request: URLRequest, received response: APIResponse<T>)
    |                              `- error: cannot find type 'URLRequest' in scope
 65 |
 66 |     /// Send the given URLRequest.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:67:40: error: cannot find type 'URLRequest' in scope
 65 |
 66 |     /// Send the given URLRequest.
 67 |     func send<T: Decodable>(_ request: URLRequest, parsing context: (any APIParsingContext)?) async throws -> APIResponse<T>
    |                                        `- error: cannot find type 'URLRequest' in scope
 68 |
 69 |     /// Provides the ``APIRetry`` configurations from the delegate in response to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:70:31: error: cannot find type 'URLRequest' in scope
 68 |
 69 |     /// Provides the ``APIRetry`` configurations from the delegate in response to a retry request.
 70 |     func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry
    |                               `- error: cannot find type 'URLRequest' in scope
 71 | }
 72 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |
 84 |     /// Invoked when a request returns a successful response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:92:68: error: cannot find type 'URLRequest' in scope
 90 |
 91 | extension APIClientDelegate {
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
    |                                                                    `- error: cannot find type 'URLRequest' in scope
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:93:61: error: cannot find type 'URLRequest' in scope
 91 | extension APIClientDelegate {
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
    |                                                             `- error: cannot find type 'URLRequest' in scope
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:94:61: error: cannot find type 'URLRequest' in scope
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
    |                                                             `- error: cannot find type 'URLRequest' in scope
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:94:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |     public func api(client: any APIClient, willSend request: inout URLRequest) {}
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
    |                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
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/AuthFoundation/Network/APIClient.swift:95:64: error: cannot find type 'URLRequest' in scope
 93 |     public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
    |                                                                `- error: cannot find type 'URLRequest' in scope
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
 97 |         return .default
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:96:65: error: cannot find type 'URLRequest' in scope
 94 |     public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
 95 |     public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
 96 |     public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
    |                                                                 `- error: cannot find type 'URLRequest' in scope
 97 |         return .default
 98 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:115:30: error: cannot find type 'URLRequest' in scope
113 |         let type: APIRetry
114 |         let requestId: String?
115 |         let originalRequest: URLRequest
    |                              `- error: cannot find type 'URLRequest' in scope
116 |         let retryCount: Int
117 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:158:41: error: cannot find type 'URLRequest' in scope
156 |     }
157 |
158 |     public func willSend(request: inout URLRequest) {}
    |                                         `- error: cannot find type 'URLRequest' in scope
159 |
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:160:34: error: cannot find type 'URLRequest' in scope
158 |     public func willSend(request: inout URLRequest) {}
159 |
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
    |                                  `- error: cannot find type 'URLRequest' in scope
161 |
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:162:34: error: cannot find type 'URLRequest' in scope
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
161 |
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
    |                                  `- error: cannot find type 'URLRequest' in scope
163 |
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:162:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |     public func didSend(request: URLRequest, received error: APIClientError) {}
161 |
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
    |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
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/AuthFoundation/Network/APIClient.swift:164:37: error: cannot find type 'URLRequest' in scope
162 |     public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
163 |
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
    |                                     `- error: cannot find type 'URLRequest' in scope
165 |
166 |     public func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry { .default }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:166:38: error: cannot find type 'URLRequest' in scope
164 |     public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
165 |
166 |     public func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry { .default }
    |                                      `- error: cannot find type 'URLRequest' in scope
167 |
168 |     // swiftlint:disable closure_body_length
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:169:36: error: cannot find type 'URLRequest' in scope
167 |
168 |     // swiftlint:disable closure_body_length
169 |     public func send<T>(_ request: URLRequest,
    |                                    `- error: cannot find type 'URLRequest' in scope
170 |                         parsing context: (any APIParsingContext)? = nil) async throws -> APIResponse<T>
171 |     {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:253:69: error: cannot find type 'URLRequest' in scope
251 |     // swiftlint:enable closure_body_length
252 |
253 |     private func addRetryHeadersToRequest(state: APIRetry.State) -> URLRequest {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
254 |         var request = state.originalRequest
255 |         if let requestId = state.requestId {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:287:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
285 |     }
286 |
287 |     private func validate<T>(data: Data, response: HTTPURLResponse, rateInfo: APIRateLimit?, parsing context: (any APIParsingContext)? = nil) throws -> APIResponse<T> {
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 |         var requestId: String?
289 |         if let requestIdHeader = requestIdHeader {
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/AuthFoundation/Network/URLSessionProtocol.swift:22:28: error: cannot find type 'URLRequest' in scope
20 | @_documentation(visibility: internal)
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
23 |     var configuration: URLSessionConfiguration { get }
24 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:290:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
288 |         var requestId: String?
289 |         if let requestIdHeader = requestIdHeader {
290 |             requestId = response.allHeaderFields[requestIdHeader] as? String
    |                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
291 |         }
292 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:294:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
292 |
293 |         var date: Date?
294 |         if let dateString = response.allHeaderFields["Date"] as? String {
    |                                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
295 |             date = httpDateFormatter.date(from: dateString)
296 |         }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:307:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
305 |                            responseBody: data,
306 |                            date: date ?? Date(),
307 |                            statusCode: response.statusCode,
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
308 |                            links: relatedLinks(from: response.allHeaderFields["Link"] as? String),
309 |                            rateInfo: rateInfo,
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:308:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
306 |                            date: date ?? Date(),
307 |                            statusCode: response.statusCode,
308 |                            links: relatedLinks(from: response.allHeaderFields["Link"] as? String),
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
309 |                            rateInfo: rateInfo,
310 |                            requestId: requestId)
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClientError.swift:25:35: error: cannot find type 'URLRequest' in scope
 23 |
 24 |     /// No response received from the server.
 25 |     case missingResponse(request: URLRequest? = nil)
    |                                   `- error: cannot find type 'URLRequest' in scope
 26 |
 27 |     /// Did not receive an HTTP response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:42:22: error: cannot find type 'URLRequest' in scope
 40 |
 41 |     /// The HTTP request cache policy to use.
 42 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     /// The HTTP timeout interval.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:57:55: error: cannot find type 'URLRequest' in scope
 55 |     /// - Parameter client: The ``APIClient`` the request is being sent through.
 56 |     /// - Returns: URLRequest instance for this API request.
 57 |     func request(for client: any APIClient) throws -> URLRequest
    |                                                       `- error: cannot find type 'URLRequest' in scope
 58 |
 59 |     /// Asynchronously sends the request to the given ``APIClient``.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:134:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |     /// - Parameter response: The response returned from the server.
133 |     /// - Returns: The result that should be inferred from this response.
134 |     func resultType(from response: HTTPURLResponse) -> APIResponseResult
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 |     /// Generates an error response from an ``APIRequest`` result when an HTTP error occurs.
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/AuthFoundation/Network/APIRequest.swift:159:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |
158 |     @_documentation(visibility: private)
159 |     public func resultType(from response: HTTPURLResponse) -> APIResponseResult {
    |                                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         APIResponseResult(statusCode: response.statusCode)
161 |     }
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/AuthFoundation/Network/APIRequest.swift:190:29: error: cannot find type 'URLRequest' in scope
188 |     public var acceptsType: APIContentType? { nil }
189 |     public var contentType: APIContentType? { nil }
190 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalAndRemoteCacheData }
    |                             `- error: cannot find type 'URLRequest' in scope
191 |     public var timeoutInterval: TimeInterval { 60 }
192 |     public var authorization: (any APIAuthorization)? { nil }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:195:62: error: cannot find type 'URLRequest' in scope
193 |
194 |     public func body() throws -> Data? { nil }
195 |     public func request(for client: any APIClient) throws -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
196 |         guard var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
197 |         else {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:160:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 |     @_documentation(visibility: private)
159 |     public func resultType(from response: HTTPURLResponse) -> APIResponseResult {
160 |         APIResponseResult(statusCode: response.statusCode)
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |     }
162 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:207:23: error: cannot find 'URLRequest' in scope
205 |         }
206 |
207 |         var request = URLRequest(url: requestUrl,
    |                       `- error: cannot find 'URLRequest' in scope
208 |                                  cachePolicy: cachePolicy,
209 |                                  timeoutInterval: timeoutInterval)
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:267:20: error: cannot find 'URLRequest' in scope
265 |                 throw APIClientError.invalidRequestData
266 |             }
267 |             return URLRequest.oktaURLFormEncodedString(for: parameters)?.data(using: .utf8)
    |                    `- error: cannot find 'URLRequest' in scope
268 |         case .json:
269 |             var opts: JSONSerialization.WritingOptions = []
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:267:87: error: cannot infer contextual base in reference to member 'utf8'
265 |                 throw APIClientError.invalidRequestData
266 |             }
267 |             return URLRequest.oktaURLFormEncodedString(for: parameters)?.data(using: .utf8)
    |                                                                                       `- error: cannot infer contextual base in reference to member 'utf8'
268 |         case .json:
269 |             var opts: JSONSerialization.WritingOptions = []
/host/spi-builder-workspace/Sources/AuthFoundation/Network/Internal/FormDataExtensions.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | #endif
18 |
19 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
20 |     static func oktaURLFormEncodedString(for params: [String: any APIRequestArgument]) -> String? {
21 |         func escape(_ str: String) -> String {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/URLSessionProtocol.swift:22:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | @_documentation(visibility: internal)
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     var configuration: URLSessionConfiguration { get }
24 | }
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/AuthFoundation/Network/URLSessionProtocol.swift:23:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | public protocol URLSessionProtocol: Sendable {
22 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
23 |     var configuration: URLSessionConfiguration { get }
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | }
25 |
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/AuthFoundation/Network/URLSessionProtocol.swift:27:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
25 |
26 | @_documentation(visibility: internal)
27 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
28 | #if os(Linux)
29 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
[80/125] Compiling AuthFoundation CredentialDataSource.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[81/125] Compiling AuthFoundation CredentialDataSourceDelegate.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[82/125] Compiling AuthFoundation CredentialError.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[83/125] Compiling AuthFoundation CredentialSecurity.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[84/125] Compiling AuthFoundation Credential+Internal.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[85/125] Compiling AuthFoundation CredentialCoordinatorImpl.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[86/125] Compiling AuthFoundation CredentialSecurity+Internal.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[87/125] Compiling AuthFoundation DefaultCredentialDataSource.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[88/125] Compiling AuthFoundation APIRequestPollingHandler.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[89/125] Compiling AuthFoundation AdditionalValuesCodingKeys.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[90/125] Compiling AuthFoundation AsyncUtilities.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[91/125] Compiling AuthFoundation BackgroundTaskWrapper.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[92/125] Compiling AuthFoundation Bundle+AuthFoundation.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[93/125] Compiling AuthFoundation CoalescedResult.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[94/125] Compiling AuthFoundation Data+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
[95/125] Compiling AuthFoundation APIRequestObserver.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[96/125] Compiling AuthFoundation OAuth2Client+Deprecations.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[97/125] Compiling AuthFoundation AuthenticationMethod.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[98/125] Compiling AuthFoundation JWK+Enums.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[99/125] Compiling AuthFoundation JWTClaim.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[100/125] Compiling AuthFoundation Claim+ValueExtensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[101/125] Compiling AuthFoundation ClaimConvertable+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[102/125] Compiling AuthFoundation JWK+EnumExtensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[103/125] Compiling AuthFoundation JWTClaim+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[104/125] Compiling AuthFoundation Claim+Internal.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[105/125] Compiling AuthFoundation Data+SigningExtensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[106/125] Compiling AuthFoundation DefaultIDTokenValidator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[107/125] Compiling AuthFoundation DefaultJWKValidator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[108/125] Compiling AuthFoundation DefaultTokenHashValidator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[109/125] Compiling AuthFoundation JWK+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[110/125] Compiling AuthFoundation JWK+Verification.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
[111/125] Compiling AuthFoundation DelegateCollection.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[112/125] Compiling AuthFoundation Dictionary+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[113/125] Compiling AuthFoundation Expires.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[114/125] Compiling AuthFoundation JSONCoding.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[115/125] Compiling AuthFoundation JSONDecodable.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[116/125] Compiling AuthFoundation JSONValue.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[117/125] Compiling AuthFoundation Lock.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[118/125] Compiling AuthFoundation LockedValue.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[119/125] Compiling AuthFoundation String+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[120/125] Compiling AuthFoundation TimeCoordinator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[121/125] Compiling AuthFoundation URL+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[122/125] Compiling AuthFoundation URL+InternalExtensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[123/125] Compiling AuthFoundation WeakCollection.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[124/125] Compiling AuthFoundation Version+AuthFoundation.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[125/125] Compiling AuthFoundation resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
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/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
BUILD FAILURE 6.1 android