The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Endpoints, reference develop (b99976), with Swift 6.4 for Linux on 23 Sep 2026 21:05:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/diamirio/Endpoints.git
Reference: develop
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/diamirio/Endpoints
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at b999766 Merge pull request #31 from diamirio/bugfix/no-endpoints-error-case
Cloned https://github.com/diamirio/Endpoints.git
Revision (git rev-parse @):
b99976652d7f11d06a772c77f06830fa930c7087
SUCCESS checkout https://github.com/diamirio/Endpoints.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/diamirio/Endpoints.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
[39 / 48] Endpoints
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Async/Client.swift:10:50: error: cannot find type 'URLRequest' in scope
 8 |     /// Converts a `Call` created for this client's Web API
 9 |     /// into a `URLRequest`.
10 |     func encode(call: some Call) async throws -> URLRequest
   |                                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     /// Converts the `URLSession`s result for a `Call` to
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     /// - throws: Any `Error` if `result` is considered invalid.
16 |     func parse<C: Call>(
17 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         data: Data?,
19 |         for call: C
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:19:23: error: cannot find type 'URLRequest' in scope
17 |     public func encode(
18 |         call: some Call
19 |     ) async throws -> URLRequest {
   |                       `- error: cannot find type 'URLRequest' in scope
20 |         var urlRequest = call.request.urlRequest
21 |
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     public func parse<C>(
30 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         data: Data?,
32 |         for call: C
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/DefaultClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     public func validate(
42 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         data: Data?
44 |     ) async throws {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:10:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | public actor Session<CL: Client> {
 9 |     public let client: CL
10 |     public let urlSession: URLSession
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     public let debug: Bool
12 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:15:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:15:40: error: default argument value of type '_' cannot be converted to type 'AnyObject'
13 |     public init(
14 |         with client: CL,
15 |         using urlSession: URLSession = URLSession(
   |                                        `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
16 |             configuration: .default,
17 |             delegate: URLSessionDelegateHandler(),
/host/spi-builder-workspace/Sources/Async/Session.swift:30:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     public func dataTask<C: Call>(
29 |         for call: C
30 |     ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
   |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         let urlRequest = try await client.encode(call: call)
32 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:74:57: error: cannot find type 'URLSessionTaskDelegate' in scope
72 | }
73 |
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
   |                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
75 |     public func urlSession(
76 |         _ session: URLSession,
/host/spi-builder-workspace/Sources/Async/Session.swift:79:29: error: cannot find type 'URLRequest' in scope
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
   |                             `- error: cannot find type 'URLRequest' in scope
80 |         completionHandler: @escaping (URLRequest?) -> Void
81 |     ) {
/host/spi-builder-workspace/Sources/Async/Session.swift:80:39: error: cannot find type 'URLRequest' in scope
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
   |                                       `- error: cannot find type 'URLRequest' in scope
81 |     ) {
82 |         let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
/host/spi-builder-workspace/Sources/Async/Session.swift:76:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public final class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
75 |     public func urlSession(
76 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:77:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     public func urlSession(
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
79 |         newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Async/Session.swift:78:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |         _ session: URLSession,
77 |         task: URLSessionTask,
78 |         willPerformHTTPRedirection response: HTTPURLResponse,
   |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |         newRequest request: URLRequest,
80 |         completionHandler: @escaping (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:51: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public typealias Parser = Parser
 7 |
 8 |     public typealias ValidationBlock = @Sendable (HTTPURLResponse?, Data?) throws -> Void
   |                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var request: URLRequestEncodable
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
 8 | public protocol URLRequestEncodable: CustomDebugStringConvertible, Sendable {
 9 |     /// Returns an `URLRequest` configured with the data encapsulated by `self`.
10 |     var urlRequest: URLRequest { get }
   |                     `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     public func validate(
23 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         data: Data?
25 |     ) throws {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 3 | import Foundation
 4 |
 5 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 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/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |     /// No-Op. Override to perform call-specific validation
50 |     func validate(
51 |         response _: HTTPURLResponse?,
   |                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |         data _: Data?
53 |     ) async throws { /* no validation by default */ }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
68 | }
69 |
70 | public extension HTTPURLResponse {
   |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
71 |     override var debugDescription: String {
72 |         var description = "\(statusCode)\n"
/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/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/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     public let response: HTTPURLResponse?
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.error = error
13 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:16: warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
 7 | public struct EndpointsError: LocalizedError {
 8 |     public let error: Error
 9 |     public let response: HTTPURLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'EndpointsError' contains non-Sendable type 'AnyObject'
10 |
11 |     public init(error: Error, response: HTTPURLResponse?) {
/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/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     /// - throws: Any `Error`, if `result` is not valid.
11 |     func validate(
12 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |         data: Data?
14 |     ) async throws
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     /// - throws: `EndpointsError including StatusCodeError.unacceptable` with `reason` set to `nil`
14 |     public func validate(
15 |         response: HTTPURLResponse?,
   |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |         data _: Data?
17 |     ) async throws {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Async/Client.swift /host/spi-builder-workspace/Sources/Async/DefaultClient.swift /host/spi-builder-workspace/Sources/Async/Session.swift /host/spi-builder-workspace/Sources/Body/Body.swift /host/spi-builder-workspace/Sources/Body/FormEncodedBody.swift /host/spi-builder-workspace/Sources/Body/JSONEncodedBody.swift /host/spi-builder-workspace/Sources/Body/Multipart/MultipartBody.swift /host/spi-builder-workspace/Sources/Body/Multipart/MultipartBodyPart.swift /host/spi-builder-workspace/Sources/Codable/CodableString.swift /host/spi-builder-workspace/Sources/Codable/Encodable+toJSON.swift /host/spi-builder-workspace/Sources/Convenience/AnyCall.swift /host/spi-builder-workspace/Sources/Convenience/BasicAuthorization.swift /host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift /host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift /host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift /host/spi-builder-workspace/Sources/Core/Call.swift /host/spi-builder-workspace/Sources/Core/Debugging.swift /host/spi-builder-workspace/Sources/Core/HTTPMethod.swift /host/spi-builder-workspace/Sources/Core/Logger.swift /host/spi-builder-workspace/Sources/Core/Request.swift /host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift /host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift /host/spi-builder-workspace/Sources/Error/ContinuationError.swift /host/spi-builder-workspace/Sources/Error/EndpointsError.swift /host/spi-builder-workspace/Sources/Error/EndpointsParsingError.swift /host/spi-builder-workspace/Sources/Error/EndpointsSessionError.swift /host/spi-builder-workspace/Sources/Error/StatusCodeError.swift /host/spi-builder-workspace/Sources/Parsing/DataParser.swift /host/spi-builder-workspace/Sources/Parsing/ResponseParser/DataResponseParser.swift /host/spi-builder-workspace/Sources/Parsing/ResponseParser/DictionaryParser.swift /host/spi-builder-workspace/Sources/Parsing/ResponseParser/JSONParser.swift /host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift /host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift /host/spi-builder-workspace/Sources/Parsing/ResponseParser/StringConvertibleParser.swift /host/spi-builder-workspace/Sources/Parsing/ResponseParser/StringParser.swift /host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift /host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Endpoints -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/Objects-normal/x86_64/Endpoints_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/Objects-normal/x86_64/Modules/Endpoints.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/Objects-normal/x86_64/Modules/Endpoints.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/Objects-normal/x86_64/Endpoints-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/Objects-normal/x86_64/Endpoints-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/Objects-normal/x86_64/Endpoints-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Endpoints.build/Debug-linux-x86_64/Endpoints-t.build/Objects-normal/x86_64/Modules/Endpoints.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux