Build Information
Failed to build swift-ai, reference main (6f9f89), with Swift 6.2 for Wasm on 2 Jul 2026 14:35:31 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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dean151/swift-ai.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/Dean151/swift-ai
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6f9f89f docs: documenting the library going down
Cloned https://github.com/Dean151/swift-ai.git
Revision (git rev-parse @):
6f9f89f15b24fcf72e8fb8227bc607d0236aa7c1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Dean151/swift-ai.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Dean151/swift-ai.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-docc-plugin.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1219] Fetching swift-http-types
[1220/3544] Fetching swift-http-types, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.55s)
[1/75800] Fetching swift-syntax
Fetched https://github.com/apple/swift-http-types.git from cache (2.40s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.42s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.37s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (0.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.14s)
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-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.30s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/41] Write sources
[37/41] Write swift-version-24593BA9C3E375BF.txt
[39/68] Compiling HTTPTypes HTTPField.swift
[41/68] Compiling HTTPTypes HTTPFieldName.swift
[43/70] Compiling AIMacrosPlugin TypeMapping.swift
[44/70] Emitting module HTTPTypes
[45/70] Compiling HTTPTypes ISOLatin1String.swift
[46/70] Compiling AIMacrosPlugin Diagnostics.swift
[47/70] Compiling AIMacrosPlugin JSONSchemaBuilder.swift
[48/70] Emitting module AIMacrosPlugin
[49/70] Compiling AIMacrosPlugin SchemaPropertyMacro.swift
[50/70] Compiling AIMacrosPlugin ToolMacro.swift
[51/70] Compiling AIMacrosPlugin StoredProperty.swift
[52/70] Compiling AIMacrosPlugin NameSanitizer.swift
[54/71] Compiling HTTPTypes ISOLatin1String.swift
[54/72] Wrapping AST for AIMacrosPlugin for debugging
[55/72] Write Objects.LinkFileList
[57/72] Compiling HTTPTypes HTTPRequest.swift
[58/72] Compiling HTTPTypes HTTPResponse.swift
[60/72] Compiling HTTPTypes HTTPRequest.swift
[61/72] Compiling HTTPTypes NIOLock.swift
[61/72] Linking AIMacrosPlugin-tool
[63/72] Compiling HTTPTypes HTTPRequest+URL.swift
[64/72] Compiling HTTPTypes NIOLock.swift
[65/72] Compiling HTTPTypes HTTPRequest+URL.swift
[68/72] Emitting module HTTPTypes
[69/72] Compiling HTTPTypes HTTPFields.swift
[70/72] Compiling HTTPTypes HTTPParsedFields.swift
[73/79] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/86] 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>
[76/86] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[77/86] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[78/86] 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>
[79/86] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[80/86] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
BUILD FAILURE 6.2 wasm