The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build libjpeg, reference main (d141d7), with Swift 6.0 for Linux on 2 Jan 2025 12:57:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
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:         linux
Swift version:             6.0
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/53] Compiling shim.c
/host/spi-builder-workspace/Sources/src/jctrans.c:20:10: fatal error: 'jpegcomp.h' file not found
   20 | #include "jpegcomp.h"
      |          ^~~~~~~~~~~~
1 error generated.
[1/53] Compiling jctrans.c
[1/53] Compiling jdmarker.c
[1/53] Compiling jaricom.c
[1/53] Compiling jutils.c
[1/53] Compiling jdapimin.c
[1/53] Compiling jcapimin.c
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:32:48: error: unknown type name '_JSAMPARRAY'; did you mean 'JSAMPARRAY'?
   32 | rgb_ycc_convert_internal(j_compress_ptr cinfo, _JSAMPARRAY input_buf,
      |                                                ^~~~~~~~~~~
      |                                                JSAMPARRAY
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jpeglib.h:80:19: note: 'JSAMPARRAY' declared here
   80 | typedef JSAMPROW *JSAMPARRAY;   /* ptr to some rows (a 2-D sample array) */
      |                   ^
In file included from /host/spi-builder-workspace/Sources/src/jccolor.c:90:
/host/spi-builder-workspace/dependencies/libjpeg-turbo/jccolext.c:33:26: error: unknown type name '_JSAMPIMAGE'; did you mean 'JSAMPIMAGE'?
   33 |                          _JSAMPIMAGE output_bu[1/53] Compiling jccolor.c
[1/53] Compiling jsimd_none.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/52] Compiling jutils.c
[1/52] Compiling jmemnobs.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.
[2/52] Compiling jsimd_none.c
[2/52] Compiling jidctint.c
[2/52] Compiling jidctred.c
[2/52] Compiling jidctflt.c
[2/52] Compiling jquant1.c
[2/52] Compiling jidctfst.c
[2/52] Compiling jmemmgr.c
[2/52] Compiling jquant2.c
BUILD FAILURE 6.0 linux