The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-http-client, reference v0.4.1 (76ded0), with Swift 6.2 for Wasm on 16 Jul 2026 03:30:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grdsdev/swift-http-client.git
Reference: v0.4.1
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.1     -> FETCH_HEAD
HEAD is now at 76ded00 fix: sync upstream bug fixes from swift-openapi-urlsession PRs #94 and #95 (#11)
Cloned https://github.com/grdsdev/swift-http-client.git
Revision (git rev-parse @):
76ded0036ed406e8c5e0f72ab2f017057ac6f33c
SUCCESS checkout https://github.com/grdsdev/swift-http-client.git at v0.4.1
========================================
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-54344846-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:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-http-types
[1/1219] Fetching swift-http-types
[160/8961] Fetching swift-http-types, swift-log
[8962/35064] Fetching swift-http-types, swift-log, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (1.02s)
Fetched https://github.com/apple/swift-log from cache (1.02s)
Fetched https://github.com/apple/swift-collections from cache (1.03s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.6.0 (1.19s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.24s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.14.0 (0.16s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.14.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.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.6.0
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/46] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[10/46] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[11/46] Emitting module HTTPTypes
[12/47] Compiling InternalCollectionsUtilities Debugging.swift
[13/48] Compiling InternalCollectionsUtilities Descriptions.swift
[14/49] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/49] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/49] Compiling Logging Logger+With.swift
[17/50] Compiling Logging LoggingSystem.swift
[18/50] Compiling HTTPTypes ISOLatin1String.swift
[19/50] Compiling HTTPTypes HTTPResponse.swift
[20/50] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[21/50] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[22/50] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/50] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/50] Emitting module InternalCollectionsUtilities
[25/50] Compiling InternalCollectionsUtilities Integer rank.swift
[26/50] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/50] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/50] Compiling InternalCollectionsUtilities String+Padding.swift
[29/50] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[32/50] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[33/50] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[34/50] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[35/50] Compiling InternalCollectionsUtilities Span+Extras.swift
[37/51] Compiling HTTPTypes HTTPRequest.swift
[38/87] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[39/87] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[40/87] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[41/87] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[42/87] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[43/91] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[44/91] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[45/91] Compiling ContainersPreview BorrowingSequence.swift
[46/91] Compiling ContainersPreview BidirectionalContainer.swift
[47/91] Compiling ContainersPreview Container+Filter.swift
[48/91] Compiling ContainersPreview Producer+Map.swift
[49/91] Compiling ContainersPreview Producer+Reduce.swift
[50/91] Compiling ContainersPreview Producer.swift
[51/91] Compiling ContainersPreview InputSpan.swift
[52/91] Compiling ContainersPreview MutableRef.swift
[53/91] Compiling ContainersPreview Drain+Map.swift
[54/91] Compiling ContainersPreview Drain+Reduce.swift
[55/91] Compiling ContainersPreview Drain.swift
[56/91] Compiling ContainersPreview Producer+Collect.swift
[57/91] Compiling ContainersPreview Producer+Filter.swift
[58/91] Compiling ContainersPreview PermutableContainer.swift
[59/91] Compiling ContainersPreview RandomAccessContainer.swift
[60/91] Compiling ContainersPreview RangeExpression2.swift
[61/91] Compiling ContainersPreview RangeReplaceableContainer.swift
[62/91] Compiling ContainersPreview Strideable+Limits.swift
[63/91] Compiling ContainersPreview Container+SpanwiseZip.swift
[64/91] Compiling ContainersPreview Container.swift
[65/91] Compiling ContainersPreview ContainerIterator.swift
[66/91] Compiling ContainersPreview DynamicContainer.swift
[67/91] Compiling ContainersPreview MutableContainer.swift
[68/91] Compiling HTTPTypes NIOLock.swift
[69/91] Compiling ContainersPreview OutputSpan+Extras.swift
[70/91] Compiling ContainersPreview TemporaryAllocation.swift
[71/91] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[72/91] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[73/91] Compiling Logging Logger+Attributes.swift
[74/91] Compiling ContainersPreview Ref.swift
[75/91] Compiling ContainersPreview Shared.swift
[76/91] Compiling ContainersPreview SpanIterator.swift
[77/91] Compiling ContainersPreview UniqueBox.swift
[78/91] Compiling Logging Logger.swift
[79/91] Emitting module Logging
[80/91] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[82/91] Compiling HTTPTypes HTTPRequest+URL.swift
[83/91] Compiling HTTPTypes HTTPParsedFields.swift
[84/91] Compiling Logging MetadataProvider.swift
[85/92] Emitting module ContainersPreview
[93/134] Compiling DequeModule RigidDeque+Equatable.swift
[94/134] Compiling DequeModule RigidDeque+Experimental.swift
[95/134] Compiling DequeModule RigidDeque+Hashable.swift
[96/134] Compiling DequeModule RigidDeque+Initializers.swift
[97/134] Compiling DequeModule RigidDeque+Insertions.swift
[98/134] Compiling DequeModule RigidDeque+Prepend.swift
[99/139] Compiling DequeModule _DequeBuffer.swift
[100/139] Compiling DequeModule _DequeBufferHeader.swift
[101/139] Compiling DequeModule RigidDeque+Append.swift
[102/139] Compiling DequeModule RigidDeque+Consumption.swift
[103/139] Compiling DequeModule RigidDeque+Container.swift
[104/139] Compiling DequeModule RigidDeque+Descriptions.swift
[105/139] Compiling DequeModule UniqueDeque+Container.swift
[106/139] Compiling DequeModule UniqueDeque+Deprecated.swift
[107/139] Compiling DequeModule UniqueDeque+Descriptions.swift
[108/139] Compiling DequeModule UniqueDeque+Equatable.swift
[109/139] Compiling DequeModule UniqueDeque+Experimental.swift
[110/139] Compiling DequeModule UniqueDeque+Hashable.swift
[111/139] Compiling DequeModule UniqueDeque+Initializers.swift
[112/139] Compiling DequeModule UniqueDeque+Insertions.swift
[113/139] Compiling DequeModule UniqueDeque+Prepend.swift
[114/139] Compiling DequeModule UniqueDeque+Removals.swift
[115/139] Compiling DequeModule RigidDeque+Removals.swift
[116/139] Compiling DequeModule RigidDeque+Replacements.swift
[117/139] Compiling DequeModule RigidDeque+Testing.swift
[118/139] Compiling DequeModule RigidDeque.swift
[119/139] Compiling DequeModule UniqueDeque+Append.swift
[120/139] Compiling DequeModule UniqueDeque+Consumption.swift
[121/139] Compiling DequeModule Deque+Codable.swift
[122/139] Compiling DequeModule Deque+Collection.swift
[123/139] Compiling DequeModule Deque+CustomReflectable.swift
[124/139] Compiling DequeModule Deque+Descriptions.swift
[125/139] Compiling DequeModule Deque+Equatable.swift
[126/139] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[127/139] Compiling DequeModule Deque+Extras.swift
[128/139] Compiling DequeModule Deque+Hashable.swift
[129/139] Compiling DequeModule Deque+Testing.swift
[130/139] Compiling DequeModule Deque._Storage.swift
[131/139] Compiling DequeModule Deque._UnsafeHandle.swift
[132/139] Compiling DequeModule Deque.swift
[133/139] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[135/146] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[136/146] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[137/146] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[138/146] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[139/146] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:48:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 46 |
 47 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 48 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 49 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 50 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:152:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
150 |
151 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
152 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
154 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[140/146] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:48:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 46 |
 47 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 48 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 49 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 50 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:152:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
150 |
151 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
152 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
154 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:56:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 54 |     public func data(
 55 |         for request: HTTPRequest,
 56 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 57 |     ) async throws -> (Data, HTTPResponse) {
 58 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:77:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 75 |         for request: HTTPRequest,
 76 |         fromFile fileURL: URL,
 77 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 78 |     ) async throws -> (Data, HTTPResponse) {
 79 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:98:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 96 |         for request: HTTPRequest,
 97 |         from bodyData: Data,
 98 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 99 |     ) async throws -> (Data, HTTPResponse) {
100 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:117:19: error: cannot find type 'URLSessionTaskDelegate' in scope
115 |     public func download(
116 |         for request: HTTPRequest,
117 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
118 |     ) async throws -> (URL, HTTPResponse) {
119 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.2 wasm