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 main (d141d7), with Swift 6.1 for Wasm on 28 May 2025 03:08:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/SusanDoggie/libjpeg
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d141d7a update
Submodule path 'dependencies/libjpeg-turbo': checked out 'be96fa0a403e5d084719757f7b8241d20393246d'
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'...
From https://github.com/libjpeg-turbo/libjpeg-turbo
 * branch              be96fa0a403e5d084719757f7b8241d20393246d -> FETCH_HEAD
Cloned https://github.com/SusanDoggie/libjpeg.git
Revision (git rev-parse @):
d141d7afcb570e1ada44a6646592c854dc8e4261
SUCCESS checkout https://github.com/SusanDoggie/libjpeg.git at main
========================================
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-3":/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...
[0/53] Compiling jaricom.c
[1/53] Compiling jutils.c
[1/53] Compiling jcapistd.c
[3/53] Compiling jcapimin.c
[4/53] Compiling jcarith.c
/host/spi-builder-workspace/Sources/src/jsimd_none.c:400:46: error: unknown type name 'c_derived_tbl'
  400 |                             int last_dc_val, c_derived_tbl *dctbl,
      |                                              ^
/host/spi-builder-workspace/Sources/src/jsimd_none.c:401:29: error: unknown type name 'c_derived_tbl'
  401 |                             c_derived_tbl *actbl)
      |                             ^
2 errors generated.
[5/53] Compiling jsimd_none.c
[5/53] Compiling jidctred.c
[5/53] Compiling jmemmgr.c
[5/53] Compiling jccoefct.c
[5/53] Compiling jquant2.c
[5/53] Compiling jmemnobs.c
[5/53] Compiling jquant1.c
[5/53] Compiling shim.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/48] Compiling jquant2.c
[1/48] Compiling jquant1.c
[2/48] Compiling jidctfst.c
[3/48] Compiling jidctred.c
[4/48] Compiling jidctflt.c
[5/48] Compiling jmemmgr.c
/host/spi-builder-workspace/Sources/src/jsimd_none.c:400:46: error: unknown type name 'c_derived_tbl'
  400 |                             int last_dc_val, c_derived_tbl *dctbl,
      |                                              ^
/host/spi-builder-workspace/Sources/src/jsimd_none.c:401:29: error: unknown type name 'c_derived_tbl'
  401 |                             c_derived_tbl *actbl)
      |                             ^
2 errors generated.
[6/48] Compiling jsimd_none.c
[6/48] Compiling jmemnobs.c
[6/48] Compiling jdtrans.c
[6/48] Compiling jerror.c
[6/48] Compiling jfdctint.c
[6/48] Compiling jfdctfst.c
[6/48] Compiling jidctint.c
[6/48] Compiling jfdctflt.c
BUILD FAILURE 6.1 wasm