The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-ai, reference 0.1.1 (430e56), with Swift 6.2 for Wasm on 2 Jul 2026 12:31:02 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/Dean151/swift-ai.git
Reference: 0.1.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/Dean151/swift-ai
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 430e562 fix: fence 26.4 Foundation Models APIs behind #if compiler(>=6.3)
Cloned https://github.com/Dean151/swift-ai.git
Revision (git rev-parse @):
430e5620d99398138f731fd9f7f5d724ea16b1fd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Dean151/swift-ai.git at 0.1.1
========================================
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/2325] Fetching swift-docc-plugin
[48/3544] Fetching swift-docc-plugin, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[256/2325] Fetching swift-docc-plugin
[2326/78116] Fetching swift-docc-plugin, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin.git from cache (2.38s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.39s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.34s)
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.49s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
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.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/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.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
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 ISOLatin1String.swift
[40/69] Compiling HTTPTypes HTTPResponse.swift
[41/69] Compiling AIMacrosPlugin TypeMapping.swift
[42/69] Compiling AIMacrosPlugin Diagnostics.swift
[43/70] Compiling AIMacrosPlugin JSONSchemaBuilder.swift
[44/70] Compiling AIMacrosPlugin NameSanitizer.swift
[45/70] Compiling AIMacrosPlugin StoredProperty.swift
[46/70] Compiling AIMacrosPlugin SchemaPropertyMacro.swift
[47/70] Compiling AIMacrosPlugin Plugin.swift
[48/70] Compiling AIMacrosPlugin SchemaMacro.swift
[49/70] Emitting module AIMacrosPlugin
[50/70] Compiling HTTPTypes HTTPRequest.swift
[51/70] Compiling HTTPTypes HTTPParsedFields.swift
[52/70] Compiling AIMacrosPlugin ToolMacro.swift
[53/71] Wrapping AST for AIMacrosPlugin for debugging
[54/71] Write Objects.LinkFileList
[56/71] Compiling HTTPTypes NIOLock.swift
[57/71] Compiling HTTPTypes HTTPRequest+URL.swift
[58/71] Compiling HTTPTypes ISOLatin1String.swift
[59/72] Compiling HTTPTypes HTTPRequest.swift
[60/72] Compiling HTTPTypes HTTPResponse.swift
[61/72] Compiling HTTPTypes NIOLock.swift
[61/72] Linking AIMacrosPlugin-tool
[63/72] Compiling HTTPTypes HTTPParsedFields.swift
[64/72] Compiling HTTPTypes HTTPRequest+URL.swift
[65/72] Compiling HTTPTypes HTTPFields.swift
[68/72] Emitting module HTTPTypes
[73/79] Compiling HTTPTypes HTTPFields.swift
[75/86] Emitting module HTTPTypesFoundation
[76/86] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[77/86] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[78/86] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[79/86] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/86] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[81/86] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[82/86] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[83/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>
[84/86] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[85/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>
BUILD FAILURE 6.2 wasm