The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Endpoints, reference 3.0.2 (ea770e), with Swift 6.0 for Linux on 4 Nov 2024 17:10:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

23 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
24 |                 Logger.default.debug("no response.")
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let (response, data) = try await resultProvider.data(for: call)
21 |
22 |         guard let response = response as? HTTPURLResponse else {
   |                                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
24 |                 Logger.default.debug("no 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/Testing/FakeSession.swift:24:17: error: cannot find 'Logger' in scope
22 |         guard let response = response as? HTTPURLResponse else {
23 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
24 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
25 |             } else {
26 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:17: error: cannot find 'os_log' in scope
24 |                 Logger.default.debug("no response.")
25 |             } else {
26 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
27 |             }
28 |
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:46: error: cannot infer contextual base in reference to member 'default'
24 |                 Logger.default.debug("no response.")
25 |             } else {
26 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
27 |             }
28 |
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:62: error: cannot infer contextual base in reference to member 'debug'
24 |                 Logger.default.debug("no response.")
25 |             } else {
26 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
27 |             }
28 |
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:40:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'debugDescription'
38 |             var message = ""
39 |             message += "\(call.request.cURLRepresentation)\n"
40 |             message += "\(response.debugDescription)\n"
   |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'debugDescription'
41 |             message += "\(data.debugDescription(encoding: response.stringEncoding))"
42 |
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:41:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
39 |             message += "\(call.request.cURLRepresentation)\n"
40 |             message += "\(response.debugDescription)\n"
41 |             message += "\(data.debugDescription(encoding: response.stringEncoding))"
   |                                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
42 |
43 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:17: error: cannot find 'Logger' in scope
42 |
43 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
44 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
45 |             } else {
46 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: extra argument 'privacy' in call
42 |
43 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
44 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
45 |             } else {
46 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: cannot infer contextual base in reference to member 'private'
42 |
43 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
44 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
45 |             } else {
46 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:17: error: cannot find 'os_log' in scope
44 |                 Logger.default.debug("\(message, privacy: .private)")
45 |             } else {
46 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
47 |             }
48 |         }
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:36: error: cannot infer contextual base in reference to member 'default'
44 |                 Logger.default.debug("\(message, privacy: .private)")
45 |             } else {
46 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
47 |             }
48 |         }
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:52: error: cannot infer contextual base in reference to member 'debug'
44 |                 Logger.default.debug("\(message, privacy: .private)")
45 |             } else {
46 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
47 |             }
48 |         }
[20/44] 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 {
 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 |     ) 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
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
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
[21/44] 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 {
 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 |     ) 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
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
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
[22/44] 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 {
 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 |     ) 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
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
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
[23/44] 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 {
 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 |     ) 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
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
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
[24/44] 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 {
 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 |     ) 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
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
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
[25/44] 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 | }
[26/44] 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 | }
[27/44] 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 | }
[28/44] Compiling Endpoints StringConvertibleParser.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 | }
[29/44] Compiling Endpoints StringParser.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 | }
[30/44] Compiling Endpoints AnyCall.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: 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 = (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 {
 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
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 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/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 |     }
[31/44] Compiling Endpoints BasicAuthorization.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: 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 = (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 {
 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
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 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/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 |     }
[32/44] Compiling Endpoints HTTPURLResponse+Encoding.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: 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 = (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 {
 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
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 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/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 |     }
[33/44] Compiling Endpoints URL+URLRequestEncodable.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: 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 = (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 {
 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
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 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/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 |     }
[34/44] Compiling Endpoints URLRequest+Extensions.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: 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 = (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 {
 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
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 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/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 |     }
[35/44] 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 {
 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' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[36/44] 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 {
 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' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[37/44] 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 {
 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' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[38/44] 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 {
 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' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[39/44] 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 {
 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' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' has non-sendable type 'HTTPURLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
[40/44] Compiling Endpoints AnyClient.swift
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     open 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/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     open 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/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     open 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/Async/Client.swift:10:51: 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<C: Call>(call: C) 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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible {
 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/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/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public var debug = false
10 |
11 |     public var urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public let client: CL
13 |
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:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |             configuration: .default,
18 |             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:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
17 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
20 |         )
21 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     @discardableResult
27 |     open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let urlRequest = try await client.encode(call: call)
29 |
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:76:29: error: cannot find type 'URLRequest' in scope
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
77 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
72 |     public func urlSession(
73 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         task: URLSessionTask,
75 |         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:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 |     public func urlSession(
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         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:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         newRequest request: URLRequest,
77 |         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:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
69 | }
70 |
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
72 |     public func urlSession(
73 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |         let urlRequest = try await client.encode(call: call)
29 |
30 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |
32 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
32 |         guard let response = response as? HTTPURLResponse else {
33 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
34 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |
81 |         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:82:13: error: cannot find 'Logger' in scope
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
85 |         }
86 |
[41/44] Compiling Endpoints Client.swift
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     open 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/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     open 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/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     open 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/Async/Client.swift:10:51: 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<C: Call>(call: C) 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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible {
 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/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/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public var debug = false
10 |
11 |     public var urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public let client: CL
13 |
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:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |             configuration: .default,
18 |             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:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
17 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
20 |         )
21 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     @discardableResult
27 |     open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let urlRequest = try await client.encode(call: call)
29 |
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:76:29: error: cannot find type 'URLRequest' in scope
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
77 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
72 |     public func urlSession(
73 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         task: URLSessionTask,
75 |         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:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 |     public func urlSession(
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         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:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         newRequest request: URLRequest,
77 |         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:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
69 | }
70 |
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
72 |     public func urlSession(
73 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |         let urlRequest = try await client.encode(call: call)
29 |
30 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |
32 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
32 |         guard let response = response as? HTTPURLResponse else {
33 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
34 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |
81 |         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:82:13: error: cannot find 'Logger' in scope
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
85 |         }
86 |
[42/44] Compiling Endpoints Session.swift
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     open 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/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     open 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/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     open 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/Async/Client.swift:10:51: 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<C: Call>(call: C) 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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible {
 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/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/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public var debug = false
10 |
11 |     public var urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public let client: CL
13 |
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:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |             configuration: .default,
18 |             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:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
17 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
20 |         )
21 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     @discardableResult
27 |     open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let urlRequest = try await client.encode(call: call)
29 |
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:76:29: error: cannot find type 'URLRequest' in scope
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
77 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
72 |     public func urlSession(
73 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         task: URLSessionTask,
75 |         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:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 |     public func urlSession(
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         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:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         newRequest request: URLRequest,
77 |         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:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
69 | }
70 |
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
72 |     public func urlSession(
73 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |         let urlRequest = try await client.encode(call: call)
29 |
30 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |
32 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
32 |         guard let response = response as? HTTPURLResponse else {
33 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
34 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |
81 |         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:82:13: error: cannot find 'Logger' in scope
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
85 |         }
86 |
[43/44] Compiling Endpoints Body.swift
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     open 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/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     open 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/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     open 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/Async/Client.swift:10:51: 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<C: Call>(call: C) 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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible {
 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/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/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public var debug = false
10 |
11 |     public var urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public let client: CL
13 |
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:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |             configuration: .default,
18 |             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:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
17 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
20 |         )
21 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     @discardableResult
27 |     open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let urlRequest = try await client.encode(call: call)
29 |
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:76:29: error: cannot find type 'URLRequest' in scope
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
77 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
72 |     public func urlSession(
73 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         task: URLSessionTask,
75 |         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:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 |     public func urlSession(
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         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:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         newRequest request: URLRequest,
77 |         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:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
69 | }
70 |
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
72 |     public func urlSession(
73 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |         let urlRequest = try await client.encode(call: call)
29 |
30 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |
32 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
32 |         guard let response = response as? HTTPURLResponse else {
33 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
34 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |
81 |         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:82:13: error: cannot find 'Logger' in scope
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
85 |         }
86 |
[44/44] Compiling Endpoints FormEncodedBody.swift
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     open 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/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     open 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/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     open 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/Async/Client.swift:10:51: 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<C: Call>(call: C) 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/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible {
 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/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/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public var debug = false
10 |
11 |     public var urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public let client: CL
13 |
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:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |             configuration: .default,
18 |             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:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 |     public init(
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
15 |         with client: CL,
16 |         using urlSession: URLSession = URLSession(
17 |             configuration: .default,
   |                             `- error: cannot infer contextual base in reference to member 'default'
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
17 |             configuration: .default,
18 |             delegate: URLSessionDelegateHandler(),
19 |             delegateQueue: nil
   |                            `- error: 'nil' requires a contextual type
20 |         )
21 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     @discardableResult
27 |     open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         let urlRequest = try await client.encode(call: call)
29 |
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:76:29: error: cannot find type 'URLRequest' in scope
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         newRequest request: URLRequest,
77 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
72 |     public func urlSession(
73 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         task: URLSessionTask,
75 |         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:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 |     public func urlSession(
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
76 |         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:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |         _ session: URLSession,
74 |         task: URLSessionTask,
75 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         newRequest request: URLRequest,
77 |         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:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
69 | }
70 |
71 | public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
72 |     public func urlSession(
73 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |         let urlRequest = try await client.encode(call: call)
29 |
30 |         let (data, response) = try await urlSession.data(for: urlRequest)
   |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
31 |
32 |         guard let response = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
32 |         guard let response = response as? HTTPURLResponse else {
33 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
34 |                 Logger.default.debug("no response.")
   |                 `- error: cannot find 'Logger' in scope
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                 `- error: cannot find 'os_log' in scope
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                              `- error: cannot infer contextual base in reference to member 'default'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
34 |                 Logger.default.debug("no response.")
35 |             } else {
36 |                 os_log("no response.", log: .default, type: .debug)
   |                                                              `- error: cannot infer contextual base in reference to member 'debug'
37 |             }
38 |             throw EndpointsError(
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                 `- error: cannot find 'Logger' in scope
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: extra argument 'privacy' in call
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
51 |
52 |             if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
53 |                 Logger.default.debug("\(message, privacy: .private)")
   |                                                            `- error: cannot infer contextual base in reference to member 'private'
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                 `- error: cannot find 'os_log' in scope
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                    `- error: cannot infer contextual base in reference to member 'default'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
53 |                 Logger.default.debug("\(message, privacy: .private)")
54 |             } else {
55 |                 os_log("%s", log: .default, type: .debug, message)
   |                                                    `- error: cannot infer contextual base in reference to member 'debug'
56 |             }
57 |         }
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
77 |         completionHandler: @escaping (URLRequest?) -> Void
78 |     ) {
79 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
   |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
80 |
81 |         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:82:13: error: cannot find 'Logger' in scope
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |             `- error: cannot find 'Logger' in scope
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: extra argument 'privacy' in call
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
80 |
81 |         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
82 |             Logger.default.debug("\(message, privacy: .private)")
   |                                                        `- error: cannot infer contextual base in reference to member 'private'
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |             `- error: cannot find 'os_log' in scope
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                `- error: cannot infer contextual base in reference to member 'default'
85 |         }
86 |
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
82 |             Logger.default.debug("\(message, privacy: .private)")
83 |         } else {
84 |             os_log("%s", log: .default, type: .debug, message)
   |                                                `- error: cannot infer contextual base in reference to member 'debug'
85 |         }
86 |
BUILD FAILURE 6.0 linux