The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MicroClient, reference main (687cec), with Swift 6.3 for Linux on 17 Apr 2026 14:58:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/otaviocc/MicroClient.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/otaviocc/MicroClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 687cec2 Add MIT license to source code (#30)
Cloned https://github.com/otaviocc/MicroClient.git
Revision (git rev-parse @):
687cec26519352611b079bccb9f581b1dd23fedf
SUCCESS checkout https://github.com/otaviocc/MicroClient.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/otaviocc/MicroClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/32] Emitting module MicroClient
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:25:11: error: cannot find type 'URLRequest' in scope
23 | import Foundation
24 |
25 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
26 |
27 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:25:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | import Foundation
24 |
25 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:36:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
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/MicroClient/Extensions/URLSessionProtocol.swift:41:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | // MARK: - URLSession conformance
40 |
41 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
42 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:66: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:38: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:66: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:38: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:66: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:38: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:66: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:38: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:66: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:38: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:66: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:38: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:39:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
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/MicroClient/NetworkClientError.swift:39:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:35:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     // MARK: - Life cycle
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/MicroClient/NetworkResponse.swift:41:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 |     public init(
40 |         value: ResponseModel,
41 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     ) {
43 |         self.value = value
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/MicroClient/NetworkResponse.swift:35:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
36 |
37 |     // MARK: - Life cycle
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/36] Compiling MicroClient HTTPMethod.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:66: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:38: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:66: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:38: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
[5/36] Compiling MicroClient APIKeyInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:66: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:38: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:66: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:38: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
[6/36] Compiling MicroClient AcceptHeaderInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:66: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:38: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:66: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:38: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
[7/36] Compiling MicroClient BasicAuthInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:66: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:52:38: error: cannot find type 'URLRequest' in scope
50 |     // MARK: - Public
51 |
52 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
53 |         var newRequest = request
54 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:66: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.swift:69:38: error: cannot find type 'URLRequest' in scope
67 |     // MARK: - Public
68 |
69 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
70 |         var newRequest = request
71 |
[8/36] Compiling MicroClient NetworkClientError.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:39:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
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/MicroClient/NetworkClientError.swift:39:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
[9/36] Compiling MicroClient NetworkConfiguration.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:39:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
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/MicroClient/NetworkClientError.swift:39:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
[10/36] Compiling MicroClient NetworkLogLevel.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:39:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
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/MicroClient/NetworkClientError.swift:39:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
[11/36] Compiling MicroClient NetworkLogger.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:39:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
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/MicroClient/NetworkClientError.swift:39:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
37 |     /// - `response`: The metadata associated with the HTTP response.
38 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
39 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'AnyObject'
40 |
41 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
[12/36] Compiling MicroClient TimeoutInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:66: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:38: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:66: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:38: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:85:25: error: cannot find type 'URLRequest' in scope
 83 |         }
 84 |
 85 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:87:30: error: cannot find 'URLRequest' in scope
 85 |         var urlRequest: URLRequest
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 88 |                 configuration: configuration,
 89 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |         let data: Data
114 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |         do {
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/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:119:27: error: 'nil' requires a contextual type
117 |             (data, response) = try await configuration.session.data(
118 |                 for: urlRequest,
119 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
120 |             )
121 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
129 |             log(
130 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |             log(
130 |                 .info,
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/MicroClient/NetworkClient.swift:131:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |             log(
130 |                 .info,
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:133:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:135:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:136:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:138:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
139 |                     response: httpResponse,
140 |                     data: data
[13/36] Compiling MicroClient UserAgentInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:66: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:38: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:66: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:38: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:85:25: error: cannot find type 'URLRequest' in scope
 83 |         }
 84 |
 85 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:87:30: error: cannot find 'URLRequest' in scope
 85 |         var urlRequest: URLRequest
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 88 |                 configuration: configuration,
 89 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |         let data: Data
114 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |         do {
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/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:119:27: error: 'nil' requires a contextual type
117 |             (data, response) = try await configuration.session.data(
118 |                 for: urlRequest,
119 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
120 |             )
121 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
129 |             log(
130 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |             log(
130 |                 .info,
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/MicroClient/NetworkClient.swift:131:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |             log(
130 |                 .info,
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:133:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:135:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:136:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:138:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
139 |                     response: httpResponse,
140 |                     data: data
[14/36] Compiling MicroClient StdoutLogger.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:66: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:38: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:66: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:38: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:85:25: error: cannot find type 'URLRequest' in scope
 83 |         }
 84 |
 85 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:87:30: error: cannot find 'URLRequest' in scope
 85 |         var urlRequest: URLRequest
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 88 |                 configuration: configuration,
 89 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |         let data: Data
114 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |         do {
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/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:119:27: error: 'nil' requires a contextual type
117 |             (data, response) = try await configuration.session.data(
118 |                 for: urlRequest,
119 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
120 |             )
121 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
129 |             log(
130 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |             log(
130 |                 .info,
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/MicroClient/NetworkClient.swift:131:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |             log(
130 |                 .info,
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:133:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:135:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:136:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:138:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
139 |                     response: httpResponse,
140 |                     data: data
[15/36] Compiling MicroClient NetworkClient.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:66: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:47:38: error: cannot find type 'URLRequest' in scope
45 |     // MARK: - Public
46 |
47 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
48 |         var newRequest = request
49 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:66: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:55:38: error: cannot find type 'URLRequest' in scope
53 |     // MARK: - Public
54 |
55 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
56 |         var newRequest = request
57 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:85:25: error: cannot find type 'URLRequest' in scope
 83 |         }
 84 |
 85 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:87:30: error: cannot find 'URLRequest' in scope
 85 |         var urlRequest: URLRequest
 86 |         do {
 87 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 88 |                 configuration: configuration,
 89 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |         let data: Data
114 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |         do {
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/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:119:27: error: 'nil' requires a contextual type
117 |             (data, response) = try await configuration.session.data(
118 |                 for: urlRequest,
119 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
120 |             )
121 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
129 |             log(
130 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:128:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |         }
127 |
128 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |             log(
130 |                 .info,
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/MicroClient/NetworkClient.swift:131:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |             log(
130 |                 .info,
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:133:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
131 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
132 |             )
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:135:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:136:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
134 |
135 |             guard (200...299).contains(httpResponse.statusCode) else {
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:138:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
136 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
137 |                 throw NetworkClientError.unacceptableStatusCode(
138 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
139 |                     response: httpResponse,
140 |                     data: data
[16/36] Compiling MicroClient VoidRequest.swift
[17/36] Compiling MicroClient VoidResponse.swift
[18/36] Compiling MicroClient RetryStrategy.swift
[19/36] Compiling MicroClient URLFormItem.swift
[20/36] Compiling MicroClient NetworkRequest.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:35:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     // MARK: - Life cycle
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/MicroClient/NetworkResponse.swift:41:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 |     public init(
40 |         value: ResponseModel,
41 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     ) {
43 |         self.value = value
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/MicroClient/NetworkResponse.swift:35:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
36 |
37 |     // MARK: - Life cycle
[21/36] Compiling MicroClient NetworkRequestInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:35:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     // MARK: - Life cycle
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/MicroClient/NetworkResponse.swift:41:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 |     public init(
40 |         value: ResponseModel,
41 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     ) {
43 |         self.value = value
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/MicroClient/NetworkResponse.swift:35:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
36 |
37 |     // MARK: - Life cycle
[22/36] Compiling MicroClient NetworkResponse.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:35:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     // MARK: - Life cycle
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/MicroClient/NetworkResponse.swift:41:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 |     public init(
40 |         value: ResponseModel,
41 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     ) {
43 |         self.value = value
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/MicroClient/NetworkResponse.swift:35:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
36 |
37 |     // MARK: - Life cycle
[23/36] Compiling MicroClient NetworkResponseInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:35:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     // MARK: - Life cycle
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/MicroClient/NetworkResponse.swift:41:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 |     public init(
40 |         value: ResponseModel,
41 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     ) {
43 |         self.value = value
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/MicroClient/NetworkResponse.swift:35:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
33 |
34 |     /// The network response.
35 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'AnyObject'
36 |
37 |     // MARK: - Life cycle
[24/36] Compiling MicroClient RequestIDInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             logger.log(
54 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             logger.log(
54 |                 level: logLevel,
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/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:55:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
53 |             logger.log(
54 |                 level: logLevel,
55 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
56 |             )
57 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:59:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
57 |             logger.log(
58 |                 level: logLevel,
59 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
60 |             )
61 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 69 |             return response
 70 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |             return response
 70 |         }
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/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:78:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 76 |
 77 |         // Parse Retry-After header
 78 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 79 |             return response
 80 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:86:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             throw RetryAfterError(
 85 |                 retryAfterSeconds: seconds,
 86 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 87 |             )
 88 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:99:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |             throw RetryAfterError(
 98 |                 retryAfterDate: date,
 99 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
100 |             )
101 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |             return response
68 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |             return response
68 |         }
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/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:70:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:72:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |                 response: httpResponse,
74 |                 data: data
[25/36] Compiling MicroClient ResponseLoggingInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             logger.log(
54 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             logger.log(
54 |                 level: logLevel,
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/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:55:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
53 |             logger.log(
54 |                 level: logLevel,
55 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
56 |             )
57 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:59:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
57 |             logger.log(
58 |                 level: logLevel,
59 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
60 |             )
61 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 69 |             return response
 70 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |             return response
 70 |         }
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/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:78:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 76 |
 77 |         // Parse Retry-After header
 78 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 79 |             return response
 80 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:86:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             throw RetryAfterError(
 85 |                 retryAfterSeconds: seconds,
 86 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 87 |             )
 88 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:99:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |             throw RetryAfterError(
 98 |                 retryAfterDate: date,
 99 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
100 |             )
101 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |             return response
68 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |             return response
68 |         }
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/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:70:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:72:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |                 response: httpResponse,
74 |                 data: data
[26/36] Compiling MicroClient RetryAfterInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             logger.log(
54 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             logger.log(
54 |                 level: logLevel,
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/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:55:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
53 |             logger.log(
54 |                 level: logLevel,
55 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
56 |             )
57 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:59:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
57 |             logger.log(
58 |                 level: logLevel,
59 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
60 |             )
61 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 69 |             return response
 70 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |             return response
 70 |         }
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/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:78:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 76 |
 77 |         // Parse Retry-After header
 78 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 79 |             return response
 80 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:86:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             throw RetryAfterError(
 85 |                 retryAfterSeconds: seconds,
 86 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 87 |             )
 88 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:99:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |             throw RetryAfterError(
 98 |                 retryAfterDate: date,
 99 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
100 |             )
101 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |             return response
68 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |             return response
68 |         }
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/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:70:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:72:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |                 response: httpResponse,
74 |                 data: data
[27/36] Compiling MicroClient StatusCodeValidationInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             logger.log(
54 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:52:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         _ data: Data
51 |     ) async throws -> NetworkResponse<ResponseModel> {
52 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             logger.log(
54 |                 level: logLevel,
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/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:55:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
53 |             logger.log(
54 |                 level: logLevel,
55 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
56 |             )
57 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:59:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
57 |             logger.log(
58 |                 level: logLevel,
59 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
60 |             )
61 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 69 |             return response
 70 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:68:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         _ data: Data
 67 |     ) async throws -> NetworkResponse<ResponseModel> {
 68 |         guard let httpResponse = response.response as? HTTPURLResponse else {
    |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |             return response
 70 |         }
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/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:73:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 71 |
 72 |         // Check for rate limit or service unavailable status codes
 73 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
    |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 74 |             return response
 75 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:78:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 76 |
 77 |         // Parse Retry-After header
 78 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 79 |             return response
 80 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:86:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             throw RetryAfterError(
 85 |                 retryAfterSeconds: seconds,
 86 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 87 |             )
 88 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:99:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |             throw RetryAfterError(
 98 |                 retryAfterDate: date,
 99 |                 statusCode: httpResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
100 |             )
101 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |             return response
68 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:66:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |         _ data: Data
65 |     ) async throws -> NetworkResponse<ResponseModel> {
66 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |             return response
68 |         }
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/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:70:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:72:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
71 |             throw NetworkClientError.unacceptableStatusCode(
72 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |                 response: httpResponse,
74 |                 data: data
[28/36] Compiling MicroClient BearerAuthorizationInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:66: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:38: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:66: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:38: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 92 |
 93 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |         let metrics = ResponseMetrics(
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/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:94:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |
 93 |         let metrics = ResponseMetrics(
 94 |             statusCode: httpResponse?.statusCode,
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:96:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 94 |             statusCode: httpResponse?.statusCode,
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
 98 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:97:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 98 |         )
 99 |
[29/36] Compiling MicroClient CacheControlInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:66: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:38: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:66: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:38: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 92 |
 93 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |         let metrics = ResponseMetrics(
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/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:94:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |
 93 |         let metrics = ResponseMetrics(
 94 |             statusCode: httpResponse?.statusCode,
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:96:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 94 |             statusCode: httpResponse?.statusCode,
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
 98 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:97:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 98 |         )
 99 |
[30/36] Compiling MicroClient ContentTypeInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:66: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:38: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:66: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:38: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 92 |
 93 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |         let metrics = ResponseMetrics(
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/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:94:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |
 93 |         let metrics = ResponseMetrics(
 94 |             statusCode: httpResponse?.statusCode,
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:96:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 94 |             statusCode: httpResponse?.statusCode,
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
 98 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:97:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 98 |         )
 99 |
[31/36] Compiling MicroClient MetricsCollectionInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:66: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:49:38: error: cannot find type 'URLRequest' in scope
47 |     // MARK: - Public
48 |
49 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
50 |         var newRequest = request
51 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:59: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:36:31: error: cannot find type 'URLRequest' in scope
34 |     /// - Returns: A potentially modified `URLRequest`.
35 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
36 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:66: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:64:38: error: cannot find type 'URLRequest' in scope
62 |     // MARK: - Public
63 |
64 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
65 |         var newRequest = request
66 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:66: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:48:38: error: cannot find type 'URLRequest' in scope
46 |     // MARK: - Public
47 |
48 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
49 |         var newRequest = request
50 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 92 |
 93 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:91:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         _ data: Data
 90 |     ) async throws -> NetworkResponse<ResponseModel> {
 91 |         let httpResponse = response.response as? HTTPURLResponse
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |         let metrics = ResponseMetrics(
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/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:94:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |
 93 |         let metrics = ResponseMetrics(
 94 |             statusCode: httpResponse?.statusCode,
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:96:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 94 |             statusCode: httpResponse?.statusCode,
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
 98 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:97:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 95 |             responseSize: data.count,
 96 |             url: httpResponse?.url,
 97 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 98 |         )
 99 |
[32/36] Compiling MicroClient URLComponents.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:25:11: error: cannot find type 'URLRequest' in scope
23 | import Foundation
24 |
25 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
26 |
27 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:25:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | import Foundation
24 |
25 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:36:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
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/MicroClient/Extensions/URLSessionProtocol.swift:41:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | // MARK: - URLSession conformance
40 |
41 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
42 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:30:17: error: cannot find type 'URLRequest' in scope
28 |         configuration: NetworkConfiguration,
29 |         networkRequest: NetworkRequest<some Any, some Any>
30 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
31 |         let url = try URL.makeURL(
32 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[33/36] Compiling MicroClient URLRequest.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:25:11: error: cannot find type 'URLRequest' in scope
23 | import Foundation
24 |
25 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
26 |
27 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:25:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | import Foundation
24 |
25 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:36:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
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/MicroClient/Extensions/URLSessionProtocol.swift:41:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | // MARK: - URLSession conformance
40 |
41 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
42 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:30:17: error: cannot find type 'URLRequest' in scope
28 |         configuration: NetworkConfiguration,
29 |         networkRequest: NetworkRequest<some Any, some Any>
30 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
31 |         let url = try URL.makeURL(
32 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[34/36] Compiling MicroClient URLResponse.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:25:11: error: cannot find type 'URLRequest' in scope
23 | import Foundation
24 |
25 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
26 |
27 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:25:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | import Foundation
24 |
25 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:36:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
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/MicroClient/Extensions/URLSessionProtocol.swift:41:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | // MARK: - URLSession conformance
40 |
41 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
42 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:30:17: error: cannot find type 'URLRequest' in scope
28 |         configuration: NetworkConfiguration,
29 |         networkRequest: NetworkRequest<some Any, some Any>
30 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
31 |         let url = try URL.makeURL(
32 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[35/36] Compiling MicroClient URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:25:11: error: cannot find type 'URLRequest' in scope
23 | import Foundation
24 |
25 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
26 |
27 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:25:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | import Foundation
24 |
25 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:36:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
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/MicroClient/Extensions/URLSessionProtocol.swift:41:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | // MARK: - URLSession conformance
40 |
41 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
42 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:30:17: error: cannot find type 'URLRequest' in scope
28 |         configuration: NetworkConfiguration,
29 |         networkRequest: NetworkRequest<some Any, some Any>
30 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
31 |         let url = try URL.makeURL(
32 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[36/36] Compiling MicroClient Unwrap.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:25:11: error: cannot find type 'URLRequest' in scope
23 | import Foundation
24 |
25 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
26 |
27 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:25:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | import Foundation
24 |
25 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:34:22: error: cannot find type 'URLRequest' in scope
32 |     /// - Returns: A tuple containing the response data and URLResponse.
33 |     func data(
34 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:35:19: error: cannot find type 'URLSessionTaskDelegate' in scope
33 |     func data(
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
36 |     ) async throws -> (Data, URLResponse)
37 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:36:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |         for request: URLRequest,
35 |         delegate: URLSessionTaskDelegate?
36 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
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/MicroClient/Extensions/URLSessionProtocol.swift:41:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
39 | // MARK: - URLSession conformance
40 |
41 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
42 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:30:17: error: cannot find type 'URLRequest' in scope
28 |         configuration: NetworkConfiguration,
29 |         networkRequest: NetworkRequest<some Any, some Any>
30 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
31 |         let url = try URL.makeURL(
32 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 linux