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 5.9 for macOS (SPM) on 8 Jul 2024 17:34:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.45.2
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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/SusanDoggie/libjpeg.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/53] Compiling jcdctmgr.c
[1/53] Compiling jccoefct.c
[2/53] Compiling jcapimin.c
[3/53] Compiling jutils.c
/Users/admin/builder/spi-builder-workspace/Sources/src/jsimd_none.c:400:46: error: unknown type name 'c_derived_tbl'
                            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'
                            c_derived_tbl *actbl)
                            ^
2 errors generated.
[4/53] Compiling jsimd_none.c
[4/53] Compiling jquant2.c
[4/53] Compiling jcicc.c
[4/53] Compiling jcphuff.c
[4/53] Compiling jaricom.c
[4/53] Compiling jquant1.c
/Users/admin/builder/spi-builder-workspace/Sources/src/jchuff.c:122:3: error: unknown type name 'c_derived_tbl'
  c_derived_tbl *dc_derived_tbls[NUM_HUFF_TBLS];
  ^
[4/53] Compiling jchuff.c
[4/53] Compiling jccolor.c
[4/53] Compiling jcarith.c
[4/53] Compiling jcapistd.c
BUILD FAILURE 5.9 macosSpm