The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-http-client, reference v0.4.0 (192238), with Swift 6.2 for Wasm on 25 Feb 2026 22:09:47 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grdsdev/swift-http-client.git
Reference: v0.4.0
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
 * tag               v0.4.0     -> FETCH_HEAD
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 v0.4.0
========================================
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/20039] Fetching swift-collections
[402/20990] Fetching swift-collections, swift-http-types
[2556/27080] Fetching swift-collections, swift-http-types, swift-log
Fetched https://github.com/apple/swift-http-types from cache (0.54s)
[4667/26129] Fetching swift-collections, swift-log
Fetched https://github.com/apple/swift-log from cache (2.35s)
Fetched https://github.com/apple/swift-collections from cache (2.41s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (3.27s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (1.02s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.80s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
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
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/37] Emitting module InternalCollectionsUtilities
[9/39] Emitting module HTTPTypes
[10/40] Compiling HTTPTypes ISOLatin1String.swift
[11/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[13/40] Compiling InternalCollectionsUtilities Debugging.swift
[14/40] Compiling InternalCollectionsUtilities Descriptions.swift
[15/40] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[16/40] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[17/40] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[18/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[20/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[21/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/40] Compiling InternalCollectionsUtilities Integer rank.swift
[25/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[26/40] Compiling HTTPTypes HTTPField.swift
[27/40] Compiling HTTPTypes HTTPFieldName.swift
[29/41] Compiling HTTPTypes NIOLock.swift
[30/41] Compiling Logging MetadataProvider.swift
[31/41] Compiling HTTPTypes HTTPResponse.swift
[32/41] Compiling HTTPTypes HTTPRequest.swift
[33/56] Compiling HTTPTypes HTTPParsedFields.swift
[34/56] Compiling HTTPTypes HTTPRequest+URL.swift
[35/56] Compiling Logging Locks.swift
[36/56] Emitting module Logging
[37/56] Compiling Logging LogHandler.swift
[38/56] Compiling Logging Logging.swift
[39/57] Compiling DequeModule _DequeBuffer.swift
[40/57] Compiling DequeModule _DequeBufferHeader.swift
[42/59] Compiling DequeModule _DequeSlot.swift
[43/59] Compiling DequeModule _UnsafeWrappedBuffer.swift
[44/59] Compiling DequeModule Deque+Testing.swift
[45/59] Compiling DequeModule Deque._Storage.swift
[46/59] Compiling DequeModule Deque+Equatable.swift
[47/59] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[48/59] Compiling DequeModule Deque+CustomReflectable.swift
[49/59] Compiling DequeModule Deque+Descriptions.swift
[50/59] Compiling DequeModule Deque+Extras.swift
[51/59] Compiling DequeModule Deque+Hashable.swift
[52/59] Compiling DequeModule Deque._UnsafeHandle.swift
[53/59] Compiling DequeModule Deque.swift
[54/59] Compiling DequeModule Deque+Codable.swift
[55/59] Compiling DequeModule Deque+Collection.swift
[56/59] Compiling HTTPTypes HTTPFields.swift
[60/60] Emitting module DequeModule
[62/67] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/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>
[64/67] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[65/67] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[66/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>
[67/67] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
BUILD FAILURE 6.2 wasm