The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-api-client, reference main (264dca), with Swift 6.2 for Wasm on 24 Oct 2026 23:32:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-1":/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: 5.1.3
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 264dcac feat(package): SwiftAPIClientCore product without macros
Cloned https://github.com/dankinsoid/swift-api-client.git
Revision (git rev-parse @):
264dcac1d88fe2d73289c9477f37ed47d3d1da32
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-54344846-1":/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:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
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/apple/swift-http-types.git
Fetching https://github.com/swiftlang/swift-syntax
[1/1961] Fetching swift-http-types
[100/10334] Fetching swift-http-types, swift-log
[5061/13926] Fetching swift-http-types, swift-log, swift-metrics
[13927/95008] Fetching swift-http-types, swift-log, swift-metrics, swift-syntax
Fetched https://github.com/apple/swift-http-types.git from cache (4.08s)
Fetched https://github.com/apple/swift-metrics.git from cache (4.08s)
Fetched https://github.com/apple/swift-log.git from cache (4.08s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.11s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (4.39s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.21s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.23s)
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.8.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.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.12.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Building for debugging...
[0/58] Write sources
[34/58] Compiling _SwiftSyntaxCShims PlatformMutex.c
[35/58] Write swift-version-24593BA9C3E375BF.txt
[37/83] Emitting module SwiftSyntax510
[38/83] Compiling SwiftSyntax510 Empty.swift
[40/84] Emitting module SwiftSyntax603
[41/84] Compiling SwiftSyntax603 Empty.swift
[42/85] Emitting module SwiftSyntax602
[43/85] Compiling SwiftSyntax602 Empty.swift
[44/86] Compiling SwiftSyntax509 Empty.swift
[45/86] Emitting module SwiftSyntax509
[49/87] Emitting module SwiftSyntax600
[50/87] Compiling SwiftSyntax600 Empty.swift
[52/129] Emitting module SwiftSyntax604
[53/129] Compiling SwiftSyntax604 Empty.swift
[55/130] Compiling CoreMetrics WithMetricsFactory.swift
[55/130] Wrapping AST for SwiftSyntax603 for debugging
[56/130] Wrapping AST for SwiftSyntax604 for debugging
[57/130] Wrapping AST for SwiftSyntax602 for debugging
[58/130] Wrapping AST for SwiftSyntax600 for debugging
[60/130] Compiling SwiftSyntax601 Empty.swift
[60/130] Wrapping AST for SwiftSyntax510 for debugging
[62/130] Emitting module SwiftSyntax601
[63/131] Wrapping AST for SwiftSyntax509 for debugging
[65/131] Compiling Logging Logger+Attributes.swift
[66/132] Compiling Logging LoggingSystem.swift
[66/132] Wrapping AST for SwiftSyntax601 for debugging
[68/196] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[69/196] Compiling SwiftSyntax Assert.swift
[70/196] Compiling Logging MetadataProvider.swift
[71/196] Compiling SwiftSyntax BumpPtrAllocator.swift
[72/196] Compiling SwiftSyntax CommonAncestor.swift
[73/196] Compiling Logging Logger+With.swift
[74/196] Compiling Logging Logger.swift
[75/196] Emitting module Logging
[76/196] Compiling SwiftSyntax AbsolutePosition.swift
[77/196] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[79/197] Emitting module CoreMetrics
[80/197] Compiling CoreMetrics Locks.swift
[81/197] Compiling CoreMetrics MappingMetricsFactory.swift
[82/197] Compiling CoreMetrics Metrics.swift
[84/200] Compiling HTTPTypes HTTPFieldValue.swift
[85/201] Emitting module Metrics
[90/201] Compiling HTTPTypes HTTPParsedFields.swift
[91/201] Compiling HTTPTypes HTTPFields.swift
[92/201] Compiling HTTPTypes HTTPRequest.swift
[93/201] Compiling HTTPTypes HTTPRequest+URL.swift
[94/201] Emitting module HTTPTypes
[95/201] Compiling Metrics Metrics.swift
[97/202] Compiling HTTPTypes HTTPResponse.swift
[101/210] Compiling CoreMetrics WithMetricsFactory.swift
[108/210] Compiling SwiftSyntax Convenience.swift
[109/210] Compiling SwiftSyntax CustomTraits.swift
[110/210] Compiling SwiftSyntax EditorPlaceholder.swift
[111/218] Compiling HTTPTypes HTTPParsedFields.swift
[112/219] Emitting module HTTPTypesFoundation
[115/219] Compiling HTTPTypes HTTPFieldValue.swift
[116/219] Emitting module CoreMetrics
[117/219] Compiling CoreMetrics Locks.swift
[118/219] Compiling Logging Logger+With.swift
[119/219] Compiling Logging LoggingSystem.swift
[120/219] Compiling Logging Logger.swift
[121/219] Compiling Logging Logger+Attributes.swift
[126/219] Emitting module Logging
[127/219] Compiling HTTPTypes HTTPRequest.swift
[128/219] Compiling HTTPTypes HTTPRequest+URL.swift
[129/219] Compiling HTTPTypes HTTPFields.swift
[130/219] Emitting module HTTPTypes
[133/219] Compiling Logging MetadataProvider.swift
[134/219] Compiling CoreMetrics Metrics.swift
[135/220] Compiling CoreMetrics MappingMetricsFactory.swift
[138/223] Compiling SwiftSyntax SourceLength.swift
[139/223] Compiling SwiftSyntax SourceLocation.swift
[140/223] Compiling SwiftSyntax SourcePresence.swift
[141/223] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[142/223] Compiling SwiftSyntax Syntax.swift
[143/223] Compiling SwiftSyntax SyntaxChildren.swift
[144/223] Compiling SwiftSyntax SyntaxCollection.swift
[145/223] Compiling SwiftSyntax SyntaxHashable.swift
[146/223] Compiling SwiftSyntax SyntaxIdentifier.swift
[147/223] Compiling SwiftSyntax Identifier.swift
[148/223] Compiling SwiftSyntax MemoryLayout.swift
[149/223] Compiling SwiftSyntax MissingNodeInitializers.swift
[150/223] Compiling SwiftSyntax RawSyntax.swift
[151/223] Compiling SwiftSyntax RawSyntaxArena.swift
[152/223] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[153/223] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[154/223] Compiling SwiftSyntax RawSyntaxTokenView.swift
[155/223] Compiling SwiftSyntax SourceEdit.swift
[156/223] Emitting module Metrics
[157/223] Compiling Metrics Metrics.swift
[159/224] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[160/224] Compiling HTTPTypes HTTPResponse.swift
[162/225] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[163/225] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[164/225] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[165/225] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[167/303] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[168/303] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | @available(HTTPTypes 1.0, *)
 50 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 51 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 52 |     ///
/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 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.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:58:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 56 |     public func data(
 57 |         for request: HTTPRequest,
 58 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 59 |     ) async throws -> (Data, HTTPResponse) {
 60 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:79:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 77 |         for request: HTTPRequest,
 78 |         fromFile fileURL: URL,
 79 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 80 |     ) async throws -> (Data, HTTPResponse) {
 81 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:100:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 98 |         for request: HTTPRequest,
 99 |         from bodyData: Data,
100 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
101 |     ) async throws -> (Data, HTTPResponse) {
102 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:119:19: error: cannot find type 'URLSessionTaskDelegate' in scope
117 |     public func download(
118 |         for request: HTTPRequest,
119 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
120 |     ) async throws -> (URL, HTTPResponse) {
121 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[169/303] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[170/303] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[171/303] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | @available(HTTPTypes 1.0, *)
 50 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 51 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 52 |     ///
/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 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.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>
[172/303] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
BUILD FAILURE 6.2 wasm