The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build MicroClient, reference main (033e31), with Swift 6.1 for Android on 6 Sep 2025 14:37:23 UTC.

Build Command

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

Build Log

27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
[16/31] Compiling MicroClient UserAgentInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
[17/31] Compiling MicroClient StdoutLogger.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
[18/31] Compiling MicroClient NetworkRequestInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // 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:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         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:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[19/31] Compiling MicroClient NetworkResponse.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // 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:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         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:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[20/31] Compiling MicroClient VoidRequest.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // 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:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         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:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[21/31] Compiling MicroClient Unwrap.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[22/31] Compiling MicroClient HTTPMethod.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[23/31] Compiling MicroClient APIKeyInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[24/31] Compiling MicroClient AcceptHeaderInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[25/31] Compiling MicroClient NetworkClient.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:66:25: error: cannot find type 'URLRequest' in scope
 64 |         }
 65 |
 66 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:68:30: error: cannot find 'URLRequest' in scope
 66 |         var urlRequest: URLRequest
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 69 |                 configuration: configuration,
 70 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:95:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         let data: Data
 95 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |
 97 |         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:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:100:27: error: 'nil' requires a contextual type
 98 |             (data, response) = try await configuration.session.data(
 99 |                 for: urlRequest,
100 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
101 |             )
102 |         } catch {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
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:108:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:112:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                     response: httpResponse,
116 |                     data: data
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     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.
18 |
19 |     /// 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:17:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
[26/31] Compiling MicroClient NetworkClientError.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:66:25: error: cannot find type 'URLRequest' in scope
 64 |         }
 65 |
 66 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:68:30: error: cannot find 'URLRequest' in scope
 66 |         var urlRequest: URLRequest
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 69 |                 configuration: configuration,
 70 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:95:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         let data: Data
 95 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |
 97 |         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:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:100:27: error: 'nil' requires a contextual type
 98 |             (data, response) = try await configuration.session.data(
 99 |                 for: urlRequest,
100 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
101 |             )
102 |         } catch {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
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:108:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:112:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                     response: httpResponse,
116 |                     data: data
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     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.
18 |
19 |     /// 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:17:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
[27/31] Compiling MicroClient NetworkConfiguration.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:66:25: error: cannot find type 'URLRequest' in scope
 64 |         }
 65 |
 66 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:68:30: error: cannot find 'URLRequest' in scope
 66 |         var urlRequest: URLRequest
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 69 |                 configuration: configuration,
 70 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:95:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         let data: Data
 95 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |
 97 |         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:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:100:27: error: 'nil' requires a contextual type
 98 |             (data, response) = try await configuration.session.data(
 99 |                 for: urlRequest,
100 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
101 |             )
102 |         } catch {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
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:108:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:112:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                     response: httpResponse,
116 |                     data: data
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     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.
18 |
19 |     /// 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:17:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
[28/31] Compiling MicroClient BasicAuthInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
[29/31] Compiling MicroClient BearerAuthorizationInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
[30/31] Compiling MicroClient CacheControlInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
[31/31] Compiling MicroClient ContentTypeInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/27] Emitting module MicroClient
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
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:19:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
20 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     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.
18 |
19 |     /// 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:17:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // 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:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         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:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[3/30] Compiling MicroClient NetworkRequestInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // 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:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         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:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[4/30] Compiling MicroClient NetworkResponse.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // 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:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         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:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[5/30] Compiling MicroClient VoidRequest.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // 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:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         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:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[6/30] Compiling MicroClient Unwrap.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[7/30] Compiling MicroClient HTTPMethod.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[8/30] Compiling MicroClient APIKeyInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[9/30] Compiling MicroClient AcceptHeaderInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:66: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/APIKeyInterceptor.swift:30:38: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Public
29 |
30 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
31 |         var newRequest = request
32 |         newRequest.setValue(apiKey, forHTTPHeaderField: headerName)
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/AcceptHeaderInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         newRequest.setValue(acceptType, forHTTPHeaderField: "Accept")
[10/30] Compiling MicroClient RequestIDInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
[11/30] Compiling MicroClient TimeoutInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
[12/30] Compiling MicroClient UserAgentInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
[13/30] Compiling MicroClient StdoutLogger.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
[14/30] Compiling MicroClient BasicAuthInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
[15/30] Compiling MicroClient BearerAuthorizationInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
[16/30] Compiling MicroClient CacheControlInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
[17/30] Compiling MicroClient ContentTypeInterceptor.swift
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BasicAuthInterceptor.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 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:66: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/BearerAuthorizationInterceptor.swift:27:38: error: cannot find type 'URLRequest' in scope
25 |     // MARK: - Public
26 |
27 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
28 |         var newRequest = request
29 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
[18/30] Compiling MicroClient NetworkLogLevel.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
[19/30] Compiling MicroClient NetworkLogger.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
[20/30] Compiling MicroClient NetworkRequest.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
[21/30] Compiling MicroClient NetworkClient.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:66:25: error: cannot find type 'URLRequest' in scope
 64 |         }
 65 |
 66 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:68:30: error: cannot find 'URLRequest' in scope
 66 |         var urlRequest: URLRequest
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 69 |                 configuration: configuration,
 70 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:95:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         let data: Data
 95 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |
 97 |         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:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:100:27: error: 'nil' requires a contextual type
 98 |             (data, response) = try await configuration.session.data(
 99 |                 for: urlRequest,
100 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
101 |             )
102 |         } catch {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
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:108:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:112:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                     response: httpResponse,
116 |                     data: data
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     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.
18 |
19 |     /// 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:17:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
[22/30] Compiling MicroClient NetworkClientError.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:66:25: error: cannot find type 'URLRequest' in scope
 64 |         }
 65 |
 66 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:68:30: error: cannot find 'URLRequest' in scope
 66 |         var urlRequest: URLRequest
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 69 |                 configuration: configuration,
 70 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:95:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         let data: Data
 95 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |
 97 |         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:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:100:27: error: 'nil' requires a contextual type
 98 |             (data, response) = try await configuration.session.data(
 99 |                 for: urlRequest,
100 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
101 |             )
102 |         } catch {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
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:108:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:112:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                     response: httpResponse,
116 |                     data: data
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     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.
18 |
19 |     /// 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:17:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
[23/30] Compiling MicroClient NetworkConfiguration.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:66:25: error: cannot find type 'URLRequest' in scope
 64 |         }
 65 |
 66 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:68:30: error: cannot find 'URLRequest' in scope
 66 |         var urlRequest: URLRequest
 67 |         do {
 68 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 69 |                 configuration: configuration,
 70 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:59: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                                                           `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkRequestInterceptor.swift:14:31: error: cannot find type 'URLRequest' in scope
12 |     /// - Returns: A potentially modified `URLRequest`.
13 |     /// - Throws: An error if the interception process fails. Throwing an error will cancel the entire request.
14 |     func intercept(_ request: URLRequest) async throws -> URLRequest
   |                               `- error: cannot find type 'URLRequest' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:95:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         let data: Data
 95 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |
 97 |         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:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:100:27: error: 'nil' requires a contextual type
 98 |             (data, response) = try await configuration.session.data(
 99 |                 for: urlRequest,
100 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
101 |             )
102 |         } catch {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:107:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |         }
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
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:108:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
107 |         if let httpResponse = response as? HTTPURLResponse {
108 |             log(.info, "Response: \(httpResponse.statusCode)")
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:112:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |
111 |             guard (200...299).contains(httpResponse.statusCode) else {
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
113 |                 throw NetworkClientError.unacceptableStatusCode(
114 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                     response: httpResponse,
116 |                     data: data
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     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.
18 |
19 |     /// 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:17:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
[24/30] Compiling MicroClient URLComponents.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
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:19:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
20 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:8:17: error: cannot find type 'URLRequest' in scope
 6 |         configuration: NetworkConfiguration,
 7 |         networkRequest: NetworkRequest<some Any, some Any>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[25/30] Compiling MicroClient URLRequest.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
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:19:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
20 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:8:17: error: cannot find type 'URLRequest' in scope
 6 |         configuration: NetworkConfiguration,
 7 |         networkRequest: NetworkRequest<some Any, some Any>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[26/30] Compiling MicroClient URLResponse.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
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:19:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
20 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:8:17: error: cannot find type 'URLRequest' in scope
 6 |         configuration: NetworkConfiguration,
 7 |         networkRequest: NetworkRequest<some Any, some Any>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[27/30] Compiling MicroClient URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     /// Returns the HTTP Header value for "Location". Default: `nil`.
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |     /// - Returns: A tuple containing the response data and URLResponse.
11 |     func data(
12 |         for request: URLRequest,
   |                      `- error: cannot find type 'URLRequest' in scope
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:13:19: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func data(
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
   |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async throws -> (Data, URLResponse)
15 | }
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLSessionProtocol.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         for request: URLRequest,
13 |         delegate: URLSessionTaskDelegate?
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
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:19:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
20 |
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:8:17: error: cannot find type 'URLRequest' in scope
 6 |         configuration: NetworkConfiguration,
 7 |         networkRequest: NetworkRequest<some Any, some Any>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[28/30] Compiling MicroClient VoidResponse.swift
[29/30] Compiling MicroClient RetryStrategy.swift
[30/30] Compiling MicroClient URLFormItem.swift
BUILD FAILURE 6.1 android