Build Information
Failed to build MuJoCo, reference main (a37f3b), with Swift 6.4 for Wasm on 18 Sep 2026 21:23:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/swift-mujoco.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/liuliu/swift-mujoco
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a37f3ba Update to 3.x rules_swift.
Cloned https://github.com/liuliu/swift-mujoco.git
Revision (git rev-parse @):
a37f3ba8e7a245a229c2372cf8eee492800d328a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/swift-mujoco.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/liuliu/swift-mujoco.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/liuliu/mujoco.git
[1/5625] Fetching mujoco
Fetched https://github.com/liuliu/mujoco.git (1.70s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-numerics
[1/2345] Fetching swift-docc-plugin
[2346/8981] Fetching swift-docc-plugin, swift-numerics
Fetched https://github.com/apple/swift-numerics (1.24s)
Fetched https://github.com/apple/swift-docc-plugin (1.24s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3823] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Creating working copy for https://github.com/liuliu/mujoco.git
Working copy of https://github.com/liuliu/mujoco.git resolved at 7723882b073b2fa009a20a899883d785318d465e
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
warning: 'spi-builder-workspace': you may be able to install glfw3 using your system-packager:
apt-get install libglfw3-dev
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 481]
[Planning deferred tasks]
[47 / 202] simulate-product
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/userprintf_r.c:23:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/libqhull_r.h:35:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: [0m[0;1;31merror: [0m[1mSetjmp/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.[0m
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https:[0;33m//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.[0m
| [0;1;32m ^
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_r.o /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/userprintf_r.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_r.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_r.dia -c /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/userprintf_r.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_r.o
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/userprintf_rbox_r.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/libqhull_r.h:35:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: [0m[0;1;31merror: [0m[1mSetjmp/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.[0m
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https:[0;33m//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.[0m
| [0;1;32m ^
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_rbox_r.o /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/userprintf_rbox_r.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_rbox_r.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_rbox_r.dia -c /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/userprintf_rbox_r.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/userprintf_rbox_r.o
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/usermem_r.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/libqhull_r.h:35:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: [0m[0;1;31merror: [0m[1mSetjmp/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.[0m
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https:[0;33m//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.[0m
| [0;1;32m ^
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/usermem_r.o /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/usermem_r.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/usermem_r.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/usermem_r.dia -c /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/usermem_r.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/C_mujoco.build/Debug-webassembly-wasm32/qhull-t.build/Objects-normal/wasm32/usermem_r.o
error: Build failed
BUILD FAILURE 6.4 wasm