The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Endpoints, reference 4.0.1 (b99976), with Swift 6.3 for Wasm on 18 Apr 2026 05:35:57 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |         data _: Data?
17 |     ) async throws {
18 |         if let code = response?.statusCode,
   |                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |            !isAcceptableStatus(code: code) {
20 |             throw EndpointsError(
[14/40] Compiling Endpoints StringParser.swift
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     /// - throws: Any `Error`, if `result` is not valid.
11 |     func validate(
12 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         data: Data?
14 |     ) async throws
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/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     /// - throws: `EndpointsError including StatusCodeError.unacceptable` with `reason` set to `nil`
14 |     public func validate(
15 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         data _: Data?
17 |     ) async throws {
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/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |         data _: Data?
17 |     ) async throws {
18 |         if let code = response?.statusCode,
   |                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |            !isAcceptableStatus(code: code) {
20 |             throw EndpointsError(
[15/40] Compiling Endpoints ResponseValidator.swift
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     /// - throws: Any `Error`, if `result` is not valid.
11 |     func validate(
12 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         data: Data?
14 |     ) async throws
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/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     /// - throws: `EndpointsError including StatusCodeError.unacceptable` with `reason` set to `nil`
14 |     public func validate(
15 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         data _: Data?
17 |     ) async throws {
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/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |         data _: Data?
17 |     ) async throws {
18 |         if let code = response?.statusCode,
   |                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |            !isAcceptableStatus(code: code) {
20 |             throw EndpointsError(
[16/40] Compiling Endpoints StatusCodeValidator.swift
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     /// - throws: Any `Error`, if `result` is not valid.
11 |     func validate(
12 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         data: Data?
14 |     ) async throws
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/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     /// - throws: `EndpointsError including StatusCodeError.unacceptable` with `reason` set to `nil`
14 |     public func validate(
15 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         data _: Data?
17 |     ) async throws {
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/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |         data _: Data?
17 |     ) async throws {
18 |         if let code = response?.statusCode,
   |                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |            !isAcceptableStatus(code: code) {
20 |             throw EndpointsError(
[17/40] Compiling Endpoints Call.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |     /// No-Op. Override to perform call-specific validation
50 |     func validate(
51 |         response _: HTTPURLResponse?,
   |                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |         data _: Data?
53 |     ) async throws { /* no validation by default */ }
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/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
71 |     override var debugDescription: String {
72 |         var description = "\(statusCode)\n"
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         }
50 |
51 |         var description = "\(resp.statusCode)\n"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |
53 |         httpResponse?.allHeaderFields.forEach {
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
51 |         var description = "\(resp.statusCode)\n"
52 |
53 |         httpResponse?.allHeaderFields.forEach {
   |                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
54 |             description.append("-\($0): \($1)\n")
55 |         }
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
55 |         }
56 |
57 |         if let data, let string = String(data: data, encoding: resp.stringEncoding) {
   |                                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
58 |             if string.isEmpty {
59 |                 description.append("<empty>")
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
36 |     }
37 |
38 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
39 |         var urlRequest = URLRequest(url: url)
40 |
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
37 |
38 |     public var urlRequest: URLRequest {
39 |         var urlRequest = URLRequest(url: url)
   |                          `- error: cannot find 'URLRequest' in scope
40 |
41 |         urlRequest.httpMethod = method.rawValue
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[18/40] Compiling Endpoints Debugging.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |     /// No-Op. Override to perform call-specific validation
50 |     func validate(
51 |         response _: HTTPURLResponse?,
   |                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |         data _: Data?
53 |     ) async throws { /* no validation by default */ }
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/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
71 |     override var debugDescription: String {
72 |         var description = "\(statusCode)\n"
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         }
50 |
51 |         var description = "\(resp.statusCode)\n"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |
53 |         httpResponse?.allHeaderFields.forEach {
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
51 |         var description = "\(resp.statusCode)\n"
52 |
53 |         httpResponse?.allHeaderFields.forEach {
   |                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
54 |             description.append("-\($0): \($1)\n")
55 |         }
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
55 |         }
56 |
57 |         if let data, let string = String(data: data, encoding: resp.stringEncoding) {
   |                                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
58 |             if string.isEmpty {
59 |                 description.append("<empty>")
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
36 |     }
37 |
38 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
39 |         var urlRequest = URLRequest(url: url)
40 |
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
37 |
38 |     public var urlRequest: URLRequest {
39 |         var urlRequest = URLRequest(url: url)
   |                          `- error: cannot find 'URLRequest' in scope
40 |
41 |         urlRequest.httpMethod = method.rawValue
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[19/40] Compiling Endpoints HTTPMethod.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |     /// No-Op. Override to perform call-specific validation
50 |     func validate(
51 |         response _: HTTPURLResponse?,
   |                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |         data _: Data?
53 |     ) async throws { /* no validation by default */ }
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/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
71 |     override var debugDescription: String {
72 |         var description = "\(statusCode)\n"
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         }
50 |
51 |         var description = "\(resp.statusCode)\n"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |
53 |         httpResponse?.allHeaderFields.forEach {
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
51 |         var description = "\(resp.statusCode)\n"
52 |
53 |         httpResponse?.allHeaderFields.forEach {
   |                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
54 |             description.append("-\($0): \($1)\n")
55 |         }
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
55 |         }
56 |
57 |         if let data, let string = String(data: data, encoding: resp.stringEncoding) {
   |                                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
58 |             if string.isEmpty {
59 |                 description.append("<empty>")
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
36 |     }
37 |
38 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
39 |         var urlRequest = URLRequest(url: url)
40 |
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
37 |
38 |     public var urlRequest: URLRequest {
39 |         var urlRequest = URLRequest(url: url)
   |                          `- error: cannot find 'URLRequest' in scope
40 |
41 |         urlRequest.httpMethod = method.rawValue
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[20/40] Compiling Endpoints Logger.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |     /// No-Op. Override to perform call-specific validation
50 |     func validate(
51 |         response _: HTTPURLResponse?,
   |                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |         data _: Data?
53 |     ) async throws { /* no validation by default */ }
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/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
71 |     override var debugDescription: String {
72 |         var description = "\(statusCode)\n"
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         }
50 |
51 |         var description = "\(resp.statusCode)\n"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |
53 |         httpResponse?.allHeaderFields.forEach {
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
51 |         var description = "\(resp.statusCode)\n"
52 |
53 |         httpResponse?.allHeaderFields.forEach {
   |                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
54 |             description.append("-\($0): \($1)\n")
55 |         }
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
55 |         }
56 |
57 |         if let data, let string = String(data: data, encoding: resp.stringEncoding) {
   |                                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
58 |             if string.isEmpty {
59 |                 description.append("<empty>")
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
36 |     }
37 |
38 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
39 |         var urlRequest = URLRequest(url: url)
40 |
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
37 |
38 |     public var urlRequest: URLRequest {
39 |         var urlRequest = URLRequest(url: url)
   |                          `- error: cannot find 'URLRequest' in scope
40 |
41 |         urlRequest.httpMethod = method.rawValue
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[21/40] Compiling Endpoints Request.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |     /// No-Op. Override to perform call-specific validation
50 |     func validate(
51 |         response _: HTTPURLResponse?,
   |                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |         data _: Data?
53 |     ) async throws { /* no validation by default */ }
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/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
71 |     override var debugDescription: String {
72 |         var description = "\(statusCode)\n"
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         }
50 |
51 |         var description = "\(resp.statusCode)\n"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |
53 |         httpResponse?.allHeaderFields.forEach {
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
51 |         var description = "\(resp.statusCode)\n"
52 |
53 |         httpResponse?.allHeaderFields.forEach {
   |                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
54 |             description.append("-\($0): \($1)\n")
55 |         }
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
55 |         }
56 |
57 |         if let data, let string = String(data: data, encoding: resp.stringEncoding) {
   |                                                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
58 |             if string.isEmpty {
59 |                 description.append("<empty>")
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
36 |     }
37 |
38 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
39 |         var urlRequest = URLRequest(url: url)
40 |
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
37 |
38 |     public var urlRequest: URLRequest {
39 |         var urlRequest = URLRequest(url: url)
   |                          `- error: cannot find 'URLRequest' in scope
40 |
41 |         urlRequest.httpMethod = method.rawValue
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[22/40] Compiling Endpoints DictionaryParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     public init() {}
11 |
12 |     public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
   |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         ()
14 |     }
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/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// it to the parsed output.
 7 | public protocol ResponseParser: DataParser {
 8 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | }
10 |
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/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     /// Uses `DataParser.parse(data:encoding)` to parse the response using
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         try parse(data: data, encoding: response.stringEncoding)
16 |     }
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/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
15 |         try parse(data: data, encoding: response.stringEncoding)
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
16 |     }
17 | }
[23/40] Compiling Endpoints JSONParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     public init() {}
11 |
12 |     public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
   |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         ()
14 |     }
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/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// it to the parsed output.
 7 | public protocol ResponseParser: DataParser {
 8 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | }
10 |
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/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     /// Uses `DataParser.parse(data:encoding)` to parse the response using
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         try parse(data: data, encoding: response.stringEncoding)
16 |     }
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/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
15 |         try parse(data: data, encoding: response.stringEncoding)
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
16 |     }
17 | }
[24/40] Compiling Endpoints NoContentParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     public init() {}
11 |
12 |     public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
   |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         ()
14 |     }
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/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// it to the parsed output.
 7 | public protocol ResponseParser: DataParser {
 8 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | }
10 |
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/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     /// Uses `DataParser.parse(data:encoding)` to parse the response using
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         try parse(data: data, encoding: response.stringEncoding)
16 |     }
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/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
15 |         try parse(data: data, encoding: response.stringEncoding)
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
16 |     }
17 | }
[25/40] Compiling Endpoints ResponseParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     public init() {}
11 |
12 |     public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
   |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         ()
14 |     }
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/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// it to the parsed output.
 7 | public protocol ResponseParser: DataParser {
 8 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | }
10 |
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/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     /// Uses `DataParser.parse(data:encoding)` to parse the response using
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         try parse(data: data, encoding: response.stringEncoding)
16 |     }
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/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
13 |     /// 'response.stringEncoding'.
14 |     func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
15 |         try parse(data: data, encoding: response.stringEncoding)
   |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
16 |     }
17 | }
[26/40] Compiling Endpoints Client.swift
/host/spi-builder-workspace/Sources/Async/Client.swift:10:50: error: cannot find type 'URLRequest' in scope
 8 |     /// Converts a `Call` created for this client's Web API
 9 |     /// into a `URLRequest`.
10 |     func encode(call: some Call) async throws -> URLRequest
   |                                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     /// Converts the `URLSession`s result for a `Call` to
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - throws: Any `Error` if `result` is considered invalid.
16 |     func parse<C: Call>(
17 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         data: Data?,
19 |         for call: C
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/Async/DefaultClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     public func encode(
18 |         call: some Call
19 |     ) async throws -> URLRequest {
   |                       `- error: cannot find type 'URLRequest' in scope
20 |         var urlRequest = call.request.urlRequest
21 |
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     public func parse<C>(
30 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         data: Data?,
32 |         for call: C
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/Async/DefaultClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     public func validate(
42 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         data: Data?
44 |     ) async throws {
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Async/Session.swift:10:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | public actor Session<CL: Client> {
 9 |     public let client: CL
10 |     public let urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public let debug: Bool
12 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:16:29: error: cannot infer contextual base in reference to member 'default'
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
16 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:18:28: error: 'nil' requires a contextual type
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
19 |         ),
20 |         debug: Bool = false
/host/spi-builder-workspace/Sources/Async/Session.swift:30:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     public func dataTask<C: Call>(
29 |         for call: C
30 |     ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let urlRequest = try await client.encode(call: call)
32 |
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/Async/Session.swift:74:57: error: cannot find type 'URLSessionTaskDelegate' in scope
72 | }
73 |
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
75 |     public func urlSession(
76 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:79:29: error: cannot find type 'URLRequest' in scope
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:80:39: error: cannot find type 'URLRequest' in scope
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:76:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
75 |     public func urlSession(
76 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:77:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     public func urlSession(
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:78:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
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/Async/Session.swift:33:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |         let urlRequest = try await client.encode(call: call)
32 |
33 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
34 |
35 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:37:17: error: cannot find 'Logger' in scope
35 |         guard let response = response as? HTTPURLResponse else {
36 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
37 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:39:17: error: cannot find 'os_log' in scope
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:46: error: cannot infer contextual base in reference to member 'default'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:62: error: cannot infer contextual base in reference to member 'debug'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:56:17: error: cannot find 'Logger' in scope
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: extra argument 'privacy' in call
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: cannot infer contextual base in reference to member 'private'
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:58:17: error: cannot find 'os_log' in scope
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:36: error: cannot infer contextual base in reference to member 'default'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:52: error: cannot infer contextual base in reference to member 'debug'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:82:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
/host/spi-builder-workspace/Sources/Async/Session.swift:85:13: error: cannot find 'Logger' in scope
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: extra argument 'privacy' in call
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: cannot infer contextual base in reference to member 'private'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:87:13: error: cannot find 'os_log' in scope
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:32: error: cannot infer contextual base in reference to member 'default'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:48: error: cannot infer contextual base in reference to member 'debug'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
88 |         }
89 |
[27/40] Compiling Endpoints DefaultClient.swift
/host/spi-builder-workspace/Sources/Async/Client.swift:10:50: error: cannot find type 'URLRequest' in scope
 8 |     /// Converts a `Call` created for this client's Web API
 9 |     /// into a `URLRequest`.
10 |     func encode(call: some Call) async throws -> URLRequest
   |                                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     /// Converts the `URLSession`s result for a `Call` to
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - throws: Any `Error` if `result` is considered invalid.
16 |     func parse<C: Call>(
17 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         data: Data?,
19 |         for call: C
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/Async/DefaultClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     public func encode(
18 |         call: some Call
19 |     ) async throws -> URLRequest {
   |                       `- error: cannot find type 'URLRequest' in scope
20 |         var urlRequest = call.request.urlRequest
21 |
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     public func parse<C>(
30 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         data: Data?,
32 |         for call: C
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/Async/DefaultClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     public func validate(
42 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         data: Data?
44 |     ) async throws {
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Async/Session.swift:10:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | public actor Session<CL: Client> {
 9 |     public let client: CL
10 |     public let urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public let debug: Bool
12 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:16:29: error: cannot infer contextual base in reference to member 'default'
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
16 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:18:28: error: 'nil' requires a contextual type
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
19 |         ),
20 |         debug: Bool = false
/host/spi-builder-workspace/Sources/Async/Session.swift:30:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     public func dataTask<C: Call>(
29 |         for call: C
30 |     ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let urlRequest = try await client.encode(call: call)
32 |
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/Async/Session.swift:74:57: error: cannot find type 'URLSessionTaskDelegate' in scope
72 | }
73 |
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
75 |     public func urlSession(
76 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:79:29: error: cannot find type 'URLRequest' in scope
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:80:39: error: cannot find type 'URLRequest' in scope
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:76:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
75 |     public func urlSession(
76 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:77:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     public func urlSession(
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:78:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
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/Async/Session.swift:33:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |         let urlRequest = try await client.encode(call: call)
32 |
33 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
34 |
35 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:37:17: error: cannot find 'Logger' in scope
35 |         guard let response = response as? HTTPURLResponse else {
36 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
37 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:39:17: error: cannot find 'os_log' in scope
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:46: error: cannot infer contextual base in reference to member 'default'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:62: error: cannot infer contextual base in reference to member 'debug'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:56:17: error: cannot find 'Logger' in scope
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: extra argument 'privacy' in call
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: cannot infer contextual base in reference to member 'private'
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:58:17: error: cannot find 'os_log' in scope
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:36: error: cannot infer contextual base in reference to member 'default'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:52: error: cannot infer contextual base in reference to member 'debug'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:82:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
/host/spi-builder-workspace/Sources/Async/Session.swift:85:13: error: cannot find 'Logger' in scope
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: extra argument 'privacy' in call
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: cannot infer contextual base in reference to member 'private'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:87:13: error: cannot find 'os_log' in scope
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:32: error: cannot infer contextual base in reference to member 'default'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:48: error: cannot infer contextual base in reference to member 'debug'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
88 |         }
89 |
[28/40] Compiling Endpoints Session.swift
/host/spi-builder-workspace/Sources/Async/Client.swift:10:50: error: cannot find type 'URLRequest' in scope
 8 |     /// Converts a `Call` created for this client's Web API
 9 |     /// into a `URLRequest`.
10 |     func encode(call: some Call) async throws -> URLRequest
   |                                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     /// Converts the `URLSession`s result for a `Call` to
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - throws: Any `Error` if `result` is considered invalid.
16 |     func parse<C: Call>(
17 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         data: Data?,
19 |         for call: C
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/Async/DefaultClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     public func encode(
18 |         call: some Call
19 |     ) async throws -> URLRequest {
   |                       `- error: cannot find type 'URLRequest' in scope
20 |         var urlRequest = call.request.urlRequest
21 |
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     public func parse<C>(
30 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         data: Data?,
32 |         for call: C
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/Async/DefaultClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     public func validate(
42 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         data: Data?
44 |     ) async throws {
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Async/Session.swift:10:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | public actor Session<CL: Client> {
 9 |     public let client: CL
10 |     public let urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public let debug: Bool
12 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:16:29: error: cannot infer contextual base in reference to member 'default'
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
16 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:18:28: error: 'nil' requires a contextual type
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
19 |         ),
20 |         debug: Bool = false
/host/spi-builder-workspace/Sources/Async/Session.swift:30:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     public func dataTask<C: Call>(
29 |         for call: C
30 |     ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let urlRequest = try await client.encode(call: call)
32 |
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/Async/Session.swift:74:57: error: cannot find type 'URLSessionTaskDelegate' in scope
72 | }
73 |
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
75 |     public func urlSession(
76 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:79:29: error: cannot find type 'URLRequest' in scope
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:80:39: error: cannot find type 'URLRequest' in scope
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:76:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
75 |     public func urlSession(
76 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:77:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     public func urlSession(
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:78:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
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/Async/Session.swift:33:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |         let urlRequest = try await client.encode(call: call)
32 |
33 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
34 |
35 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:37:17: error: cannot find 'Logger' in scope
35 |         guard let response = response as? HTTPURLResponse else {
36 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
37 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:39:17: error: cannot find 'os_log' in scope
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:46: error: cannot infer contextual base in reference to member 'default'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:62: error: cannot infer contextual base in reference to member 'debug'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:56:17: error: cannot find 'Logger' in scope
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: extra argument 'privacy' in call
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: cannot infer contextual base in reference to member 'private'
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:58:17: error: cannot find 'os_log' in scope
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:36: error: cannot infer contextual base in reference to member 'default'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:52: error: cannot infer contextual base in reference to member 'debug'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:82:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
/host/spi-builder-workspace/Sources/Async/Session.swift:85:13: error: cannot find 'Logger' in scope
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: extra argument 'privacy' in call
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: cannot infer contextual base in reference to member 'private'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:87:13: error: cannot find 'os_log' in scope
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:32: error: cannot infer contextual base in reference to member 'default'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:48: error: cannot infer contextual base in reference to member 'debug'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
88 |         }
89 |
[29/40] Compiling Endpoints Body.swift
/host/spi-builder-workspace/Sources/Async/Client.swift:10:50: error: cannot find type 'URLRequest' in scope
 8 |     /// Converts a `Call` created for this client's Web API
 9 |     /// into a `URLRequest`.
10 |     func encode(call: some Call) async throws -> URLRequest
   |                                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     /// Converts the `URLSession`s result for a `Call` to
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - throws: Any `Error` if `result` is considered invalid.
16 |     func parse<C: Call>(
17 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         data: Data?,
19 |         for call: C
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/Async/DefaultClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     public func encode(
18 |         call: some Call
19 |     ) async throws -> URLRequest {
   |                       `- error: cannot find type 'URLRequest' in scope
20 |         var urlRequest = call.request.urlRequest
21 |
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     public func parse<C>(
30 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         data: Data?,
32 |         for call: C
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/Async/DefaultClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     public func validate(
42 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         data: Data?
44 |     ) async throws {
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Async/Session.swift:10:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | public actor Session<CL: Client> {
 9 |     public let client: CL
10 |     public let urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public let debug: Bool
12 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:16:29: error: cannot infer contextual base in reference to member 'default'
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
16 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:18:28: error: 'nil' requires a contextual type
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
19 |         ),
20 |         debug: Bool = false
/host/spi-builder-workspace/Sources/Async/Session.swift:30:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     public func dataTask<C: Call>(
29 |         for call: C
30 |     ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let urlRequest = try await client.encode(call: call)
32 |
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/Async/Session.swift:74:57: error: cannot find type 'URLSessionTaskDelegate' in scope
72 | }
73 |
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
75 |     public func urlSession(
76 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:79:29: error: cannot find type 'URLRequest' in scope
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:80:39: error: cannot find type 'URLRequest' in scope
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:76:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
75 |     public func urlSession(
76 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:77:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     public func urlSession(
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:78:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
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/Async/Session.swift:33:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |         let urlRequest = try await client.encode(call: call)
32 |
33 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
34 |
35 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:37:17: error: cannot find 'Logger' in scope
35 |         guard let response = response as? HTTPURLResponse else {
36 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
37 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:39:17: error: cannot find 'os_log' in scope
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:46: error: cannot infer contextual base in reference to member 'default'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:62: error: cannot infer contextual base in reference to member 'debug'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:56:17: error: cannot find 'Logger' in scope
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: extra argument 'privacy' in call
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: cannot infer contextual base in reference to member 'private'
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:58:17: error: cannot find 'os_log' in scope
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:36: error: cannot infer contextual base in reference to member 'default'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:52: error: cannot infer contextual base in reference to member 'debug'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:82:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
/host/spi-builder-workspace/Sources/Async/Session.swift:85:13: error: cannot find 'Logger' in scope
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: extra argument 'privacy' in call
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: cannot infer contextual base in reference to member 'private'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:87:13: error: cannot find 'os_log' in scope
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:32: error: cannot infer contextual base in reference to member 'default'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:48: error: cannot infer contextual base in reference to member 'debug'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
88 |         }
89 |
[30/40] Compiling Endpoints FormEncodedBody.swift
/host/spi-builder-workspace/Sources/Async/Client.swift:10:50: error: cannot find type 'URLRequest' in scope
 8 |     /// Converts a `Call` created for this client's Web API
 9 |     /// into a `URLRequest`.
10 |     func encode(call: some Call) async throws -> URLRequest
   |                                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     /// Converts the `URLSession`s result for a `Call` to
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - throws: Any `Error` if `result` is considered invalid.
16 |     func parse<C: Call>(
17 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         data: Data?,
19 |         for call: C
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/Async/DefaultClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     public func encode(
18 |         call: some Call
19 |     ) async throws -> URLRequest {
   |                       `- error: cannot find type 'URLRequest' in scope
20 |         var urlRequest = call.request.urlRequest
21 |
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     public func parse<C>(
30 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         data: Data?,
32 |         for call: C
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/Async/DefaultClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     public func validate(
42 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         data: Data?
44 |     ) async throws {
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Async/Session.swift:10:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | public actor Session<CL: Client> {
 9 |     public let client: CL
10 |     public let urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public let debug: Bool
12 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:16:29: error: cannot infer contextual base in reference to member 'default'
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
16 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:18:28: error: 'nil' requires a contextual type
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
18 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
19 |         ),
20 |         debug: Bool = false
/host/spi-builder-workspace/Sources/Async/Session.swift:30:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     public func dataTask<C: Call>(
29 |         for call: C
30 |     ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let urlRequest = try await client.encode(call: call)
32 |
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/Async/Session.swift:74:57: error: cannot find type 'URLSessionTaskDelegate' in scope
72 | }
73 |
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
75 |     public func urlSession(
76 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:79:29: error: cannot find type 'URLRequest' in scope
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:80:39: error: cannot find type 'URLRequest' in scope
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:76:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
75 |     public func urlSession(
76 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:77:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     public func urlSession(
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:78:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
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/Async/Session.swift:33:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |         let urlRequest = try await client.encode(call: call)
32 |
33 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
34 |
35 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:37:17: error: cannot find 'Logger' in scope
35 |         guard let response = response as? HTTPURLResponse else {
36 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
37 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:39:17: error: cannot find 'os_log' in scope
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:46: error: cannot infer contextual base in reference to member 'default'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:39:62: error: cannot infer contextual base in reference to member 'debug'
37 |                 Logger.default.debug("no response.")
38 |             } else {
39 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
40 |             }
41 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:56:17: error: cannot find 'Logger' in scope
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: extra argument 'privacy' in call
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:56:60: error: cannot infer contextual base in reference to member 'private'
54 |
55 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
56 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:58:17: error: cannot find 'os_log' in scope
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:36: error: cannot infer contextual base in reference to member 'default'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:58:52: error: cannot infer contextual base in reference to member 'debug'
56 |                 Logger.default.debug("\(message, privacy: .private)")
57 |             } else {
58 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
59 |             }
60 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:82:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
/host/spi-builder-workspace/Sources/Async/Session.swift:85:13: error: cannot find 'Logger' in scope
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: extra argument 'privacy' in call
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:85:56: error: cannot infer contextual base in reference to member 'private'
83 |
84 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
85 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:87:13: error: cannot find 'os_log' in scope
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:32: error: cannot infer contextual base in reference to member 'default'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
88 |         }
89 |
/host/spi-builder-workspace/Sources/Async/Session.swift:87:48: error: cannot infer contextual base in reference to member 'debug'
85 |             Logger.default.debug("\(message, privacy: .private)")
86 |         } else {
87 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
88 |         }
89 |
[31/40] Compiling Endpoints URLRequestEncodable.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | /// parameters.
10 | public struct URLSessionTaskResult {
11 |     public var response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var data: Data?
13 |     public var error: Error?
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/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public var error: Error?
14 |
15 |     public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         self.response = response
17 |         self.data = data
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/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |         response as? HTTPURLResponse
24 |     }
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/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                  `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
24 |     }
25 | }
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 | }
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/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
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/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public let response: HTTPURLResponse?
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.error = error
13 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:16: warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[32/40] Compiling Endpoints URLSessionTaskResult.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | /// parameters.
10 | public struct URLSessionTaskResult {
11 |     public var response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var data: Data?
13 |     public var error: Error?
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/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public var error: Error?
14 |
15 |     public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         self.response = response
17 |         self.data = data
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/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |         response as? HTTPURLResponse
24 |     }
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/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                  `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
24 |     }
25 | }
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 | }
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/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
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/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public let response: HTTPURLResponse?
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.error = error
13 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:16: warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[33/40] Compiling Endpoints ContinuationError.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | /// parameters.
10 | public struct URLSessionTaskResult {
11 |     public var response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var data: Data?
13 |     public var error: Error?
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/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public var error: Error?
14 |
15 |     public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         self.response = response
17 |         self.data = data
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/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |         response as? HTTPURLResponse
24 |     }
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/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                  `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
24 |     }
25 | }
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 | }
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/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
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/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public let response: HTTPURLResponse?
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.error = error
13 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:16: warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[34/40] Compiling Endpoints EndpointsError.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | /// parameters.
10 | public struct URLSessionTaskResult {
11 |     public var response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var data: Data?
13 |     public var error: Error?
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/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public var error: Error?
14 |
15 |     public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         self.response = response
17 |         self.data = data
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/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |         response as? HTTPURLResponse
24 |     }
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/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                  `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
24 |     }
25 | }
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 | }
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/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
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/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public let response: HTTPURLResponse?
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.error = error
13 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:16: warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[35/40] Compiling Endpoints EndpointsParsingError.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | /// parameters.
10 | public struct URLSessionTaskResult {
11 |     public var response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var data: Data?
13 |     public var error: Error?
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/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public var error: Error?
14 |
15 |     public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         self.response = response
17 |         self.data = data
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/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |         response as? HTTPURLResponse
24 |     }
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/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                  `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
24 |     }
25 | }
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Returns `response` cast to `HTTPURLResponse`.
22 |     public var httpResponse: HTTPURLResponse? {
23 |         response as? HTTPURLResponse
   |                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |     }
25 | }
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/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
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/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public let response: HTTPURLResponse?
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.error = error
13 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:16: warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[36/40] Compiling Endpoints AnyCall.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:51: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public typealias Parser = Parser
 7 |
 8 |     public typealias ValidationBlock = @Sendable (HTTPURLResponse?, Data?) throws -> Void
   |                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var request: URLRequestEncodable
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     public func validate(
23 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         data: Data?
25 |     ) throws {
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/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 6 |     /// Returns the `textEncodingName`s corresponding `String.Encoding`
 7 |     /// or `utf8`, if this is not possible.
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         URLRequest(url: self)
 8 |     }
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:7:9: error: cannot find 'URLRequest' in scope
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
 7 |         URLRequest(url: self)
   |         `- error: cannot find 'URLRequest' in scope
 8 |     }
 9 | }
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
 3 | import Foundation
 4 |
 5 | extension URLRequest: URLRequestEncodable {
   |           `- error: cannot find type 'URLRequest' in scope
 6 |     public var urlRequest: URLRequest {
 7 |         self
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
 9 | }
10 |
11 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
12 |     /// Adds or replaces all header fields with the given values.
13 |     ///
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URLRequest: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         self
 8 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[37/40] Compiling Endpoints BasicAuthorization.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:51: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public typealias Parser = Parser
 7 |
 8 |     public typealias ValidationBlock = @Sendable (HTTPURLResponse?, Data?) throws -> Void
   |                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var request: URLRequestEncodable
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     public func validate(
23 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         data: Data?
25 |     ) throws {
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/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 6 |     /// Returns the `textEncodingName`s corresponding `String.Encoding`
 7 |     /// or `utf8`, if this is not possible.
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         URLRequest(url: self)
 8 |     }
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:7:9: error: cannot find 'URLRequest' in scope
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
 7 |         URLRequest(url: self)
   |         `- error: cannot find 'URLRequest' in scope
 8 |     }
 9 | }
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
 3 | import Foundation
 4 |
 5 | extension URLRequest: URLRequestEncodable {
   |           `- error: cannot find type 'URLRequest' in scope
 6 |     public var urlRequest: URLRequest {
 7 |         self
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
 9 | }
10 |
11 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
12 |     /// Adds or replaces all header fields with the given values.
13 |     ///
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URLRequest: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         self
 8 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[38/40] Compiling Endpoints HTTPURLResponse+Encoding.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:51: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public typealias Parser = Parser
 7 |
 8 |     public typealias ValidationBlock = @Sendable (HTTPURLResponse?, Data?) throws -> Void
   |                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var request: URLRequestEncodable
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     public func validate(
23 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         data: Data?
25 |     ) throws {
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/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 6 |     /// Returns the `textEncodingName`s corresponding `String.Encoding`
 7 |     /// or `utf8`, if this is not possible.
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         URLRequest(url: self)
 8 |     }
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:7:9: error: cannot find 'URLRequest' in scope
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
 7 |         URLRequest(url: self)
   |         `- error: cannot find 'URLRequest' in scope
 8 |     }
 9 | }
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
 3 | import Foundation
 4 |
 5 | extension URLRequest: URLRequestEncodable {
   |           `- error: cannot find type 'URLRequest' in scope
 6 |     public var urlRequest: URLRequest {
 7 |         self
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
 9 | }
10 |
11 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
12 |     /// Adds or replaces all header fields with the given values.
13 |     ///
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URLRequest: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         self
 8 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[39/40] Compiling Endpoints URL+URLRequestEncodable.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:51: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public typealias Parser = Parser
 7 |
 8 |     public typealias ValidationBlock = @Sendable (HTTPURLResponse?, Data?) throws -> Void
   |                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var request: URLRequestEncodable
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     public func validate(
23 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         data: Data?
25 |     ) throws {
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/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 6 |     /// Returns the `textEncodingName`s corresponding `String.Encoding`
 7 |     /// or `utf8`, if this is not possible.
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         URLRequest(url: self)
 8 |     }
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:7:9: error: cannot find 'URLRequest' in scope
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
 7 |         URLRequest(url: self)
   |         `- error: cannot find 'URLRequest' in scope
 8 |     }
 9 | }
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
 3 | import Foundation
 4 |
 5 | extension URLRequest: URLRequestEncodable {
   |           `- error: cannot find type 'URLRequest' in scope
 6 |     public var urlRequest: URLRequest {
 7 |         self
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
 9 | }
10 |
11 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
12 |     /// Adds or replaces all header fields with the given values.
13 |     ///
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URLRequest: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         self
 8 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[40/40] Compiling Endpoints URLRequest+Extensions.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:51: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public typealias Parser = Parser
 7 |
 8 |     public typealias ValidationBlock = @Sendable (HTTPURLResponse?, Data?) throws -> Void
   |                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var request: URLRequestEncodable
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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     public func validate(
23 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         data: Data?
25 |     ) throws {
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/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 6 |     /// Returns the `textEncodingName`s corresponding `String.Encoding`
 7 |     /// or `utf8`, if this is not possible.
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         URLRequest(url: self)
 8 |     }
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:7:9: error: cannot find 'URLRequest' in scope
 5 | extension URL: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
 7 |         URLRequest(url: self)
   |         `- error: cannot find 'URLRequest' in scope
 8 |     }
 9 | }
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
 3 | import Foundation
 4 |
 5 | extension URLRequest: URLRequestEncodable {
   |           `- error: cannot find type 'URLRequest' in scope
 6 |     public var urlRequest: URLRequest {
 7 |         self
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
 9 | }
10 |
11 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
12 |     /// Adds or replaces all header fields with the given values.
13 |     ///
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
 4 |
 5 | extension URLRequest: URLRequestEncodable {
 6 |     public var urlRequest: URLRequest {
   |                            `- error: cannot find type 'URLRequest' in scope
 7 |         self
 8 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 wasm