Build Information
Failed to build swift-api-client, reference main (e504f5), with Swift 6.3 for Wasm on 17 Apr 2026 03:34:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-api-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/dankinsoid/swift-api-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e504f5c Remove unnecessary platform-specific imports from RetryModifierTests
Cloned https://github.com/dankinsoid/swift-api-client.git
Revision (git rev-parse @):
e504f5c413034dcafe8e769f336658d94c017fb2
SUCCESS checkout https://github.com/dankinsoid/swift-api-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/dankinsoid/swift-api-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-metrics.git
[1/3154] Fetching swift-metrics
[3155/4197] Fetching swift-metrics, swift-http-types
Fetched https://github.com/apple/swift-metrics.git from cache (0.62s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.68s)
[1/74985] Fetching swift-syntax
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/swiftlang/swift-syntax from cache (9.87s)
[1/6611] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.04s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (11.78s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.0 (1.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.34s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.55s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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.5.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/46] Write sources
[13/46] Compiling _SwiftSyntaxCShims dummy.c
[14/46] Write sources
[28/46] Write swift-version-24593BA9C3E375BF.txt
[30/87] Compiling SwiftSyntax509 Empty.swift
[31/87] Emitting module SwiftSyntax509
[33/88] Compiling Logging LogEvent.swift
[34/88] Emitting module SwiftSyntax510
[35/88] Compiling SwiftSyntax510 Empty.swift
[37/89] Compiling HTTPTypes ISOLatin1String.swift
[37/95] Wrapping AST for SwiftSyntax510 for debugging
[39/95] Emitting module SwiftSyntax600
[40/95] Compiling SwiftSyntax600 Empty.swift
[42/96] Compiling CoreMetrics WithMetricsFactory.swift
[42/96] Wrapping AST for SwiftSyntax509 for debugging
[44/96] Compiling Logging LogEvent.swift
[45/96] Compiling HTTPTypes ISOLatin1String.swift
[45/97] Wrapping AST for SwiftSyntax600 for debugging
[47/97] Compiling CoreMetrics WithMetricsFactory.swift
[48/161] Compiling HTTPTypes HTTPResponse.swift
[49/161] Compiling HTTPTypes HTTPRequest.swift
[50/161] Compiling HTTPTypes HTTPResponse.swift
[51/161] Compiling HTTPTypes HTTPRequest.swift
[52/161] Compiling CoreMetrics MappingMetricsFactory.swift
[53/161] Compiling CoreMetrics Metrics.swift
[54/161] Emitting module Logging
[55/161] Compiling Logging Locks.swift
[56/161] Emitting module CoreMetrics
[57/161] Compiling HTTPTypes NIOLock.swift
[58/161] Compiling Logging MetadataProvider.swift
[59/161] Compiling HTTPTypes HTTPParsedFields.swift
[60/161] Compiling HTTPTypes HTTPRequest+URL.swift
[61/161] Compiling Logging MetadataProvider.swift
[62/161] Compiling CoreMetrics Locks.swift
[63/161] Emitting module CoreMetrics
[64/162] Compiling HTTPTypes NIOLock.swift
[65/162] Compiling Logging Locks.swift
[66/162] Emitting module Logging
[67/162] Compiling HTTPTypes HTTPParsedFields.swift
[68/162] Compiling HTTPTypes HTTPRequest+URL.swift
[70/164] Compiling Logging LogHandler.swift
[71/164] Compiling Logging Logging.swift
[73/165] Compiling CoreMetrics MappingMetricsFactory.swift
[74/165] Compiling CoreMetrics Metrics.swift
[75/165] Compiling CoreMetrics Locks.swift
[77/166] Compiling Logging Logging.swift
[78/166] Compiling Logging LogHandler.swift
[80/169] Compiling HTTPTypes HTTPFields.swift
[81/169] Emitting module HTTPTypes
[82/169] Compiling SwiftSyntax AbsolutePosition.swift
[83/169] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[87/176] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[88/176] Compiling SwiftSyntax Assert.swift
[89/176] Compiling SwiftSyntax BumpPtrAllocator.swift
[90/176] Compiling SwiftSyntax CommonAncestor.swift
[91/176] Compiling SwiftSyntax Convenience.swift
[92/176] Compiling SwiftSyntax CustomTraits.swift
[93/176] Compiling SwiftSyntax Identifier.swift
[94/184] Emitting module Metrics
[95/184] Compiling Metrics Metrics.swift
[96/184] Compiling SwiftSyntax SourcePresence.swift
[97/184] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[98/184] Compiling SwiftSyntax Syntax.swift
[99/184] Compiling SwiftSyntax SyntaxArena.swift
[100/184] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[101/184] Compiling SwiftSyntax SyntaxChildren.swift
[102/184] Compiling SwiftSyntax SyntaxCollection.swift
[103/184] Compiling SwiftSyntax SyntaxHashable.swift
[104/184] Compiling SwiftSyntax SyntaxIdentifier.swift
[105/184] Compiling SwiftSyntax MemoryLayout.swift
[106/184] Compiling SwiftSyntax MissingNodeInitializers.swift
[107/184] Compiling SwiftSyntax RawSyntax.swift
[108/184] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[109/184] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[110/184] Compiling SwiftSyntax RawSyntaxTokenView.swift
[111/184] Compiling SwiftSyntax SourceEdit.swift
[112/184] Compiling SwiftSyntax SourceLength.swift
[113/184] Compiling SwiftSyntax SourceLocation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[114/185] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[115/185] 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>
[116/185] Emitting module Metrics
[117/185] Compiling Metrics Metrics.swift
[120/186] 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>
[121/186] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[122/186] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[123/186] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[126/186] Emitting module HTTPTypes
[127/186] Compiling HTTPTypes HTTPFields.swift
error: cancelled
BUILD FAILURE 6.3 wasm