Build Information
Failed to build swift-lexer, reference main (76b0fb), with Swift 6.2 for Wasm on 13 Feb 2026 07:08:09 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/Lancelotbronner/swift-lexing.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/Lancelotbronner/swift-lexing
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 76b0fb6 Rename macros, start external regex-syntax crate, migrate to Swift Testing
Cloned https://github.com/Lancelotbronner/swift-lexing.git
Revision (git rev-parse @):
76b0fb6dbfc59ce8ade33e759676bd5b060d1836
SUCCESS checkout https://github.com/Lancelotbronner/swift-lexing.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Lancelotbronner/swift-lexing.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-experimental-string-processing
[1/21051] Fetching swift-experimental-string-processing
Fetched https://github.com/swiftlang/swift-experimental-string-processing from cache (1.75s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/2171] Fetching swift-docc-plugin
[240/19352] Fetching swift-docc-plugin, swift-argument-parser
[11966/38858] Fetching swift-docc-plugin, swift-argument-parser, swift-collections
[26766/113003] Fetching swift-docc-plugin, swift-argument-parser, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (1.41s)
[67087/110832] Fetching swift-argument-parser, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (1.44s)
[49064/91326] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (4.71s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.76s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (5.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3655] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.36s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.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-experimental-string-processing
Working copy of https://github.com/swiftlang/swift-experimental-string-processing resolved at swift-6.1.1-RELEASE (3a06996)
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.38s)
warning: 'swift-experimental-string-processing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-experimental-string-processing/Sources/_RegexParser/CMakeLists.txt
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/30] Write sources
[19/30] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/82] Emitting module CoreLexer
/host/spi-builder-workspace/Sources/CoreLexer/IntoSource.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension String: Into {
[22/82] Compiling CoreLexer IntoSource.swift
/host/spi-builder-workspace/Sources/CoreLexer/IntoSource.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension String: Into {
BUILD FAILURE 6.2 wasm