Build Information
Failed to build swift-json-schema, reference main (c71bf0), with Swift 6.2 for Wasm on 6 Mar 2026 22:27:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-json-schema.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/ajevans99/swift-json-schema
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c71bf01 Swift Syntax Fix (#150)
Submodule path 'Tests/JSONSchemaTests/JSON-Schema-Test-Suite': checked out '8da0a7bcb23f3516590e70bc5c3e396400c27741'
Submodule 'Tests/JSONValidationTests/JSON-Schema-Test-Suite' (https://github.com/json-schema-org/JSON-Schema-Test-Suite.git) registered for path 'Tests/JSONSchemaTests/JSON-Schema-Test-Suite'
Cloning into '/host/spi-builder-workspace/Tests/JSONSchemaTests/JSON-Schema-Test-Suite'...
Cloned https://github.com/ajevans99/swift-json-schema.git
Revision (git rev-parse @):
c71bf0161454e2950368b3269650eae7967f0c5d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-json-schema.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ajevans99/swift-json-schema.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2171] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.46s)
[1/74603] Fetching swift-syntax
[5224/90378] Fetching swift-syntax, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.40s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (13.86s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3668] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (0.39s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5355] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.35s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (0.78s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5718] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.78s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.22s)
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/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.46s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/36] Write sources
[2/36] Copying content.json
[2/36] Copying applicator.json
[13/36] Copying validation.json
[13/36] Copying unevaluated.json
[13/36] Copying schema.json
[13/36] Copying meta-data.json
[13/36] Copying format-annotation.json
[13/36] Copying core.json
[13/36] Copying validation.json
[13/36] Copying unevaluated.json
[13/36] Copying schema.json
[13/36] Copying core.json
[13/36] Copying format-annotation.json
[18/36] Copying content.json
[25/36] Copying meta-data.json
[26/36] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/83] Emitting module JSONSchema
/host/spi-builder-workspace/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[29/83] Compiling JSONSchema Annotation.swift
/host/spi-builder-workspace/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | // swift-format-ignore: AlwaysUseLowerCamelCase
BUILD FAILURE 6.2 wasm