The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-api-client, reference main (9ca3e3), with Swift 6.2 for Wasm on 10 Jul 2026 23:26:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
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 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 main
========================================
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-53886770-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-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-http-types.git
[1/7644] Fetching swift-log
[154/8863] Fetching swift-log, swift-http-types
[1325/12231] Fetching swift-log, swift-http-types, swift-metrics
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[2501/11012] Fetching swift-log, swift-metrics
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
[1/75904] Fetching swift-syntax
Fetched https://github.com/apple/swift-metrics.git from cache (2.50s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.52s)
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.70s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.14s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.93s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.15s)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Building for debugging...
[0/54] Write sources
[31/54] Compiling _SwiftSyntaxCShims PlatformMutex.c
[32/54] Write swift-version-24593BA9C3E375BF.txt
[34/88] Emitting module SwiftSyntax602
[35/88] Emitting module SwiftSyntax509
[36/88] Emitting module SwiftSyntax601
[37/88] Compiling SwiftSyntax601 Empty.swift
[38/89] Compiling SwiftSyntax600 Empty.swift
[39/89] Emitting module SwiftSyntax600
[42/108] Compiling SwiftSyntax603 Empty.swift
[43/108] Emitting module SwiftSyntax603
[44/109] Compiling SwiftSyntax509 Empty.swift
[45/110] Compiling Logging Logger+With.swift
[48/111] Compiling Logging LoggingSystem.swift
[49/112] Compiling SwiftSyntax602 Empty.swift
[50/113] Emitting module SwiftSyntax510
[51/113] Compiling SwiftSyntax510 Empty.swift
[53/124] Wrapping AST for SwiftSyntax603 for debugging
[54/124] Wrapping AST for SwiftSyntax601 for debugging
[56/124] Compiling CoreMetrics WithMetricsFactory.swift
[57/124] Wrapping AST for SwiftSyntax602 for debugging
[58/124] Compiling Logging Logger+Attributes.swift
[59/182] Wrapping AST for SwiftSyntax600 for debugging
[61/187] Compiling SwiftSyntax BumpPtrAllocator.swift
[62/187] Compiling SwiftSyntax CommonAncestor.swift
[62/187] Wrapping AST for SwiftSyntax510 for debugging
[66/187] Compiling Logging Logger+Attributes.swift
[67/187] Compiling Logging LoggingSystem.swift
[68/187] Compiling Logging Logger.swift
[68/187] Wrapping AST for SwiftSyntax509 for debugging
[70/187] Compiling Logging Logger.swift
[71/187] Compiling Logging Logger+With.swift
[72/187] Compiling Logging MetadataProvider.swift
[73/187] Emitting module CoreMetrics
[74/187] Compiling CoreMetrics Locks.swift
[75/187] Compiling SwiftSyntax AbsolutePosition.swift
[76/187] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[77/187] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[78/187] Compiling SwiftSyntax Assert.swift
[79/187] Emitting module Logging
[80/187] Compiling Logging MetadataProvider.swift
[84/188] Emitting module Logging
[88/189] Compiling CoreMetrics MappingMetricsFactory.swift
[89/189] Emitting module CoreMetrics
[90/189] Compiling CoreMetrics Metrics.swift
[91/189] Compiling CoreMetrics Locks.swift
[93/192] Emitting module HTTPTypes
[94/193] Emitting module Metrics
[95/193] Compiling HTTPTypes NIOLock.swift
[96/193] Compiling HTTPTypes HTTPRequest+URL.swift
[97/193] Compiling HTTPTypes HTTPParsedFields.swift
[98/193] Compiling CoreMetrics MappingMetricsFactory.swift
[99/193] Compiling CoreMetrics Metrics.swift
[101/194] Compiling Metrics Metrics.swift
[109/197] Compiling SwiftSyntax Convenience.swift
[110/197] Compiling SwiftSyntax CustomTraits.swift
[111/197] Compiling SwiftSyntax EditorPlaceholder.swift
[112/205] Compiling HTTPTypes ISOLatin1String.swift
[114/206] Compiling HTTPTypes HTTPParsedFields.swift
[115/206] Emitting module HTTPTypes
[116/206] Compiling HTTPTypes HTTPRequest.swift
[117/206] Compiling HTTPTypes HTTPResponse.swift
[118/206] Compiling HTTPTypes HTTPRequest+URL.swift
[119/206] Compiling HTTPTypes NIOLock.swift
[120/206] Emitting module Metrics
[121/206] Compiling Metrics Metrics.swift
[122/207] Compiling HTTPTypes HTTPRequest.swift
[123/207] Compiling HTTPTypes HTTPResponse.swift
[125/207] Compiling SwiftSyntax Identifier.swift
[126/207] Compiling SwiftSyntax MemoryLayout.swift
[127/207] Compiling SwiftSyntax MissingNodeInitializers.swift
[128/207] Compiling SwiftSyntax RawSyntax.swift
[129/207] Compiling SwiftSyntax RawSyntaxArena.swift
[130/207] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[131/207] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[132/207] Compiling SwiftSyntax RawSyntaxTokenView.swift
[133/207] Compiling SwiftSyntax SourceEdit.swift
[134/207] Compiling SwiftSyntax SourceLength.swift
[135/207] Compiling SwiftSyntax SourceLocation.swift
[136/207] Compiling SwiftSyntax SourcePresence.swift
[137/207] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[138/207] Compiling SwiftSyntax Syntax.swift
[139/207] Compiling SwiftSyntax SyntaxChildren.swift
[140/207] Compiling SwiftSyntax SyntaxCollection.swift
[141/207] Compiling SwiftSyntax SyntaxHashable.swift
[142/207] Compiling SwiftSyntax SyntaxIdentifier.swift
[143/207] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[147/214] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[148/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>
[149/214] 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>
[150/214] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[151/214] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[152/214] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
BUILD FAILURE 6.2 wasm