The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build libjpeg, reference 1.0.3 (266497), with Swift 6.1 for Wasm on 28 May 2025 03:08:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SusanDoggie/libjpeg.git
Reference: 1.0.3
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/SusanDoggie/libjpeg
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 2664971 update
Submodule path 'dependencies/libjpeg-turbo': checked out 'd401d6251412a2985810ffaffb90b448a6ee12a9'
Submodule 'dependencies/libjpeg-turbo' (https://github.com/libjpeg-turbo/libjpeg-turbo.git) registered for path 'dependencies/libjpeg-turbo'
Cloning into '/host/spi-builder-workspace/dependencies/libjpeg-turbo'...
Cloned https://github.com/SusanDoggie/libjpeg.git
Revision (git rev-parse @):
26649717b522caf3d0c70ceba28ce31066b79e26
SUCCESS checkout https://github.com/SusanDoggie/libjpeg.git at 1.0.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SusanDoggie/libjpeg.git
https://github.com/SusanDoggie/libjpeg.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "libjpeg",
  "name" : "libjpeg",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "libjpeg",
      "targets" : [
        "libjpeg"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libjpeg",
      "module_type" : "ClangTarget",
      "name" : "libjpeg",
      "path" : ".",
      "product_memberships" : [
        "libjpeg"
      ],
      "sources" : [
        "Sources/shim.c",
        "Sources/src/jaricom.c",
        "Sources/src/jcapimin.c",
        "Sources/src/jcapistd.c",
        "Sources/src/jcarith.c",
        "Sources/src/jccoefct.c",
        "Sources/src/jccolor.c",
        "Sources/src/jcdctmgr.c",
        "Sources/src/jchuff.c",
        "Sources/src/jcicc.c",
        "Sources/src/jcinit.c",
        "Sources/src/jcmainct.c",
        "Sources/src/jcmarker.c",
        "Sources/src/jcmaster.c",
        "Sources/src/jcomapi.c",
        "Sources/src/jcparam.c",
        "Sources/src/jcphuff.c",
        "Sources/src/jcprepct.c",
        "Sources/src/jcsample.c",
        "Sources/src/jctrans.c",
        "Sources/src/jdapimin.c",
        "Sources/src/jdapistd.c",
        "Sources/src/jdarith.c",
        "Sources/src/jdatadst.c",
        "Sources/src/jdatasrc.c",
        "Sources/src/jdcoefct.c",
        "Sources/src/jdcolor.c",
        "Sources/src/jddctmgr.c",
        "Sources/src/jdhuff.c",
        "Sources/src/jdicc.c",
        "Sources/src/jdinput.c",
        "Sources/src/jdmainct.c",
        "Sources/src/jdmarker.c",
        "Sources/src/jdmaster.c",
        "Sources/src/jdmerge.c",
        "Sources/src/jdphuff.c",
        "Sources/src/jdpostct.c",
        "Sources/src/jdsample.c",
        "Sources/src/jdtrans.c",
        "Sources/src/jerror.c",
        "Sources/src/jfdctflt.c",
        "Sources/src/jfdctfst.c",
        "Sources/src/jfdctint.c",
        "Sources/src/jidctflt.c",
        "Sources/src/jidctfst.c",
        "Sources/src/jidctint.c",
        "Sources/src/jidctred.c",
        "Sources/src/jmemmgr.c",
        "Sources/src/jmemnobs.c",
        "Sources/src/jquant1.c",
        "Sources/src/jquant2.c",
        "Sources/src/jsimd_none.c",
        "Sources/src/jutils.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/shim.c:27:
/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.
[0/53] Compiling shim.c
[0/53] Compiling jcapimin.c
[0/53] Compiling jcarith.c
[0/53] Compiling jcapistd.c
[0/53] Compiling jsimd_none.c
[0/53] Compiling jutils.c
[0/53] Compiling jaricom.c
[0/53] Compiling jccoefct.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/53] Compiling jmemnobs.c
[1/53] Compiling jutils.c
[2/53] Compiling jsimd_none.c
[3/53] Compiling jquant1.c
[4/53] Compiling jidctred.c
[5/53] Compiling jmemmgr.c
[6/53] Compiling jidctflt.c
[7/53] Compiling jfdctint.c
[7/53] Compiling jidctfst.c
[9/53] Compiling jquant2.c
[10/53] Compiling jfdctfst.c
[11/53] Compiling jfdctflt.c
[12/53] Compiling jerror.c
[13/53] Compiling jdpostct.c
[14/53] Compiling jdsample.c
[15/53] Compiling jdtrans.c
[16/53] Compiling jidctint.c
[16/53] Compiling jdmaster.c
[18/53] Compiling jdphuff.c
[19/53] Compiling jdinput.c
[20/53] Compiling jdicc.c
[21/53] Compiling jdmarker.c
[22/53] Compiling jddctmgr.c
[23/53] Compiling jdatasrc.c
[24/53] Compiling jdmerge.c
[25/53] Compiling jdatadst.c
[25/53] Compiling jdhuff.c
[27/53] Compiling jdmainct.c
[28/53] Compiling jdcoefct.c
[29/53] Compiling jdarith.c
[30/53] Compiling jctrans.c
[31/53] Compiling jdapistd.c
[32/53] Compiling jdapimin.c
[33/53] Compiling jcsample.c
[34/53] Compiling jcprepct.c
[35/53] Compiling jdcolor.c
[36/53] Compiling jcparam.c
[37/53] Compiling jcomapi.c
[37/53] Compiling jcmainct.c
[39/53] Compiling jcinit.c
[40/53] Compiling jcmaster.c
[41/53] Compiling jcicc.c
[42/53] Compiling jcdctmgr.c
[42/53] Compiling jcmarker.c
[44/53] Compiling jcphuff.c
[45/53] Compiling jccoefct.c
[46/53] Compiling jaricom.c
[47/53] Compiling jcapistd.c
[48/53] Compiling jccolor.c
[49/53] Compiling jcapimin.c
[50/53] Compiling jcarith.c
In file included from /host/spi-builder-workspace/Sources/shim.c:27:
/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.
[51/53] Compiling shim.c
[51/53] Compiling jchuff.c
BUILD FAILURE 6.1 wasm