The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MicroClient, reference 0.0.27 (794c20), with Swift 6.2 for Linux on 23 Nov 2025 15:04:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/otaviocc/MicroClient.git
Reference: 0.0.27
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.27     -> FETCH_HEAD
HEAD is now at 794c206 Update Release Action Key (#26)
Cloned https://github.com/otaviocc/MicroClient.git
Revision (git rev-parse @):
794c206d1bf811f085f3db08901dead0554437f7
SUCCESS checkout https://github.com/otaviocc/MicroClient.git at 0.0.27
========================================
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images: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:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
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
[3/32] Compiling MicroClient BearerAuthorizationInterceptor.swift
/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/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/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 |
71 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 |
71 |         let metrics = ResponseMetrics(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:72:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |
71 |         let metrics = ResponseMetrics(
72 |             statusCode: httpResponse?.statusCode,
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:74:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
72 |             statusCode: httpResponse?.statusCode,
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
76 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:75:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
76 |         )
77 |
[4/32] Compiling MicroClient CacheControlInterceptor.swift
/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/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/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 |
71 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 |
71 |         let metrics = ResponseMetrics(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:72:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |
71 |         let metrics = ResponseMetrics(
72 |             statusCode: httpResponse?.statusCode,
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:74:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
72 |             statusCode: httpResponse?.statusCode,
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
76 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:75:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
76 |         )
77 |
[5/32] Compiling MicroClient ContentTypeInterceptor.swift
/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/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/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 |
71 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 |
71 |         let metrics = ResponseMetrics(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:72:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |
71 |         let metrics = ResponseMetrics(
72 |             statusCode: httpResponse?.statusCode,
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:74:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
72 |             statusCode: httpResponse?.statusCode,
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
76 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:75:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
76 |         )
77 |
[6/32] Compiling MicroClient MetricsCollectionInterceptor.swift
/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/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/CacheControlInterceptor.swift:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
70 |
71 |         let metrics = ResponseMetrics(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:69:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |         _ data: Data
68 |     ) async throws -> NetworkResponse<ResponseModel> {
69 |         let httpResponse = response.response as? HTTPURLResponse
   |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 |
71 |         let metrics = ResponseMetrics(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:72:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 |
71 |         let metrics = ResponseMetrics(
72 |             statusCode: httpResponse?.statusCode,
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:74:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
72 |             statusCode: httpResponse?.statusCode,
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
76 |         )
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/MetricsCollectionInterceptor.swift:75:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
73 |             responseSize: data.count,
74 |             url: httpResponse?.url,
75 |             httpMethod: httpResponse?.value(forHTTPHeaderField: "X-HTTP-Method")
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
76 |         )
77 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/36] Emitting module MicroClient
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#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:42:66: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/CacheControlInterceptor.swift:42:38: error: cannot find type 'URLRequest' in scope
40 |     // MARK: - Public
41 |
42 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
43 |         var newRequest = request
44 |         newRequest.setValue(policy.headerValue, forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ContentTypeInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:66: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RequestIDInterceptor.swift:26:38: error: cannot find type 'URLRequest' in scope
24 |     // MARK: - Public
25 |
26 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
27 |         var newRequest = request
28 |         let requestID = UUID().uuidString
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:66: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/TimeoutInterceptor.swift:25:38: error: cannot find type 'URLRequest' in scope
23 |     // MARK: - Public
24 |
25 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
26 |         var newRequest = request
27 |         newRequest.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:66: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                                                  `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/UserAgentInterceptor.swift:33:38: error: cannot find type 'URLRequest' in scope
31 |     // MARK: - Public
32 |
33 |     public func intercept(_ request: URLRequest) async throws -> URLRequest {
   |                                      `- error: cannot find type 'URLRequest' in scope
34 |         var newRequest = request
35 |         newRequest.setValue(userAgent, forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     // MARK: - Life cycle
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:19:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public init(
18 |         value: ResponseModel,
19 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     ) {
21 |         self.value = value
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkResponse.swift:13:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'URLResponse' (aka 'AnyObject')
11 |
12 |     /// The network response.
13 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'NetworkResponse' has non-Sendable type 'URLResponse' (aka 'AnyObject')
14 |
15 |     // MARK: - Life cycle
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[8/36] Compiling MicroClient URLComponents.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#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<some Any, some Any>
 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/36] Compiling MicroClient URLRequest.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#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<some Any, some Any>
 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/36] Compiling MicroClient URLResponse.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#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<some Any, some Any>
 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/36] Compiling MicroClient URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#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<some Any, some Any>
 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>
[12/36] Compiling MicroClient Unwrap.swift
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     static func makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/Extensions/URLResponse.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#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<some Any, some Any>
 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>
[13/36] Compiling MicroClient NetworkClientError.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/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/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 |
[14/36] Compiling MicroClient NetworkConfiguration.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/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/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/36] Compiling MicroClient NetworkLogLevel.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/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/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/36] Compiling MicroClient NetworkLogger.swift
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClientError.swift:17:10: warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
15 |     /// - `response`: The metadata associated with the HTTP response.
16 |     /// - `data`: The raw response body, which may contain more specific error details from the server.
17 |     case unacceptableStatusCode(statusCode: Int, response: URLResponse, data: Data?)
   |          `- warning: associated value 'unacceptableStatusCode(statusCode:response:data:)' of 'Sendable'-conforming enum 'NetworkClientError' contains non-Sendable type 'URLResponse' (aka 'AnyObject')
18 |
19 |     /// The response body could not be decoded into the expected `Decodable` type.
/host/spi-builder-workspace/Sources/MicroClient/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/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/36] 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/ResponseLoggingInterceptor.swift:30:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 |             logger.log(
32 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:30:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |             logger.log(
32 |                 level: logLevel,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:33:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 |             logger.log(
32 |                 level: logLevel,
33 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 |             )
35 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:37:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
35 |             logger.log(
36 |                 level: logLevel,
37 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
38 |             )
39 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
47 |             return response
48 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |             return response
48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:56:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
54 |
55 |         // Parse Retry-After header
56 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
57 |             return response
58 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:64:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             throw RetryAfterError(
63 |                 retryAfterSeconds: seconds,
64 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |             )
66 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:77:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
75 |             throw RetryAfterError(
76 |                 retryAfterDate: date,
77 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
78 |             )
79 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             return response
46 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             return response
46 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:48:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
46 |         }
47 |
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |                 response: httpResponse,
52 |                 data: data
[18/36] Compiling MicroClient ResponseLoggingInterceptor.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/ResponseLoggingInterceptor.swift:30:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 |             logger.log(
32 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:30:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |             logger.log(
32 |                 level: logLevel,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:33:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 |             logger.log(
32 |                 level: logLevel,
33 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 |             )
35 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:37:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
35 |             logger.log(
36 |                 level: logLevel,
37 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
38 |             )
39 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
47 |             return response
48 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |             return response
48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:56:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
54 |
55 |         // Parse Retry-After header
56 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
57 |             return response
58 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:64:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             throw RetryAfterError(
63 |                 retryAfterSeconds: seconds,
64 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |             )
66 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:77:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
75 |             throw RetryAfterError(
76 |                 retryAfterDate: date,
77 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
78 |             )
79 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             return response
46 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             return response
46 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:48:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
46 |         }
47 |
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |                 response: httpResponse,
52 |                 data: data
[19/36] Compiling MicroClient RetryAfterInterceptor.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/ResponseLoggingInterceptor.swift:30:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 |             logger.log(
32 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:30:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |             logger.log(
32 |                 level: logLevel,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:33:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 |             logger.log(
32 |                 level: logLevel,
33 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 |             )
35 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:37:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
35 |             logger.log(
36 |                 level: logLevel,
37 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
38 |             )
39 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
47 |             return response
48 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |             return response
48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:56:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
54 |
55 |         // Parse Retry-After header
56 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
57 |             return response
58 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:64:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             throw RetryAfterError(
63 |                 retryAfterSeconds: seconds,
64 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |             )
66 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:77:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
75 |             throw RetryAfterError(
76 |                 retryAfterDate: date,
77 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
78 |             )
79 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             return response
46 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             return response
46 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:48:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
46 |         }
47 |
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |                 response: httpResponse,
52 |                 data: data
[20/36] Compiling MicroClient StatusCodeValidationInterceptor.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/ResponseLoggingInterceptor.swift:30:49: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                 `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 |             logger.log(
32 |                 level: logLevel,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:30:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         _ data: Data
29 |     ) async throws -> NetworkResponse<ResponseModel> {
30 |         if let httpResponse = response.response as? HTTPURLResponse {
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |             logger.log(
32 |                 level: logLevel,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:33:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 |             logger.log(
32 |                 level: logLevel,
33 |                 message: "Response interceptor - Status: \(httpResponse.statusCode)"
   |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 |             )
35 |             logger.log(
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/ResponseLoggingInterceptor.swift:37:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
35 |             logger.log(
36 |                 level: logLevel,
37 |                 message: "Response interceptor - Headers: \(httpResponse.allHeaderFields)"
   |                                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
38 |             )
39 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
47 |             return response
48 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:46:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |         _ data: Data
45 |     ) async throws -> NetworkResponse<ResponseModel> {
46 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |             return response
48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:51:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |
50 |         // Check for rate limit or service unavailable status codes
51 |         guard httpResponse.statusCode == 429 || httpResponse.statusCode == 503 else {
   |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |             return response
53 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:56:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
54 |
55 |         // Parse Retry-After header
56 |         guard let retryAfterValue = httpResponse.value(forHTTPHeaderField: Self.retryAfterHeader) else {
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
57 |             return response
58 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:64:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |             throw RetryAfterError(
63 |                 retryAfterSeconds: seconds,
64 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |             )
66 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/RetryAfterInterceptor.swift:77:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
75 |             throw RetryAfterError(
76 |                 retryAfterDate: date,
77 |                 statusCode: httpResponse.statusCode
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
78 |             )
79 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             return response
46 |         }
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:44:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         _ data: Data
43 |     ) async throws -> NetworkResponse<ResponseModel> {
44 |         guard let httpResponse = response.response as? HTTPURLResponse else {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             return response
46 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:48:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
46 |         }
47 |
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/Interceptors/StatusCodeValidationInterceptor.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |         guard acceptableStatusCodes.contains(httpResponse.statusCode) else {
49 |             throw NetworkClientError.unacceptableStatusCode(
50 |                 statusCode: httpResponse.statusCode,
   |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |                 response: httpResponse,
52 |                 data: data
[21/36] 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")
/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 |
[22/36] 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")
/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 |
[23/36] 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")
/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 |
[24/36] Compiling MicroClient BasicAuthInterceptor.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")
/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 |
[25/36] 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 |
/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
[26/36] 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
[27/36] 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
[28/36] Compiling MicroClient NetworkResponseInterceptor.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
[29/36] Compiling MicroClient TimeoutInterceptor.swift
/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/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/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/NetworkClient.swift:63:25: error: cannot find type 'URLRequest' in scope
 61 |         }
 62 |
 63 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:65:30: error: cannot find 'URLRequest' in scope
 63 |         var urlRequest: URLRequest
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 66 |                 configuration: configuration,
 67 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:92:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let data: Data
 92 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         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:97:27: error: 'nil' requires a contextual type
 95 |             (data, response) = try await configuration.session.data(
 96 |                 for: urlRequest,
 97 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
 98 |             )
 99 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |             log(
108 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             log(
108 |                 .info,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
107 |             log(
108 |                 .info,
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:113:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:116:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
117 |                     response: httpResponse,
118 |                     data: data
[30/36] Compiling MicroClient UserAgentInterceptor.swift
/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/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/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/NetworkClient.swift:63:25: error: cannot find type 'URLRequest' in scope
 61 |         }
 62 |
 63 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:65:30: error: cannot find 'URLRequest' in scope
 63 |         var urlRequest: URLRequest
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 66 |                 configuration: configuration,
 67 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:92:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let data: Data
 92 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         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:97:27: error: 'nil' requires a contextual type
 95 |             (data, response) = try await configuration.session.data(
 96 |                 for: urlRequest,
 97 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
 98 |             )
 99 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |             log(
108 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             log(
108 |                 .info,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
107 |             log(
108 |                 .info,
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:113:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:116:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
117 |                     response: httpResponse,
118 |                     data: data
[31/36] Compiling MicroClient StdoutLogger.swift
/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/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/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/NetworkClient.swift:63:25: error: cannot find type 'URLRequest' in scope
 61 |         }
 62 |
 63 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:65:30: error: cannot find 'URLRequest' in scope
 63 |         var urlRequest: URLRequest
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 66 |                 configuration: configuration,
 67 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:92:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let data: Data
 92 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         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:97:27: error: 'nil' requires a contextual type
 95 |             (data, response) = try await configuration.session.data(
 96 |                 for: urlRequest,
 97 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
 98 |             )
 99 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |             log(
108 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             log(
108 |                 .info,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
107 |             log(
108 |                 .info,
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:113:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:116:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
117 |                     response: httpResponse,
118 |                     data: data
[32/36] Compiling MicroClient NetworkClient.swift
/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/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/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/NetworkClient.swift:63:25: error: cannot find type 'URLRequest' in scope
 61 |         }
 62 |
 63 |         var urlRequest: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:65:30: error: cannot find 'URLRequest' in scope
 63 |         var urlRequest: URLRequest
 64 |         do {
 65 |             urlRequest = try URLRequest.makeURLRequest(
    |                              `- error: cannot find 'URLRequest' in scope
 66 |                 configuration: configuration,
 67 |                 networkRequest: networkRequest
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:92:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let data: Data
 92 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |
 94 |         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:97:27: error: 'nil' requires a contextual type
 95 |             (data, response) = try await configuration.session.data(
 96 |                 for: urlRequest,
 97 |                 delegate: nil
    |                           `- error: 'nil' requires a contextual type
 98 |             )
 99 |         } catch let error as CancellationError {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                        `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |             log(
108 |                 .info,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:106:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         }
105 |
106 |         if let httpResponse = response as? HTTPURLResponse {
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             log(
108 |                 .info,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:109:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
107 |             log(
108 |                 .info,
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:111:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
109 |                 "Response: \(httpResponse.statusCode) \(urlRequest.httpMethod ?? "") \(urlRequest.url?.absoluteString ?? "")"
110 |             )
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:113:53: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             log(.debug, "Response headers: \(httpResponse.allHeaderFields)")
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
    |                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:114:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
112 |
113 |             guard (200...299).contains(httpResponse.statusCode) else {
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
/host/spi-builder-workspace/Sources/MicroClient/NetworkClient.swift:116:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |                 log(.error, "Unacceptable status code: \(httpResponse.statusCode)")
115 |                 throw NetworkClientError.unacceptableStatusCode(
116 |                     statusCode: httpResponse.statusCode,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
117 |                     response: httpResponse,
118 |                     data: data
[33/36] Compiling MicroClient VoidRequest.swift
[34/36] Compiling MicroClient VoidResponse.swift
[35/36] Compiling MicroClient RetryStrategy.swift
[36/36] Compiling MicroClient URLFormItem.swift
BUILD FAILURE 6.2 linux