Build Information
Failed to build SwiftLuau, reference main (ace387), with Swift 6.2 for Wasm on 9 Dec 2025 11:31:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/RadiusDay/SwiftLuau.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/RadiusDay/SwiftLuau
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ace387f refactor(example): use require in the example instead of exposing globals
Submodule path 'lib/Luau': checked out 'c836feb2450a074581010f84da2eadeea38a3d55'
Submodule 'lib/Luau' (https://github.com/luau-lang/luau) registered for path 'lib/Luau'
Cloning into '/host/spi-builder-workspace/lib/Luau'...
Cloned https://github.com/RadiusDay/SwiftLuau.git
Revision (git rev-parse @):
ace387fdbb8ce47a0c3336dd49d7bff0d958389c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RadiusDay/SwiftLuau.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/RadiusDay/SwiftLuau.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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/swift-sdk.json
Building for debugging...
[0/169] Compiling CLua lua.c
[1/169] Write swift-version-24593BA9C3E375BF.txt
[1/169] Write sources
[4/169] Compiling lvmutils.cpp
[5/188] Compiling AstUtils.cpp
[6/188] Compiling lvmload.cpp
[7/188] Compiling ApplyTypeFunction.cpp
[8/188] Compiling Anyification.cpp
[9/188] Compiling lutf8lib.cpp
[10/188] Compiling lveclib.cpp
[11/188] Compiling ludata.cpp
[12/188] Compiling ltm.cpp
[13/188] Compiling ltablib.cpp
[14/188] Compiling ltable.cpp
[15/188] Compiling lstring.cpp
[16/188] Compiling lstrlib.cpp
/host/spi-builder-workspace/lib/Luau/VM/src/lperf.cpp:53:19: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
53 | return double(clock());
| ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
1 warning generated.
[17/188] Compiling lperf.cpp
[18/188] Compiling lstate.cpp
[19/188] Compiling loslib.cpp
[20/188] Compiling lobject.cpp
[21/188] Compiling lnumprint.cpp
[22/188] Compiling lmem.cpp
[23/188] Compiling linit.cpp
/host/spi-builder-workspace/lib/Luau/VM/src/lmathlib.cpp:501:13: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
501 | seed ^= clock();
| ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
1 warning generated.
[24/188] Compiling lmathlib.cpp
[25/188] Compiling lgcdebug.cpp
[26/188] Compiling AstQuery.cpp
[27/188] Compiling lfunc.cpp
In file included from /host/spi-builder-workspace/lib/Luau/VM/src/ldo.cpp:12:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
| ^
1 error generated.
[28/188] Compiling ldo.cpp
[28/188] Compiling ldebug.cpp
[28/188] Compiling lvmexecute.cpp
[28/188] Compiling ConstraintGenerator.cpp
[28/188] Compiling lgc.cpp
[28/188] Compiling ConstraintSolver.cpp
In file included from /host/spi-builder-workspace/lib/Luau/Analysis/src/BuiltinDefinitions.cpp:12:
/host/spi-builder-workspace/lib/Luau/Analysis/include/Luau/Frontend.h:149:18: error: no type named 'mutex' in namespace 'std'
149 | mutable std::mutex moduleMutex;
| ~~~~~^
[28/188] Compiling BuiltinDefinitions.cpp
BUILD FAILURE 6.2 wasm