Build Information
Failed to build swift-api-client, reference 1.77.0 (9ca3e3), with Swift 6.2 for Wasm on 10 Jul 2026 22:25:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-api-client.git
Reference: 1.77.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/dankinsoid/swift-api-client
* tag 1.77.0 -> FETCH_HEAD
HEAD is now at 9ca3e3f feat(retry): per-condition retry rules with independent limits
Cloned https://github.com/dankinsoid/swift-api-client.git
Revision (git rev-parse @):
9ca3e3fea194b481c3329bff044f49f91295dcd2
SUCCESS checkout https://github.com/dankinsoid/swift-api-client.git at 1.77.0
========================================
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-53886768-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/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-metrics.git
[1/3368] Fetching swift-metrics
[2/11012] Fetching swift-metrics, swift-log
[8032/12231] Fetching swift-metrics, swift-log, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.47s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.47s)
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
[1/75904] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.70s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (2.89s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.16s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.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.6.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.11.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Building for debugging...
[0/54] Write sources
[31/54] Compiling _SwiftSyntaxCShims PlatformMutex.c
[31/54] Write swift-version-24593BA9C3E375BF.txt
[34/88] Compiling SwiftSyntax509 Empty.swift
[35/88] Emitting module SwiftSyntax509
[36/89] Compiling SwiftSyntax602 Empty.swift
[37/89] Emitting module SwiftSyntax602
[39/90] Emitting module SwiftSyntax603
[40/90] Compiling SwiftSyntax603 Empty.swift
[43/114] Compiling Logging Logger.swift
[44/115] Compiling CoreMetrics WithMetricsFactory.swift
[45/115] Compiling Logging LoggingSystem.swift
[46/115] Compiling Logging Logger+With.swift
[47/115] Compiling SwiftSyntax601 Empty.swift
[48/115] Emitting module SwiftSyntax601
[49/116] Compiling SwiftSyntax600 Empty.swift
[50/116] Emitting module SwiftSyntax600
[51/116] Compiling Logging LogEvent.swift
[52/116] Compiling Logging LogHandler.swift
[53/116] Compiling Logging Logger+Attributes.swift
[56/117] Emitting module SwiftSyntax510
[57/117] Compiling SwiftSyntax510 Empty.swift
[58/118] Wrapping AST for SwiftSyntax603 for debugging
[59/123] Wrapping AST for SwiftSyntax602 for debugging
[61/123] Compiling Logging Logger.swift
[61/124] Wrapping AST for SwiftSyntax601 for debugging
[63/147] Compiling Logging Logger+With.swift
[64/147] Compiling Logging Logger+Attributes.swift
[65/147] Compiling SwiftSyntax RawSyntaxArena.swift
[66/148] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[66/161] Wrapping AST for SwiftSyntax600 for debugging
[68/187] Compiling CoreMetrics MappingMetricsFactory.swift
[69/187] Compiling CoreMetrics WithMetricsFactory.swift
[69/187] Wrapping AST for SwiftSyntax510 for debugging
[71/187] Compiling Logging LoggingSystem.swift
[71/187] Wrapping AST for SwiftSyntax509 for debugging
[73/187] Compiling SwiftSyntax Identifier.swift
[74/187] Compiling SwiftSyntax MemoryLayout.swift
[75/187] Compiling SwiftSyntax MissingNodeInitializers.swift
[76/187] Compiling SwiftSyntax RawSyntax.swift
[77/187] Emitting module Logging
[78/187] Compiling CoreMetrics Locks.swift
[79/187] Emitting module CoreMetrics
[80/187] Compiling Logging MetadataProvider.swift
[81/187] Emitting module Logging
[87/188] Compiling Logging MetadataProvider.swift
[89/189] Compiling CoreMetrics Metrics.swift
[90/189] Compiling CoreMetrics MappingMetricsFactory.swift
[92/190] Compiling CoreMetrics Locks.swift
[93/190] Emitting module CoreMetrics
[94/192] Compiling HTTPTypes HTTPParsedFields.swift
[95/193] Compiling CoreMetrics Metrics.swift
[96/194] Compiling HTTPTypes NIOLock.swift
[97/194] Compiling HTTPTypes ISOLatin1String.swift
[99/196] Emitting module HTTPTypes
[100/197] Compiling HTTPTypes HTTPParsedFields.swift
[101/197] Compiling HTTPTypes HTTPRequest+URL.swift
[102/197] Compiling HTTPTypes NIOLock.swift
[103/197] Compiling Metrics Metrics.swift
[104/197] Emitting module Metrics
[105/198] Compiling Metrics Metrics.swift
[106/198] Emitting module Metrics
[109/199] Compiling HTTPTypes HTTPRequest.swift
[110/199] Compiling HTTPTypes HTTPResponse.swift
[111/199] Compiling HTTPTypes HTTPRequest+URL.swift
[112/199] Compiling HTTPTypes HTTPRequest.swift
[113/199] Compiling HTTPTypes ISOLatin1String.swift
[114/199] Compiling HTTPTypes HTTPResponse.swift
[121/199] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[122/199] Compiling SwiftSyntax RawSyntaxTokenView.swift
[123/199] Compiling SwiftSyntax SourceEdit.swift
[124/207] Compiling SwiftSyntax SourceLength.swift
[125/207] Compiling SwiftSyntax SourceLocation.swift
[126/207] Compiling SwiftSyntax SourcePresence.swift
[127/207] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[128/207] Compiling SwiftSyntax Syntax.swift
[129/207] Compiling SwiftSyntax SyntaxChildren.swift
[130/207] Compiling SwiftSyntax SyntaxCollection.swift
[131/207] Compiling SwiftSyntax SyntaxHashable.swift
[132/207] Compiling SwiftSyntax SyntaxIdentifier.swift
[133/207] Compiling HTTPTypes HTTPFields.swift
[136/207] Emitting module HTTPTypes
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/214] 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>
[139/214] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[140/214] Compiling HTTPTypes HTTPFields.swift
[144/221] 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>
[145/221] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[146/221] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[147/221] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
BUILD FAILURE 6.2 wasm