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 (45fbd5), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 01:22:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SusanDoggie/libjpeg.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SusanDoggie/libjpeg
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 45fbd53 Update .gitmodules
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 '/Users/admin/builder/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 @):
45fbd53914ab6aee3ed0e97f6f9cb7e42cf32a34
SUCCESS checkout https://github.com/SusanDoggie/libjpeg.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "libjpeg",
      "name": "libjpeg",
      "url": "https://github.com/SusanDoggie/libjpeg.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libjpeg",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SusanDoggie/libjpeg.git
[3/294] Fetching libjpeg
Fetched https://github.com/SusanDoggie/libjpeg.git from cache (0.98s)
Creating working copy for https://github.com/SusanDoggie/libjpeg.git
Working copy of https://github.com/SusanDoggie/libjpeg.git resolved at main (45fbd53)
warning: '.resolve-product-dependencies': dependency 'libjpeg' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SusanDoggie/libjpeg.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
/Users/admin/builder/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,
      |                                              ^
/Users/admin/builder/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.
[0/53] Compiling jsimd_none.c
[0/53] Compiling jmemnobs.c
[0/53] Compiling jccoefct.c
[0/53] Compiling jquant2.c
[0/53] Compiling jquant1.c
[0/53] Compiling jutils.c
[0/53] Compiling jcapistd.c
[0/53] Compiling jmemmgr.c
[0/53] Compiling jidctred.c
[0/53] Compiling jidctint.c
BUILD FAILURE 6.0 macosSpm