The Swift Package Index logo.Swift Package Index

Build Information

Failed to build libjpegturbo, reference v0.1.4 (cb9b2a), with Swift 6.1 for Wasm on 22 Nov 2026 20:27:54 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/libjpegturbo.git
Reference: v0.1.4
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
 * tag               v0.1.4     -> FETCH_HEAD
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 v0.1.4
========================================
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-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.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 jcinit.c
[2/148] Compiling jdtrans.c
[3/148] Compiling jclhuff.c
[4/148] Compiling jdmaster.c
[4/148] Compiling jcarith.c
[6/148] Compiling jdphuff.c
[7/148] Compiling wrppm-8.c
[8/148] Compiling wrbmp.c
[9/148] Compiling wrpng-8.c
[10/148] Compiling wrppm-12.c
[11/148] Compiling wrpng-16.c
[12/148] Compiling wrppm-16.c
[13/148] Compiling wrpng-12.c
[14/148] Compiling rdppm-8.c
[15/148] Compiling rdpng-8.c
[16/148] Compiling rdpng-12.c
[17/148] Compiling rdppm-16.c
[18/148] Compiling rdppm-12.c
[19/148] Compiling rdpng-16.c
[20/148] Compiling zutil.c
[21/148] Compiling inftrees.c
[22/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.
[23/148] Compiling turbojpeg.c
[23/148] Compiling crc32.c
[23/148] Compiling deflate.c
[23/148] Compiling trees.c
[23/148] Compiling inflate.c
[23/148] Compiling transupp.c
[23/148] Compiling jchuff.c
[23/148] Compiling compress.c
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.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/125] Compiling compress.c
[1/125] Compiling adler32.c
[2/125] Compiling crc32.c
[3/125] Compiling inflate.c
[4/125] Compiling jdatasrc-tj.c
[5/125] Compiling trees.c
[6/125] Compiling jpegsimd simd.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.
[7/125] Compiling turbojpeg.c
[7/125] Compiling jpegsimd jsimdcpu.c
[7/125] Compiling deflate.c
[7/125] Compiling jdatadst-tj.c
[7/125] Compiling rdbmp.c
[7/125] Compiling spng.c
[7/125] Compiling transupp.c
[7/125] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm