The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HPNetwork, reference main (b778c3), with Swift 6.2 for Wasm on 9 Sep 2026 12:01:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
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:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/henrik-dmg/HPNetwork.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-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 from cache (0.46s)
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.65s)
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...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling HTTPTypes HTTPRequest.swift
[7/16] Compiling HTTPTypes HTTPFieldValue.swift
[8/16] Compiling HTTPTypes HTTP2ErrorCode.swift
[9/16] Compiling HTTPTypes HTTP3ErrorCode.swift
[10/16] Emitting module HTTPTypes
[11/16] Compiling HTTPTypes HTTPParsedFields.swift
[12/16] Compiling HTTPTypes HTTPField.swift
[13/16] Compiling HTTPTypes HTTPFieldName.swift
[14/16] Compiling HTTPTypes HTTPFields.swift
[15/16] Compiling HTTPTypes HTTPResponse.swift
[16/16] Compiling HTTPTypes HTTPRequest+URL.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/23] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[19/23] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | @available(HTTPTypes 1.0, *)
 50 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 51 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 52 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[20/23] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[21/23] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[22/23] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[23/23] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | @available(HTTPTypes 1.0, *)
 50 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 51 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 52 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:58:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 56 |     public func data(
 57 |         for request: HTTPRequest,
 58 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 59 |     ) async throws -> (Data, HTTPResponse) {
 60 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:79:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 77 |         for request: HTTPRequest,
 78 |         fromFile fileURL: URL,
 79 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 80 |     ) async throws -> (Data, HTTPResponse) {
 81 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:100:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 98 |         for request: HTTPRequest,
 99 |         from bodyData: Data,
100 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
101 |     ) async throws -> (Data, HTTPResponse) {
102 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:119:19: error: cannot find type 'URLSessionTaskDelegate' in scope
117 |     public func download(
118 |         for request: HTTPRequest,
119 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
120 |     ) async throws -> (URL, HTTPResponse) {
121 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.2 wasm