Build Information
Failed to build libjpegturbo, reference main (cb9b2a), with Swift 6.1 for Wasm on 22 Nov 2026 20:25:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/libjpegturbo.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/libjpegturbo
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cb9b2a6 Support building dynamically (#6)
Submodule path 'libjpeg-turbo': checked out '29e4d9b0178f08158fc72c6068f086c5ba27b772'
Submodule 'libjpeg-turbo' (https://github.com/libjpeg-turbo/libjpeg-turbo) registered for path 'libjpeg-turbo'
Cloning into '/host/spi-builder-workspace/libjpeg-turbo'...
Cloned https://github.com/stackotter/libjpegturbo.git
Revision (git rev-parse @):
cb9b2a6a7758b6bcc228a71fdbad1c9c80beb09d
SUCCESS checkout https://github.com/stackotter/libjpegturbo.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/stackotter/libjpegturbo.git
https://github.com/stackotter/libjpegturbo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/148] Compiling jcicc.c
[1/148] Compiling jaricom.c
[2/148] Compiling jdarith.c
[3/148] Compiling wrbmp.c
[4/148] Compiling jcapimin.c
[5/148] Compiling jdlhuff.c
[6/148] Compiling wrppm-8.c
[6/148] Compiling wrppm-16.c
[8/148] Compiling wrppm-12.c
[9/148] Compiling jdmarker.c
[10/148] Compiling wrpng-8.c
[11/148] Compiling wrpng-16.c
[12/148] Compiling rdppm-8.c
[13/148] Compiling wrpng-12.c
[14/148] Compiling rdppm-12.c
[15/148] Compiling rdppm-16.c
[16/148] Compiling rdpng-8.c
[17/148] Compiling rdpng-12.c
[18/148] Compiling zutil.c
[19/148] Compiling rdpng-16.c
[20/148] Compiling inftrees.c
[21/148] Compiling inffast.c
In file included from /host/spi-builder-workspace/libjpeg-turbo/src/turbojpeg.c:42:
/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.
[22/148] Compiling turbojpeg.c
[22/148] Compiling deflate.c
[22/148] Compiling crc32.c
[22/148] Compiling compress.c
[22/148] Compiling trees.c
[22/148] Compiling jchuff.c
[22/148] Compiling transupp.c
[22/148] Compiling inflate.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
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/126] Write sources
[1/126] Compiling crc32.c
[2/126] Compiling compress.c
[3/126] Compiling adler32.c
[4/126] Compiling inflate.c
[5/126] Compiling trees.c
[6/126] Compiling deflate.c
[7/126] Compiling jpegsimd simd.c
[8/126] Compiling jdatasrc-tj.c
[9/126] Compiling jpegsimd jsimdcpu.c
[10/126] Compiling rdbmp.c
[11/126] Compiling jdatadst-tj.c
[12/126] Compiling jpegsimd jidctint-neon.c
In file included from /host/spi-builder-workspace/libjpeg-turbo/src/turbojpeg.c:42:
/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.
[13/126] Compiling turbojpeg.c
[13/126] Compiling jpegsimd jidctfst-neon.c
[13/126] Compiling jpegsimd jquanti-neon.c
[13/126] Compiling spng.c
[13/126] Compiling jpegsimd jidctred-neon.c
[13/126] Compiling jpegsimd jfdctint-neon.c
[13/126] Write swift-version-24593BA9C3E375BF.txt
[13/126] Compiling transupp.c
BUILD FAILURE 6.1 wasm