Build Information
Failed to build swift-api-client, reference 1.74.1 (609467), with Swift 6.2 for Wasm on 17 Apr 2026 03:34:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-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: 1.74.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/dankinsoid/swift-api-client
* tag 1.74.1 -> FETCH_HEAD
HEAD is now at 6094670 fix: revert swift-tools-version to 5.9 to avoid strict concurrency errors
Cloned https://github.com/dankinsoid/swift-api-client.git
Revision (git rev-parse @):
609467015ac4d513194ce3774d169ddf2c547091
SUCCESS checkout https://github.com/dankinsoid/swift-api-client.git at 1.74.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dankinsoid/swift-api-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-http-types.git
[1/3154] Fetching swift-metrics
[3155/4197] Fetching swift-metrics, swift-http-types
[3281/10808] Fetching swift-metrics, swift-http-types, swift-log
Fetched https://github.com/apple/swift-http-types.git from cache (0.70s)
[6262/9765] Fetching swift-metrics, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
[1/74985] Fetching swift-syntax
Fetched https://github.com/apple/swift-metrics.git from cache (10.56s)
Fetched https://github.com/swiftlang/swift-syntax from cache (10.62s)
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.07s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.0 (0.50s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (2.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.41s)
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
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 603.0.0
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
Building for debugging...
[0/54] Write sources
[31/54] Write swift-version-24593BA9C3E375BF.txt
[31/54] Compiling _SwiftSyntaxCShims PlatformMutex.c
[34/78] Emitting module SwiftSyntax510
[35/78] Emitting module SwiftSyntax600
[36/78] Compiling SwiftSyntax600 Empty.swift
[37/79] Emitting module SwiftSyntax603
[38/79] Compiling SwiftSyntax603 Empty.swift
[39/80] Compiling Logging LogEvent.swift
[41/80] Compiling SwiftSyntax510 Empty.swift
[44/81] Emitting module SwiftSyntax602
[45/81] Compiling SwiftSyntax602 Empty.swift
[46/91] Compiling SwiftSyntax601 Empty.swift
[47/91] Emitting module SwiftSyntax601
[50/97] Emitting module SwiftSyntax509
[51/97] Compiling SwiftSyntax509 Empty.swift
[52/110] Wrapping AST for SwiftSyntax603 for debugging
[53/112] Wrapping AST for SwiftSyntax602 for debugging
[54/112] Wrapping AST for SwiftSyntax601 for debugging
[56/112] Compiling CoreMetrics WithMetricsFactory.swift
[56/112] Wrapping AST for SwiftSyntax600 for debugging
[57/175] Wrapping AST for SwiftSyntax510 for debugging
[59/175] Compiling CoreMetrics WithMetricsFactory.swift
[60/175] Compiling CoreMetrics MappingMetricsFactory.swift
[60/175] Wrapping AST for SwiftSyntax509 for debugging
[62/175] Compiling Logging LogEvent.swift
[63/175] Emitting module CoreMetrics
[64/175] Compiling CoreMetrics Locks.swift
[65/175] Emitting module Logging
[66/175] Compiling Logging Locks.swift
[67/175] Compiling Logging MetadataProvider.swift
[69/175] Emitting module CoreMetrics
[70/175] Emitting module Logging
[71/175] Compiling Logging Locks.swift
[72/175] Compiling Logging LogHandler.swift
[73/175] Compiling Logging Logging.swift
[75/176] Compiling CoreMetrics MappingMetricsFactory.swift
[76/176] Compiling CoreMetrics Metrics.swift
[77/176] Compiling CoreMetrics Locks.swift
[79/178] Compiling Logging LogHandler.swift
[80/178] Compiling Logging Logging.swift
[81/180] Compiling CoreMetrics Metrics.swift
[84/183] Compiling HTTPTypes ISOLatin1String.swift
[85/184] Compiling HTTPTypes NIOLock.swift
[86/184] Compiling HTTPTypes ISOLatin1String.swift
[87/185] Compiling HTTPTypes HTTPParsedFields.swift
[88/185] Compiling HTTPTypes HTTPRequest+URL.swift
[89/185] Compiling HTTPTypes HTTPRequest.swift
[90/185] Compiling HTTPTypes HTTPParsedFields.swift
[91/185] Compiling SwiftSyntax AbsolutePosition.swift
[92/185] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[93/185] Compiling SwiftSyntax SyntaxNodeStructure.swift
[94/185] Compiling SwiftSyntax SyntaxProtocol.swift
[95/185] Compiling SwiftSyntax SyntaxText.swift
[96/185] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[97/185] Compiling SwiftSyntax TokenDiagnostic.swift
[98/185] Compiling SwiftSyntax TokenSequence.swift
[99/185] Compiling SwiftSyntax TokenSyntax.swift
[100/185] Compiling SwiftSyntax Trivia.swift
[101/185] Compiling SwiftSyntax Utils.swift
[102/193] Compiling HTTPTypes HTTPResponse.swift
[103/193] Compiling HTTPTypes NIOLock.swift
[104/193] Compiling HTTPTypes HTTPRequest.swift
[105/193] Emitting module HTTPTypes
[106/193] Compiling HTTPTypes HTTPResponse.swift
[107/193] Compiling HTTPTypes HTTPRequest+URL.swift
[110/193] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[111/193] Compiling SwiftSyntax Assert.swift
[112/193] Compiling SwiftSyntax BumpPtrAllocator.swift
[113/193] Compiling SwiftSyntax CommonAncestor.swift
[114/193] Compiling SwiftSyntax Convenience.swift
[115/193] Compiling SwiftSyntax CustomTraits.swift
[116/193] Compiling SwiftSyntax EditorPlaceholder.swift
[117/193] Compiling SwiftSyntax SourceLength.swift
[118/193] Compiling SwiftSyntax SourceLocation.swift
[119/193] Compiling SwiftSyntax SourcePresence.swift
[120/193] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[121/193] Compiling SwiftSyntax Syntax.swift
[122/193] Compiling SwiftSyntax SyntaxChildren.swift
[123/193] Compiling SwiftSyntax SyntaxCollection.swift
[124/193] Compiling SwiftSyntax SyntaxHashable.swift
[125/193] Compiling SwiftSyntax SyntaxIdentifier.swift
[126/193] Emitting module Metrics
[127/193] Compiling Metrics Metrics.swift
[130/194] Emitting module Metrics
[132/195] Emitting module HTTPTypes
[133/195] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/209] 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>
[140/209] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[141/209] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[142/209] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[143/209] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[144/209] 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>
BUILD FAILURE 6.2 wasm