Build Information
Failed to build swift-http-client, reference main (192238), with Swift 6.2 for Wasm on 25 Feb 2026 22:12:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grdsdev/swift-http-client.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/grdsdev/swift-http-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1922381 feat: migrate to Swift 6.0 with sending/consuming annotations (#9)
Cloned https://github.com/grdsdev/swift-http-client.git
Revision (git rev-parse @):
192238148a6c166e0edb4b5c96faadfd7d2734f8
SUCCESS checkout https://github.com/grdsdev/swift-http-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/grdsdev/swift-http-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-http-types
[1/951] Fetching swift-http-types
[905/7041] Fetching swift-http-types, swift-log
[1257/27080] Fetching swift-http-types, swift-log, swift-collections
Fetched https://github.com/apple/swift-log from cache (0.91s)
Fetched https://github.com/apple/swift-http-types from cache (0.91s)
[2004/20039] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.43s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (3.24s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (1.08s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.82s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/37] Emitting module HTTPTypes
[9/38] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[10/38] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[11/40] Compiling InternalCollectionsUtilities Debugging.swift
[12/40] Compiling InternalCollectionsUtilities Descriptions.swift
[13/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[14/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/40] Compiling InternalCollectionsUtilities Integer rank.swift
[17/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[19/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/40] Emitting module InternalCollectionsUtilities
[21/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[22/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/40] Compiling HTTPTypes ISOLatin1String.swift
[26/40] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[27/40] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[29/41] Compiling HTTPTypes HTTPRequest.swift
[30/56] Compiling HTTPTypes HTTPResponse.swift
[31/56] Compiling DequeModule Deque+Equatable.swift
[32/56] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[33/58] Compiling DequeModule Deque+CustomReflectable.swift
[34/58] Compiling DequeModule Deque+Descriptions.swift
[35/58] Compiling DequeModule _DequeBuffer.swift
[36/58] Compiling DequeModule _DequeBufferHeader.swift
[37/58] Compiling Logging MetadataProvider.swift
[38/58] Compiling HTTPTypes NIOLock.swift
[39/58] Compiling HTTPTypes HTTPRequest+URL.swift
[40/58] Compiling HTTPTypes HTTPParsedFields.swift
[41/58] Compiling DequeModule Deque+Extras.swift
[42/58] Compiling DequeModule Deque+Hashable.swift
[43/58] Compiling DequeModule _DequeSlot.swift
[44/58] Compiling DequeModule _UnsafeWrappedBuffer.swift
[45/58] Compiling DequeModule Deque+Testing.swift
[46/58] Compiling DequeModule Deque._Storage.swift
[47/58] Compiling DequeModule Deque._UnsafeHandle.swift
[48/58] Compiling DequeModule Deque.swift
[49/58] Compiling Logging LogHandler.swift
[50/58] Compiling Logging Locks.swift
[51/58] Emitting module Logging
[52/58] Compiling Logging Logging.swift
[53/58] Compiling DequeModule Deque+Codable.swift
[54/58] Compiling DequeModule Deque+Collection.swift
[56/59] Emitting module DequeModule
[60/60] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/67] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 |
50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
51 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
53 | ///
/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 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.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>
[63/67] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[64/67] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[65/67] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 |
50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
51 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
53 | ///
/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 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.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:59:19: error: cannot find type 'URLSessionTaskDelegate' in scope
57 | public func data(
58 | for request: HTTPRequest,
59 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
60 | ) async throws -> (Data, HTTPResponse) {
61 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:80:19: error: cannot find type 'URLSessionTaskDelegate' in scope
78 | for request: HTTPRequest,
79 | fromFile fileURL: URL,
80 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
81 | ) async throws -> (Data, HTTPResponse) {
82 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:101:19: error: cannot find type 'URLSessionTaskDelegate' in scope
99 | for request: HTTPRequest,
100 | from bodyData: Data,
101 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
102 | ) async throws -> (Data, HTTPResponse) {
103 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:120:19: error: cannot find type 'URLSessionTaskDelegate' in scope
118 | public func download(
119 | for request: HTTPRequest,
120 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
121 | ) async throws -> (URL, HTTPResponse) {
122 | guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[66/67] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[67/67] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
BUILD FAILURE 6.2 wasm