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

Successful build of libpng, reference main (224658), with Swift 5.9 for macOS (SPM) on 17 Jul 2024 06:51:01 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.46.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AdaEngine/libpng.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AdaEngine/libpng
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2246583 Fix visibility
Cloned https://github.com/AdaEngine/libpng.git
Revision (git rev-parse @):
22465834d2d062f9d8ab5b7fcb5955df6d678c2b
SUCCESS checkout https://github.com/AdaEngine/libpng.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/AdaEngine/libpng.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/19] Compiling libpng pngrio.c
[1/19] Compiling libpng pngtrans.c
[2/19] Compiling libpng pngwrite.c
[2/19] Compiling libpng pngset.c
[4/19] Compiling libpng pngwio.c
[5/19] Compiling libpng pngread.c
[6/19] Compiling libpng pngwtran.c
[7/19] Compiling libpng pngmem.c
/Users/admin/builder/spi-builder-workspace/Sources/libpng/pngrutil.c:503:32: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'png_const_bytep' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      png_ptr->zstream.next_in = PNGZ_INPUT_CAST(input);
                               ^ ~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[8/19] Compiling libpng pngrutil.c
[9/19] Compiling libpng pngpread.c
/Users/admin/builder/spi-builder-workspace/Sources/libpng/pngwutil.c:520:32: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'png_const_bytep' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      png_ptr->zstream.next_in = PNGZ_INPUT_CAST(comp->input);
                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/libpng/pngwutil.c:966:29: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'png_const_bytep' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
   png_ptr->zstream.next_in = PNGZ_INPUT_CAST(input);
                            ^ ~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[10/19] Compiling libpng pngwutil.c
[11/19] Compiling libpng pngget.c
[12/19] Compiling libpng png.c
[13/19] Compiling libpng pngerror.c
[14/19] Compiling filter_neon.S
[15/19] Compiling libpng pngrtran.c
[16/19] Compiling arm_init.c
[17/19] Compiling palette_neon_intrinsics.c
[18/19] Compiling filter_neon_intrinsics.c
Build complete! (5.25s)
Build complete.
Done.