Build Information
Failed to build imgui, reference main (5bd25c), with Swift 6.2 for Wasm on 4 Sep 2026 15:36:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/the-swift-collective/imgui.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/the-swift-collective/imgui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5bd25cf cleanup platform linkage.
Submodule path 'freetype': checked out '72f77b88bc6400fc451b4cb91e08d7b532efd2e8'
Submodule path 'freetype/subprojects/dlg': checked out '72dfcc858c040c54a6a0b88fcb7e70ee186d3167'
Submodule path 'glfw': checked out 'ce12b24b5c61daa735ee8b054e1f38cd1763fa66'
Submodule path 'imgui-cxx': checked out 'd313c114b76feb4f5dcdc1f8487e157decb7bada'
Submodule 'freetype' (https://github.com/the-swift-collective/freetype.git) registered for path 'freetype'
Submodule 'glfw' (https://github.com/the-swift-collective/glfw.git) registered for path 'glfw'
Submodule 'imgui-cxx' (https://github.com/the-swift-collective/imgui-cxx.git) registered for path 'imgui-cxx'
Cloning into '/host/spi-builder-workspace/freetype'...
Cloning into '/host/spi-builder-workspace/glfw'...
Cloning into '/host/spi-builder-workspace/imgui-cxx'...
Submodule 'dlg' (https://github.com/nyorain/dlg.git) registered for path 'freetype/subprojects/dlg'
Cloning into '/host/spi-builder-workspace/freetype/subprojects/dlg'...
Cloned https://github.com/the-swift-collective/imgui.git
Revision (git rev-parse @):
5bd25cffd4ad22635563aa29c59ebee56943964e
SUCCESS checkout https://github.com/the-swift-collective/imgui.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/the-swift-collective/imgui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.45s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (0.63s)
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
Building for debugging...
[0/103] Compiling glx_context.c
[0/103] Compiling linux_joystick.c
[2/103] Compiling init.c
[3/103] Compiling egl_context.c
[4/103] Compiling context.c
[5/103] Write swift-version-24593BA9C3E375BF.txt
[6/103] Compiling input.c
In file included from /host/spi-builder-workspace/imgui-cxx/misc/freetype/imgui_freetype.cpp:44:
In file included from /host/spi-builder-workspace/freetype/include/freetype/freetype.h:24:
In file included from /host/spi-builder-workspace/freetype/include/freetype/config/ftconfig.h:42:
In file included from /host/spi-builder-workspace/freetype/include/freetype/config/ftstdlib.h:166:
/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.
[7/103] Compiling imgui_freetype.cpp
[7/103] Compiling imgui_stdlib.cpp
[7/103] Compiling imgui_extras imgui_node_editor.cpp
[7/103] Compiling imgui_extras crude_json.cpp
[7/103] Compiling imgui_cxx imgui.cpp
[7/103] Compiling imgui_cxx imgui_widgets.cpp
[7/103] Compiling imgui_extras imgui_node_editor_api.cpp
[7/103] Compiling imgui_extras imgui_canvas.cpp
BUILD FAILURE 6.2 wasm