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>&1Build 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: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m6 |[0;0m func response<Request: NetworkRequest>(
[0;36m7 |[0;0m _ request: Request,
[0;36m8 |[0;0m delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m9 |[0;0m ) async throws -> NetworkResponse<Request.Output>
[0;36m10 |[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:13:24: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m11 |[0;0m func result<Request: NetworkRequest>(
[0;36m12 |[0;0m _ request: Request,
[0;36m13 |[0;0m delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m14 |[0;0m ) async -> Request.NetworkResult
[0;36m15 |[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:18:24: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m16 |[0;0m func schedule<Request: NetworkRequest>(
[0;36m17 |[0;0m _ request: Request,
[0;36m18 |[0;0m delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m19 |[0;0m ) -> Request.NetworkTask
[0;36m20 |[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:27:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m /// The `URLSession` instance that will be used to execute network requests.
[0;36m27 |[0;0m private let urlSession: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /// Creates a new network client.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:31:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m /// Creates a new network client.
[0;36m30 |[0;0m /// - Parameter urlSession: The `URLSession` instance that will be used to execute network requests
[0;36m31 |[0;0m public init(urlSession: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m self.urlSession = urlSession
[0;36m33 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:37:24: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m35 |[0;0m public func response<Request: NetworkRequest>(
[0;36m36 |[0;0m _ request: Request,
[0;36m37 |[0;0m delegate: (any [4;39mURLSessionTaskDelegate[0;0m)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m38 |[0;0m ) async throws -> NetworkResponse<Request.Output> {
[0;36m39 |[0;0m try await request.response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:44:24: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m42 |[0;0m public func result<Request: NetworkRequest>(
[0;36m43 |[0;0m _ request: Request,
[0;36m44 |[0;0m delegate: (any [4;39mURLSessionTaskDelegate[0;0m)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m45 |[0;0m ) async -> Request.NetworkResult {
[0;36m46 |[0;0m await request.result(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:51:24: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m49 |[0;0m public func schedule<Request: NetworkRequest>(
[0;36m50 |[0;0m _ request: Request,
[0;36m51 |[0;0m delegate: (any [4;39mURLSessionTaskDelegate[0;0m)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m52 |[0;0m ) -> Request.NetworkTask where Request.Output: Sendable {
[0;36m53 |[0;0m request.schedule(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/NetworkClient.swift:27:17: [1;31merror: [1;39mstored property 'urlSession' of 'Sendable'-conforming class 'NetworkClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m /// The `URLSession` instance that will be used to execute network requests.
[0;36m27 |[0;0m private let urlSession: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'urlSession' of 'Sendable'-conforming class 'NetworkClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /// Creates a new network client.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:27:58: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m25 |[0;0m /// - Returns: The network response containing the converted output along with some metadata
[0;36m26 |[0;0m /// - Throws: If the networking failed or converting the response to the desired output type failed
[0;36m27 |[0;0m func response(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async throws -> Response
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /// Executes the request and returns the result.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:27:31: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m /// - Returns: The network response containing the converted output along with some metadata
[0;36m26 |[0;0m /// - Throws: If the networking failed or converting the response to the desired output type failed
[0;36m27 |[0;0m func response(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async throws -> Response
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /// Executes the request and returns the result.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:34:56: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m32 |[0;0m /// - delegate: The delegate to use
[0;36m33 |[0;0m /// - Returns: The result of the network request
[0;36m34 |[0;0m func result(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async -> NetworkResult
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Executes the request and calls the completion handler with the result.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:34:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m /// - delegate: The delegate to use
[0;36m33 |[0;0m /// - Returns: The result of the network request
[0;36m34 |[0;0m func result(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Executes the request and calls the completion handler with the result.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:41:58: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m39 |[0;0m /// - delegate: The delegate to use
[0;36m40 |[0;0m /// - Returns: A cancellable `Task` instance
[0;36m41 |[0;0m func schedule(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) -> NetworkTask
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m42 |[0;0m
[0;36m43 |[0;0m }
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:41:31: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m /// - delegate: The delegate to use
[0;36m40 |[0;0m /// - Returns: A cancellable `Task` instance
[0;36m41 |[0;0m func schedule(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m
[0;36m43 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:50:65: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m @discardableResult
[0;36m50 |[0;0m public func response(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async throws -> Response {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m51 |[0;0m // Make request
[0;36m52 |[0;0m let request = try makeRequest()
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:50:38: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m @discardableResult
[0;36m50 |[0;0m public func response(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async throws -> Response {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m // Make request
[0;36m52 |[0;0m let request = try makeRequest()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:91:63: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m89 |[0;0m
[0;36m90 |[0;0m @discardableResult
[0;36m91 |[0;0m public func result(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async -> NetworkResult {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m92 |[0;0m do {
[0;36m93 |[0;0m let result = try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:91:36: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m89 |[0;0m
[0;36m90 |[0;0m @discardableResult
[0;36m91 |[0;0m public func result(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m92 |[0;0m do {
[0;36m93 |[0;0m let result = try await response(urlSession: urlSession, delegate: delegate)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:101:65: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m99 |[0;0m
[0;36m100 |[0;0m @discardableResult
[0;36m101 |[0;0m public func schedule(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) -> NetworkTask where Output: Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m102 |[0;0m NetworkTask {
[0;36m103 |[0;0m try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:101:38: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m99 |[0;0m
[0;36m100 |[0;0m @discardableResult
[0;36m101 |[0;0m public func schedule(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask where Output: Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m102 |[0;0m NetworkTask {
[0;36m103 |[0;0m try await response(urlSession: urlSession, delegate: delegate)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:19:65: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m @discardableResult
[0;36m19 |[0;0m public func response(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async throws -> Response {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m20 |[0;0m let request = try makeRequest()
[0;36m21 |[0;0m let startTime = DispatchTime.now()
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:19:38: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m @discardableResult
[0;36m19 |[0;0m public func response(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async throws -> Response {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m let request = try makeRequest()
[0;36m21 |[0;0m let startTime = DispatchTime.now()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:60:63: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m @discardableResult
[0;36m60 |[0;0m public func result(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async -> NetworkResult {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m61 |[0;0m do {
[0;36m62 |[0;0m let result = try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:60:36: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m @discardableResult
[0;36m60 |[0;0m public func result(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m do {
[0;36m62 |[0;0m let result = try await response(urlSession: urlSession, delegate: delegate)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:70:65: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m @discardableResult
[0;36m70 |[0;0m public func schedule(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) -> NetworkTask where Output: Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m71 |[0;0m NetworkTask {
[0;36m72 |[0;0m try await response(urlSession: urlSession, delegate: delegate)
/host/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:70:38: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m @discardableResult
[0;36m70 |[0;0m public func schedule(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask where Output: Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m NetworkTask {
[0;36m72 |[0;0m try await response(urlSession: urlSession, delegate: delegate)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:51:58: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m49 |[0;0m /// - Returns: a wrapper object containing an instance of ``Output`` along with the elapsed time for both networking and processing in seconds
[0;36m50 |[0;0m /// - Throws: Throws an error when anything went wrong while executing the network request
[0;36m51 |[0;0m func response(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async throws -> Response
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m52 |[0;0m
[0;36m53 |[0;0m /// 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: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m /// - Returns: a wrapper object containing an instance of ``Output`` along with the elapsed time for both networking and processing in seconds
[0;36m50 |[0;0m /// - Throws: Throws an error when anything went wrong while executing the network request
[0;36m51 |[0;0m func response(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async throws -> Response
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m
[0;36m53 |[0;0m /// Uses all the provided information to create a `URLRequest` and handles that request's result accordingly.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:59:56: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m57 |[0;0m /// - Returns: a result with either a wrapper object containing an instance of ``Output`` along with the elapsed time for
[0;36m58 |[0;0m /// both networking and processing in seconds or an error
[0;36m59 |[0;0m func result(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) async -> NetworkResult
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m /// Uses all the provided information to create a `URLRequest` and schedules that request.
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:59:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m /// - Returns: a result with either a wrapper object containing an instance of ``Output`` along with the elapsed time for
[0;36m58 |[0;0m /// both networking and processing in seconds or an error
[0;36m59 |[0;0m func result(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) async -> NetworkResult
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m /// Uses all the provided information to create a `URLRequest` and schedules that request.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:66:58: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m64 |[0;0m /// - delegate: The delegate that can be used to inspect and react to the network traffic while the request is running
[0;36m65 |[0;0m /// - Returns: A task that wraps the running network request
[0;36m66 |[0;0m func schedule(urlSession: URLSession, delegate: (any [4;39mURLSessionTaskDelegate[0;0m)?) -> NetworkTask
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m /// 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: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m /// - delegate: The delegate that can be used to inspect and react to the network traffic while the request is running
[0;36m65 |[0;0m /// - Returns: A task that wraps the running network request
[0;36m66 |[0;0m func schedule(urlSession: [4;39mURLSession[0;0m, delegate: (any URLSessionTaskDelegate)?) -> NetworkTask
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m /// 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: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:80:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m78 |[0;0m /// Constructs a `URLRequest` from the provided values.
[0;36m79 |[0;0m /// - Returns: a new `URLRequest` instance
[0;36m80 |[0;0m public func makeRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m81 |[0;0m let url = try makeURL()
[0;36m82 |[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:149:38: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m147 |[0;0m /// - Throws: Throws an error when anything went wrong while executing the network request
[0;36m148 |[0;0m @discardableResult
[0;36m149 |[0;0m public func response(urlSession: [4;39mURLSession[0;0m) async throws -> Response {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m150 |[0;0m try await response(urlSession: urlSession, delegate: nil)
[0;36m151 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:158:36: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m156 |[0;0m /// both networking and processing in seconds or an error
[0;36m157 |[0;0m @discardableResult
[0;36m158 |[0;0m public func result(urlSession: [4;39mURLSession[0;0m) async -> NetworkResult {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m159 |[0;0m await result(urlSession: urlSession, delegate: nil)
[0;36m160 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HPNetwork/Requests/NetworkRequest.swift:166:38: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m164 |[0;0m /// - Returns: A task that wraps the running network request
[0;36m165 |[0;0m @discardableResult
[0;36m166 |[0;0m public func schedule(urlSession: [4;39mURLSession[0;0m) -> NetworkTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m167 |[0;0m schedule(urlSession: urlSession, delegate: nil)
[0;36m168 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
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