Build Information
Failed to build swift-http-client, reference main (76ded0), with Swift 6.2 for Wasm on 16 Jul 2026 03:22:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
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 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 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-54344844-2":/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
[782/8961] Fetching swift-http-types, swift-log
Fetched https://github.com/apple/swift-http-types from cache (0.45s)
[1781/7742] Fetching swift-log
[7743/33845] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log from cache (0.53s)
[784/26103] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.04s)
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.17s)
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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.6.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
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/46] Emitting module InternalCollectionsUtilities
[10/46] Compiling InternalCollectionsUtilities Debugging.swift
[11/46] Compiling InternalCollectionsUtilities Descriptions.swift
[12/46] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[13/48] Compiling HTTPTypes HTTPResponse.swift
[14/48] Compiling HTTPTypes ISOLatin1String.swift
[15/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[16/49] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[17/49] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/49] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[20/49] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[21/49] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/49] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[23/49] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[24/49] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/49] Compiling InternalCollectionsUtilities Span+Extras.swift
[26/49] Compiling Logging LoggingSystem.swift
[27/50] Compiling InternalCollectionsUtilities Integer rank.swift
[28/50] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/50] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/50] Compiling InternalCollectionsUtilities String+Padding.swift
[31/50] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/51] Compiling HTTPTypes HTTPRequest.swift
[34/51] Compiling Logging MetadataProvider.swift
[37/51] Compiling HTTPTypes NIOLock.swift
[38/51] Compiling HTTPTypes HTTPRequest+URL.swift
[39/51] Compiling Logging Logger+With.swift
[40/51] Compiling Logging Logger+Attributes.swift
[43/51] Emitting module Logging
[46/51] Compiling Logging Logger.swift
[48/88] Compiling ContainersPreview Drain+Map.swift
[49/88] Compiling ContainersPreview Drain+Reduce.swift
[50/88] Compiling ContainersPreview Drain.swift
[51/88] Compiling ContainersPreview Producer+Collect.swift
[52/88] Compiling ContainersPreview Producer+Filter.swift
[53/92] Compiling ContainersPreview Producer+Map.swift
[54/92] Compiling ContainersPreview Producer+Reduce.swift
[55/92] Compiling ContainersPreview Producer.swift
[56/92] Compiling ContainersPreview InputSpan.swift
[57/92] Compiling ContainersPreview MutableRef.swift
[58/92] Compiling ContainersPreview Container+SpanwiseZip.swift
[59/92] Compiling ContainersPreview Container.swift
[60/92] Compiling ContainersPreview ContainerIterator.swift
[61/92] Compiling ContainersPreview DynamicContainer.swift
[62/92] Compiling ContainersPreview MutableContainer.swift
[63/92] Emitting module ContainersPreview
[64/92] Compiling ContainersPreview Ref.swift
[65/92] Compiling ContainersPreview Shared.swift
[66/92] Compiling ContainersPreview SpanIterator.swift
[67/92] Compiling ContainersPreview UniqueBox.swift
[68/92] Compiling ContainersPreview PermutableContainer.swift
[69/92] Compiling ContainersPreview RandomAccessContainer.swift
[70/92] Compiling ContainersPreview RangeExpression2.swift
[71/92] Compiling ContainersPreview RangeReplaceableContainer.swift
[72/92] Compiling ContainersPreview Strideable+Limits.swift
[73/92] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[74/92] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[75/92] Compiling ContainersPreview BorrowingSequence.swift
[76/92] Compiling ContainersPreview BidirectionalContainer.swift
[77/92] Compiling ContainersPreview Container+Filter.swift
[78/92] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[79/92] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[80/92] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[81/92] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[82/92] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[83/92] Compiling ContainersPreview OutputSpan+Extras.swift
[84/92] Compiling ContainersPreview TemporaryAllocation.swift
[85/92] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[86/92] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[87/92] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[89/134] Compiling DequeModule UniqueDeque+Container.swift
[90/134] Compiling DequeModule UniqueDeque+Deprecated.swift
[91/134] Compiling DequeModule UniqueDeque+Descriptions.swift
[92/134] Compiling DequeModule UniqueDeque+Equatable.swift
[93/134] Compiling DequeModule UniqueDeque+Experimental.swift
[94/139] Compiling DequeModule UniqueDeque+Hashable.swift
[95/139] Compiling DequeModule UniqueDeque+Initializers.swift
[96/139] Compiling DequeModule UniqueDeque+Insertions.swift
[97/139] Compiling DequeModule UniqueDeque+Prepend.swift
[98/139] Compiling DequeModule UniqueDeque+Removals.swift
[99/139] Compiling DequeModule RigidDeque+Removals.swift
[100/139] Compiling DequeModule RigidDeque+Replacements.swift
[101/139] Compiling DequeModule RigidDeque+Testing.swift
[102/139] Compiling DequeModule RigidDeque.swift
[103/139] Compiling DequeModule UniqueDeque+Append.swift
[104/139] Compiling DequeModule UniqueDeque+Consumption.swift
[105/139] Compiling DequeModule RigidDeque+Equatable.swift
[106/139] Compiling DequeModule RigidDeque+Experimental.swift
[107/139] Compiling DequeModule RigidDeque+Hashable.swift
[108/139] Compiling DequeModule RigidDeque+Initializers.swift
[109/139] Compiling DequeModule RigidDeque+Insertions.swift
[110/139] Compiling DequeModule RigidDeque+Prepend.swift
[111/139] Compiling DequeModule Deque+Codable.swift
[112/139] Compiling DequeModule Deque+Collection.swift
[113/139] Compiling DequeModule Deque+CustomReflectable.swift
[114/139] Compiling DequeModule Deque+Descriptions.swift
[115/139] Compiling DequeModule Deque+Equatable.swift
[116/139] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[117/139] Compiling HTTPTypes HTTPParsedFields.swift
[120/139] Emitting module HTTPTypes
[121/139] Compiling HTTPTypes HTTPFields.swift
[123/146] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[124/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>
[125/146] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[126/146] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/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>
[128/146] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[129/146] Compiling DequeModule _DequeBuffer.swift
[130/146] Compiling DequeModule _DequeBufferHeader.swift
[131/146] Compiling DequeModule RigidDeque+Append.swift
[132/146] Compiling DequeModule RigidDeque+Consumption.swift
[133/146] Compiling DequeModule RigidDeque+Container.swift
[134/146] Compiling DequeModule RigidDeque+Descriptions.swift
BUILD FAILURE 6.2 wasm