The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-image-formats, reference v0.6.1 (c361fe), with Swift 6.4 for Wasm on 7 Nov 2026 13:58:12 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.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-image-formats.git
Reference: v0.6.1
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-image-formats
 * tag               v0.6.1     -> FETCH_HEAD
HEAD is now at c361fe1 CI: Add basic macOS, Linux and Windows CI (#7)
Cloned https://github.com/stackotter/swift-image-formats.git
Revision (git rev-parse @):
c361fe1d8d7731d5e25991b50be8f964731794ab
SUCCESS checkout https://github.com/stackotter/swift-image-formats.git at v0.6.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/stackotter/swift-image-formats.git
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.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/the-swift-collective/libwebp
Fetching https://github.com/stackotter/libjpegturbo
Fetching https://github.com/the-swift-collective/libpng
[1/99] Fetching libjpegturbo
[100/129] Fetching libjpegturbo, libpng
Fetched https://github.com/stackotter/libjpegturbo (0.32s)
Fetched https://github.com/the-swift-collective/libpng (0.33s)
[1/54] Fetching libwebp
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.56s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.18s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git (0.31s)
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.16s)
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/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/stackotter/libjpegturbo
Working copy of https://github.com/stackotter/libjpegturbo resolved at 0.1.3
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...
[Computing dependencies]
[Pre-planning 1 / 544]
[Planning deferred tasks]
[Starting]
[61 / 435] jpegsimd
[96 / 435] 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