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 0.0.24 (443c66), with Swift 6.2 (beta) for Linux on 5 Sep 2025 14:30:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/otaviocc/MicroClient.git
Reference: 0.0.24
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/otaviocc/MicroClient
 * tag               0.0.24     -> FETCH_HEAD
HEAD is now at 443c663 Adds More Interceptors (#19)
Cloned https://github.com/otaviocc/MicroClient.git
Revision (git rev-parse @):
443c663e399f440add32f1406a6a22e69dd2ac9c
SUCCESS checkout https://github.com/otaviocc/MicroClient.git at 0.0.24
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/otaviocc/MicroClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/28] 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<RequestModel, ResponseModel>(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:41:66: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:41:38: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         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:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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.
17 |
18 |     /// 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:16:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-Sendable type 'URLResponse' (aka 'AnyObject')
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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')
17 |
18 |     /// 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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/31] Compiling MicroClient VoidResponse.swift
[5/31] Compiling MicroClient RetryStrategy.swift
[6/31] Compiling MicroClient URLFormItem.swift
[7/31] 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<RequestModel, ResponseModel>(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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<RequestModel, ResponseModel>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[8/31] 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<RequestModel, ResponseModel>(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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<RequestModel, ResponseModel>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[9/31] 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<RequestModel, ResponseModel>(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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<RequestModel, ResponseModel>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[10/31] 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<RequestModel, ResponseModel>(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 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 [#NominalTypes]
17 | // MARK: - URLSession conformance
18 |
19 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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<RequestModel, ResponseModel>
 8 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
 9 |         let url = try URL.makeURL(
10 |             configuration: configuration,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[11/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
[12/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
[13/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
[14/31] 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 |
[15/31] 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 |
[16/31] 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 |
[17/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:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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.
17 |
18 |     /// 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:16:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-Sendable type 'URLResponse' (aka 'AnyObject')
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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')
17 |
18 |     /// The response body could not be decoded into the expected `Decodable` type.
[18/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:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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.
17 |
18 |     /// 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:16:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-Sendable type 'URLResponse' (aka 'AnyObject')
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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')
17 |
18 |     /// The response body could not be decoded into the expected `Decodable` type.
[19/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:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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.
17 |
18 |     /// 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:16:10: error: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' has non-Sendable type 'URLResponse' (aka 'AnyObject')
14 |     /// - `response`: The metadata associated with the HTTP response.
15 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
16 |     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')
17 |
18 |     /// The response body could not be decoded into the expected `Decodable` type.
[20/31] 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")
[21/31] 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")
[22/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")
[23/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")
[24/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")
[25/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")
[26/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")
[27/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")
[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:41:66: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:41:38: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         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:41:66: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:41:38: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         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:41:66: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:41:38: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         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:41:66: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:41:38: error: cannot find type 'URLRequest' in scope
39 |     // MARK: - Public
40 |
41 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
42 |         var newRequest = request
43 |         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 |
BUILD FAILURE 6.2 linux