The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HPNetwork, reference main (b778c3), with Swift 6.4 for Linux on 20 Sep 2026 15:37:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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/henrik-dmg/HPNetwork.git
Reference: main
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/henrik-dmg/HPNetwork
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b778c38 fix error
Cloned https://github.com/henrik-dmg/HPNetwork.git
Revision (git rev-parse @):
b778c3806c3c93555634ff0bdd58074695d966f5
SUCCESS checkout https://github.com/henrik-dmg/HPNetwork.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/henrik-dmg/HPNetwork.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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
Fetching https://github.com/apple/swift-http-types.git
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.48s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.71s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[47 / 77] HTTPTypes
[55 / 84] HTTPTypes
[59 / 84] HTTPTypesFoundation
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:8:24: error: cannot find type 'URLSessionTaskDelegate' in scope
 6 |     func response<Request: NetworkRequest>(
 7 |         _ request: Request,
 8 |         delegate: (any URLSessionTaskDelegate)?
   |                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |     ) async throws -> NetworkResponse<Request.Output>
10 |
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:13:24: error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     func result<Request: NetworkRequest>(
12 |         _ request: Request,
13 |         delegate: (any URLSessionTaskDelegate)?
   |                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     ) async -> Request.NetworkResult
15 |
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:18:24: error: cannot find type 'URLSessionTaskDelegate' in scope
16 |     func schedule<Request: NetworkRequest>(
17 |         _ request: Request,
18 |         delegate: (any URLSessionTaskDelegate)?
   |                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
19 |     ) -> Request.NetworkTask
20 |
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:27:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |     /// The `URLSession` instance that will be used to execute network requests.
27 |     private let urlSession: URLSession
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |     /// Creates a new network client.
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/HPNetwork/NetworkClient.swift:31:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     /// Creates a new network client.
30 |     /// - Parameter urlSession: The `URLSession` instance that will be used to execute network requests
31 |     public init(urlSession: URLSession) {
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         self.urlSession = urlSession
33 |     }
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/HPNetwork/NetworkClient.swift:37:24: error: cannot find type 'URLSessionTaskDelegate' in scope
35 |     public func response<Request: NetworkRequest>(
36 |         _ request: Request,
37 |         delegate: (any URLSessionTaskDelegate)? = nil
   |                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
38 |     ) async throws -> NetworkResponse<Request.Output> {
39 |         try await request.response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:44:24: error: cannot find type 'URLSessionTaskDelegate' in scope
42 |     public func result<Request: NetworkRequest>(
43 |         _ request: Request,
44 |         delegate: (any URLSessionTaskDelegate)? = nil
   |                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
45 |     ) async -> Request.NetworkResult {
46 |         await request.result(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:51:24: error: cannot find type 'URLSessionTaskDelegate' in scope
49 |     public func schedule<Request: NetworkRequest>(
50 |         _ request: Request,
51 |         delegate: (any URLSessionTaskDelegate)? = nil
   |                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
52 |     ) -> Request.NetworkTask where Request.Output: Sendable {
53 |         request.schedule(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:27:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkClient' has non-Sendable type 'AnyObject'
25 |
26 |     /// The `URLSession` instance that will be used to execute network requests.
27 |     private let urlSession: URLSession
   |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkClient' has non-Sendable type 'AnyObject'
28 |
29 |     /// Creates a new network client.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:27:58: error: cannot find type 'URLSessionTaskDelegate' in scope
 25 |     /// - Returns: The network response containing the converted output along with some metadata
 26 |     /// - Throws: If the networking failed or converting the response to the desired output type failed
 27 |     func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response
    |                                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
 28 |
 29 |     /// Executes the request and returns the result.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:27:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     /// - Returns: The network response containing the converted output along with some metadata
 26 |     /// - Throws: If the networking failed or converting the response to the desired output type failed
 27 |     func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |
 29 |     /// Executes the request and returns the result.
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/HPNetwork/Requests/DataRequest.swift:34:56: error: cannot find type 'URLSessionTaskDelegate' in scope
 32 |     ///   - delegate: The delegate to use
 33 |     /// - Returns: The result of the network request
 34 |     func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult
    |                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
 35 |
 36 |     /// Executes the request and calls the completion handler with the result.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:34:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   - delegate: The delegate to use
 33 |     /// - Returns: The result of the network request
 34 |     func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Executes the request and calls the completion handler with the result.
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/HPNetwork/Requests/DataRequest.swift:41:58: error: cannot find type 'URLSessionTaskDelegate' in scope
 39 |     ///   - delegate: The delegate to use
 40 |     /// - Returns: A cancellable `Task` instance
 41 |     func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask
    |                                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
 42 |
 43 | }
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:41:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     ///   - delegate: The delegate to use
 40 |     /// - Returns: A cancellable `Task` instance
 41 |     func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |
 43 | }
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/HPNetwork/Requests/DataRequest.swift:50:65: error: cannot find type 'URLSessionTaskDelegate' in scope
 48 |
 49 |     @discardableResult
 50 |     public func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response {
    |                                                                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
 51 |         // Make request
 52 |         let request = try makeRequest()
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:50:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |
 49 |     @discardableResult
 50 |     public func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response {
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         // Make request
 52 |         let request = try makeRequest()
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/HPNetwork/Requests/DataRequest.swift:91:63: error: cannot find type 'URLSessionTaskDelegate' in scope
 89 |
 90 |     @discardableResult
 91 |     public func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult {
    |                                                               `- error: cannot find type 'URLSessionTaskDelegate' in scope
 92 |         do {
 93 |             let result = try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:91:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |
 90 |     @discardableResult
 91 |     public func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |         do {
 93 |             let result = try await response(urlSession: urlSession, delegate: delegate)
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/HPNetwork/Requests/DataRequest.swift:101:65: error: cannot find type 'URLSessionTaskDelegate' in scope
 99 |
100 |     @discardableResult
101 |     public func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask where Output: Sendable {
    |                                                                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
102 |         NetworkTask {
103 |             try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:101:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |
100 |     @discardableResult
101 |     public func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask where Output: Sendable {
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
102 |         NetworkTask {
103 |             try await response(urlSession: urlSession, delegate: delegate)
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/HPNetwork/Requests/DownloadRequest.swift:19:65: error: cannot find type 'URLSessionTaskDelegate' in scope
17 |
18 |     @discardableResult
19 |     public func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response {
   |                                                                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
20 |         let request = try makeRequest()
21 |         let startTime = DispatchTime.now()
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:19:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 |     @discardableResult
19 |     public func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response {
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         let request = try makeRequest()
21 |         let startTime = DispatchTime.now()
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/HPNetwork/Requests/DownloadRequest.swift:60:63: error: cannot find type 'URLSessionTaskDelegate' in scope
58 |
59 |     @discardableResult
60 |     public func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult {
   |                                                               `- error: cannot find type 'URLSessionTaskDelegate' in scope
61 |         do {
62 |             let result = try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:60:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |
59 |     @discardableResult
60 |     public func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult {
   |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         do {
62 |             let result = try await response(urlSession: urlSession, delegate: delegate)
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/HPNetwork/Requests/DownloadRequest.swift:70:65: error: cannot find type 'URLSessionTaskDelegate' in scope
68 |
69 |     @discardableResult
70 |     public func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask where Output: Sendable {
   |                                                                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
71 |         NetworkTask {
72 |             try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:70:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 |
69 |     @discardableResult
70 |     public func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask where Output: Sendable {
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 |         NetworkTask {
72 |             try await response(urlSession: urlSession, delegate: delegate)
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/HPNetwork/Requests/NetworkRequest.swift:51:58: error: cannot find type 'URLSessionTaskDelegate' in scope
 49 |     /// - Returns: a wrapper object containing an instance of ``Output`` along with the elapsed time for both networking and processing in seconds
 50 |     /// - Throws: Throws an error when anything went wrong while executing the network request
 51 |     func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response
    |                                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
 52 |
 53 |     /// Uses all the provided information to create a `URLRequest` and handles that request's result accordingly.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:51:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |     /// - Returns: a wrapper object containing an instance of ``Output`` along with the elapsed time for both networking and processing in seconds
 50 |     /// - Throws: Throws an error when anything went wrong while executing the network request
 51 |     func response(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async throws -> Response
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |
 53 |     /// Uses all the provided information to create a `URLRequest` and handles that request's result accordingly.
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/HPNetwork/Requests/NetworkRequest.swift:59:56: error: cannot find type 'URLSessionTaskDelegate' in scope
 57 |     /// - Returns: a result with either a wrapper object containing an instance of ``Output`` along with the elapsed time for
 58 |     /// both networking and processing in seconds or an error
 59 |     func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult
    |                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
 60 |
 61 |     /// Uses all the provided information to create a `URLRequest` and schedules that request.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:59:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     /// - Returns: a result with either a wrapper object containing an instance of ``Output`` along with the elapsed time for
 58 |     /// both networking and processing in seconds or an error
 59 |     func result(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     /// Uses all the provided information to create a `URLRequest` and schedules that request.
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/HPNetwork/Requests/NetworkRequest.swift:66:58: error: cannot find type 'URLSessionTaskDelegate' in scope
 64 |     ///   - delegate: The delegate that can be used to inspect and react to the network traffic while the request is running
 65 |     /// - Returns: A task that wraps the running network request
 66 |     func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask
    |                                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
 67 |
 68 |     /// A method that can be used to validate the response of a network request before any further processing will be attempted.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:66:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |     ///   - delegate: The delegate that can be used to inspect and react to the network traffic while the request is running
 65 |     /// - Returns: A task that wraps the running network request
 66 |     func schedule(urlSession: URLSession, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     /// A method that can be used to validate the response of a network request before any further processing will be attempted.
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/HPNetwork/Requests/NetworkRequest.swift:80:41: error: cannot find type 'URLRequest' in scope
 78 |     /// Constructs a `URLRequest` from the provided values.
 79 |     /// - Returns: a new `URLRequest` instance
 80 |     public func makeRequest() throws -> URLRequest {
    |                                         `- error: cannot find type 'URLRequest' in scope
 81 |         let url = try makeURL()
 82 |
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:149:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 |     /// - Throws: Throws an error when anything went wrong while executing the network request
148 |     @discardableResult
149 |     public func response(urlSession: URLSession) async throws -> Response {
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
150 |         try await response(urlSession: urlSession, delegate: nil)
151 |     }
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/HPNetwork/Requests/NetworkRequest.swift:158:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |     /// both networking and processing in seconds or an error
157 |     @discardableResult
158 |     public func result(urlSession: URLSession) async -> NetworkResult {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |         await result(urlSession: urlSession, delegate: nil)
160 |     }
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/HPNetwork/Requests/NetworkRequest.swift:166:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |     /// - Returns: A task that wraps the running network request
165 |     @discardableResult
166 |     public func schedule(urlSession: URLSession) -> NetworkTask {
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         schedule(urlSession: urlSession, delegate: nil)
168 |     }
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/HPNetwork/Authorization/Authorization.swift /host/spi-builder-workspace/Sources/HPNetwork/Authorization/BasicAuthorization.swift /host/spi-builder-workspace/Sources/HPNetwork/Authorization/BearerAuthorization.swift /host/spi-builder-workspace/Sources/HPNetwork/HTTPTypes+Proxy.swift /host/spi-builder-workspace/Sources/HPNetwork/Header\ Fields/ContentType+HTTPField.swift /host/spi-builder-workspace/Sources/HPNetwork/Header\ Fields/HTTPFieldBuilder.swift /host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift /host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift /host/spi-builder-workspace/Sources/HPNetwork/Requests/DecodableRequest.swift /host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift /host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift /host/spi-builder-workspace/Sources/HPNetwork/Responses/NetworkResponse.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/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HPNetwork -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/Objects-normal/x86_64/HPNetwork_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/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/Objects-normal/x86_64/Modules/HPNetwork.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/Objects-normal/x86_64/Modules/HPNetwork.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/Objects-normal/x86_64/HPNetwork-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/Objects-normal/x86_64/HPNetwork-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/Objects-normal/x86_64/HPNetwork-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/HPNetwork.build/Debug-linux-x86_64/HPNetwork-t.build/Objects-normal/x86_64/Modules/HPNetwork.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux