The Swift Package Index logo.Swift Package Index

Build Information

Successful build of libpng, reference main (0eff23), with Swift 6.3 for macOS (SPM) on 4 Sep 2026 09:10:14 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/the-swift-collective/libpng.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/the-swift-collective/libpng
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0eff23a Support swift 5.5 minimum.
Submodule path 'libpng': checked out '93bc3a848b533d612a121a0c31e304cd02be7465'
Submodule 'libpng' (https://github.com/the-swift-collective/LibPNGC.git) registered for path 'libpng'
Cloning into '/Users/admin/builder/spi-builder-workspace/libpng'...
Cloned https://github.com/the-swift-collective/libpng.git
Revision (git rev-parse @):
0eff23aca92a086b7892831f5cb4f58e15be9449
SUCCESS checkout https://github.com/the-swift-collective/libpng.git at main
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.79s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.1 (1.43s)
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.1
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "libpng",
      "name": "libpng",
      "url": "https://github.com/the-swift-collective/libpng.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libpng",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "zlib",
          "name": "zlib",
          "url": "https://github.com/the-swift-collective/zlib.git",
          "version": "1.3.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/zlib",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/the-swift-collective/libpng.git
[1/30] Fetching libpng
Fetched https://github.com/the-swift-collective/libpng.git from cache (0.74s)
Fetching https://github.com/the-swift-collective/zlib.git from cache
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.53s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (1.19s)
Creating working copy for https://github.com/the-swift-collective/libpng.git
Working copy of https://github.com/the-swift-collective/libpng.git resolved at main (0eff23a)
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
warning: '.resolve-product-dependencies': dependency 'libpng' is not used by any target
Found 1 product dependencies
  - zlib
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/the-swift-collective/libpng.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/47] Compiling pnglibconf pnglibconf.c
[1/47] Write swift-version-69A768CDF2A0BEE1.txt
[2/47] Compiling ZLibC crc32.c
[3/47] Compiling ZLibC uncompr.c
[4/47] Compiling ZLibC adler32.c
[5/47] Compiling ZLibC trees.c
[6/47] Compiling ZLibC inflate.c
[7/47] Compiling ZLibC inftrees.c
[8/47] Write sources
[10/47] Compiling ZLibC deflate.c
[11/47] Compiling ZLibC inffast.c
[12/47] Compiling ZLibC infback.c
[13/47] Compiling ZLibC compress.c
[14/47] Compiling ZLibC gzclose.c
[15/47] Compiling ZLibC gzlib.c
[16/47] Compiling ZLibC gzwrite.c
[17/47] Compiling ZLibC gzread.c
[18/47] Compiling ZLibC zutil.c
[20/49] Compiling ZLib ZLib.swift
[21/49] Emitting module ZLib
[21/49] Compiling powerpc_init.c
[22/49] Compiling filter_vsx_intrinsics.c
[23/49] Compiling png pngtrans.c
[24/49] Compiling png pngwtran.c
[25/49] Compiling png pngset.c
[26/49] Compiling png pngrio.c
[27/49] Compiling png pngwio.c
[28/49] Compiling png pngmem.c
[29/49] Compiling png pngpread.c
[30/49] Compiling png pngread.c
[31/49] Compiling png pngwutil.c
[32/49] Compiling png pngrutil.c
[33/49] Compiling png pngget.c
[34/49] Compiling png pngerror.c
[35/49] Compiling mips_init.c
[35/49] Compiling filter_msa_intrinsics.c
[37/49] Compiling filter_mmi_inline_assembly.c
[38/49] Compiling loongarch_lsx_init.c
[39/49] Compiling filter_lsx_intrinsics.c
[40/49] Compiling png pngrtran.c
[41/49] Compiling intel_init.c
[42/49] Compiling filter_sse2_intrinsics.c
[43/49] Compiling png png.c
[44/49] Compiling filter_neon.S
[45/49] Compiling palette_neon_intrinsics.c
[46/49] Compiling png pngwrite.c
[47/49] Compiling arm_init.c
[48/49] Compiling filter_neon_intrinsics.c
[50/51] Emitting module LibPNG
[51/51] Compiling LibPNG LibPNG.swift
Build complete! (2.87s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "zlib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/the-swift-collective/zlib.git"
    }
  ],
  "manifest_display_name" : "libpng",
  "name" : "libpng",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "png",
      "targets" : [
        "pnglibconf",
        "png"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LibPNG",
      "targets" : [
        "LibPNG"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "pnglibconf",
      "module_type" : "ClangTarget",
      "name" : "pnglibconf",
      "path" : "Sources/pnglibconf",
      "product_memberships" : [
        "png",
        "LibPNG"
      ],
      "sources" : [
        "pnglibconf.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "png",
      "module_type" : "ClangTarget",
      "name" : "png",
      "path" : "libpng",
      "product_dependencies" : [
        "ZLib"
      ],
      "product_memberships" : [
        "png",
        "LibPNG"
      ],
      "sources" : [
        "arm/arm_init.c",
        "arm/filter_neon.S",
        "arm/filter_neon_intrinsics.c",
        "arm/palette_neon_intrinsics.c",
        "intel/filter_sse2_intrinsics.c",
        "intel/intel_init.c",
        "loongarch/filter_lsx_intrinsics.c",
        "loongarch/loongarch_lsx_init.c",
        "mips/filter_mmi_inline_assembly.c",
        "mips/filter_msa_intrinsics.c",
        "mips/mips_init.c",
        "png.c",
        "pngerror.c",
        "pngget.c",
        "pngmem.c",
        "pngpread.c",
        "pngread.c",
        "pngrio.c",
        "pngrtran.c",
        "pngrutil.c",
        "pngset.c",
        "pngtrans.c",
        "pngwio.c",
        "pngwrite.c",
        "pngwtran.c",
        "pngwutil.c",
        "powerpc/filter_vsx_intrinsics.c",
        "powerpc/powerpc_init.c"
      ],
      "target_dependencies" : [
        "pnglibconf"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LibPNGTests",
      "module_type" : "SwiftTarget",
      "name" : "LibPNGTests",
      "path" : "Tests/LibPNGTests",
      "sources" : [
        "LibPNGTests.swift"
      ],
      "target_dependencies" : [
        "LibPNG"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LibPNG",
      "module_type" : "SwiftTarget",
      "name" : "LibPNG",
      "path" : "Sources/LibPNG",
      "product_memberships" : [
        "LibPNG"
      ],
      "sources" : [
        "LibPNG.swift"
      ],
      "target_dependencies" : [
        "png"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.