The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-ico, reference main (f31bb3), with Swift 6.4 for Wasm on 7 Nov 2026 08:05:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-ico.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/stackotter/swift-ico
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f31bb31 Update swift-image-formats dependency to v0.6.0 (new JPEG lib)
Cloned https://github.com/stackotter/swift-ico.git
Revision (git rev-parse @):
f31bb31f8544cfe6783ad135ed98d2e63034fc67
SUCCESS checkout https://github.com/stackotter/swift-ico.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/stackotter/swift-ico.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/stackotter/swift-image-formats
[1/194] Fetching swift-image-formats
Fetched https://github.com/stackotter/swift-image-formats (0.35s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.6.1 (1.27s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/stackotter/libjpegturbo
[1/99] Fetching libjpegturbo
[88/153] Fetching libjpegturbo, libwebp
[138/183] Fetching libjpegturbo, libwebp, libpng
Fetched https://github.com/the-swift-collective/libpng (0.36s)
Fetched https://github.com/stackotter/libjpegturbo (0.36s)
Fetched https://github.com/the-swift-collective/libwebp (0.36s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.70s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.21s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git (0.32s)
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.50s)
Computing version for https://github.com/stackotter/libjpegturbo
Computed https://github.com/stackotter/libjpegturbo at 0.1.3 (0.15s)
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
Creating working copy for https://github.com/stackotter/swift-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.6.1
Creating working copy for https://github.com/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
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
Creating working copy for https://github.com/stackotter/libjpegturbo
Working copy of https://github.com/stackotter/libjpegturbo resolved at 0.1.3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 516]
[Planning deferred tasks]
[6 / 433] ZLib-product
[93 / 433] turbojpeg
In file included from /host/spi-builder-workspace/.build/checkouts/libjpegturbo/libjpeg-turbo/src/turbojpeg.c:42:
/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-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.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/libjpegturbo.build/Debug-webassembly-wasm32/turbojpeg-t.build/Objects-normal/wasm32/turbojpeg.o /host/spi-builder-workspace/.build/checkouts/libjpegturbo/libjpeg-turbo/src/turbojpeg.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/libjpegturbo.build/Debug-webassembly-wasm32/turbojpeg-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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/libjpegturbo.build/Debug-webassembly-wasm32/turbojpeg-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/libjpegturbo.build/Debug-webassembly-wasm32/turbojpeg-t.build/Objects-normal/wasm32/turbojpeg.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/libjpegturbo.build/Debug-webassembly-wasm32/turbojpeg-t.build/Objects-normal/wasm32/turbojpeg.dia -c /host/spi-builder-workspace/.build/checkouts/libjpegturbo/libjpeg-turbo/src/turbojpeg.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/libjpegturbo.build/Debug-webassembly-wasm32/turbojpeg-t.build/Objects-normal/wasm32/turbojpeg.o
error: Build failed
BUILD FAILURE 6.4 wasm