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.10 for macOS (SPM) on 17 Jul 2024 06:50:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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
========================================
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": "libpng",
      "name": "libpng",
      "url": "https://github.com/AdaEngine/libpng.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libpng",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AdaEngine/libpng.git
[1/62] Fetching libpng
Fetched https://github.com/AdaEngine/libpng.git from cache (1.36s)
Creating working copy for https://github.com/AdaEngine/libpng.git
Working copy of https://github.com/AdaEngine/libpng.git resolved at main (2246583)
warning: '.resolve-product-dependencies': dependency 'libpng' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/AdaEngine/libpng.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/19] Compiling libpng pngwtran.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.
[1/19] Compiling libpng pngwutil.c
[2/19] Compiling libpng pngread.c
[3/19] Compiling libpng pngmem.c
[4/19] Compiling libpng pngwio.c
[5/19] Compiling libpng pngtrans.c
[6/19] Compiling libpng pngset.c
[7/19] Compiling libpng pngget.c
[8/19] Compiling libpng pngrio.c
[9/19] Compiling palette_neon_intrinsics.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.
[10/19] Compiling libpng pngrutil.c
[11/19] Compiling filter_neon_intrinsics.c
[12/19] Compiling filter_neon.S
[13/19] Compiling libpng pngrtran.c
[14/19] Compiling arm_init.c
[15/19] Compiling libpng png.c
[16/19] Compiling libpng pngerror.c
[17/19] Compiling libpng pngpread.c
[18/19] Compiling libpng pngwrite.c
Build complete! (1.99s)
Build complete.
Done.