The Swift Package Index logo.Swift Package Index

Build Information

Failed to build imgui, reference v1.92.0 (5bd25c), with Swift 6.1 for Wasm on 4 Sep 2026 15:36:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/the-swift-collective/imgui.git
Reference: v1.92.0
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
 * tag               v1.92.0    -> FETCH_HEAD
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 v1.92.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/the-swift-collective/imgui.git
https://github.com/the-swift-collective/imgui.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-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.41s)
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.66s)
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...
In file included from /host/spi-builder-workspace/glfw/src/x11_window.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:179:
/host/spi-builder-workspace/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/103] Compiling x11_window.c
In file included from /host/spi-builder-workspace/glfw/src/null_monitor.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:179:
/host/spi-builder-workspace/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/103] Compiling null_monitor.c
In file included from /host/spi-builder-workspace/glfw/src/xkb_unicode.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:179:
/host/spi-builder-workspace/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/103] Compiling xkb_unicode.c
In file included from /host/spi-builder-workspace/glfw/src/null_window.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:179:
/host/spi-builder-workspace/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/103] Compiling null_window.c
In file included from /host/spi-builder-workspace/glfw/src/null_joystick.c:27:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:179:
/host/spi-builder-workspace/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/103] Compiling null_joystick.c
In file included from /host/spi-builder-workspace/glfw/src/osmesa_context.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:179:
/host/spi-builder-workspace/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/103] Compiling osmesa_context.c
In file included from /host/spi-builder-workspace/glfw/src/input.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:179:
/host/spi-builder-workspace/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
[0/103] Compiling input.c
[0/103] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/103] Write sources
[1/103] Compiling ZLibC uncompr.c
[2/103] Compiling ZLibC inftrees.c
[3/103] Compiling ZLibC trees.c
[4/103] Compiling ZLibC inflate.c
[5/103] Compiling ZLibC zutil.c
[6/103] Write swift-version-24593BA9C3E375BF.txt
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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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_cxx imgui_widgets.cpp
[7/103] Compiling imgui_extras crude_json.cpp
[7/103] Compiling imgui_stdlib.cpp
[7/103] Compiling imgui_cxx imgui_tables.cpp
[7/103] Compiling imgui_extras imgui_canvas.cpp
[7/103] Compiling imgui_extras imgui_node_editor_api.cpp
[7/103] Compiling imgui_extras imgui_node_editor.cpp
BUILD FAILURE 6.1 wasm