This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 KrakenKit with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krakencl/krakenkit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krakencl/krakenkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cba32fe Add HOW TO repository notice.
Cloned https://github.com/krakencl/krakenkit.git
Revision (git rev-parse @):
cba32fe482765679b891ec6491e74f4e82574ec2
SUCCESS checkout https://github.com/krakencl/krakenkit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/krakencl/krakenkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[4/9] Write swift-version-6F35C1178C84523A.txt
[6/82] Emitting module SwiftProtobuf
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/89] Emitting module LibPNG
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
1 | module CPNG [system] {
2 |   header "/usr/local/include/png.h"
  |          `- error: header '/usr/local/include/png.h' not found
3 |   link "png"
4 |   export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
 17 |
 18 | import Foundation
 19 | import CPNG
    |        `- error: could not build Objective-C module 'CPNG'
 20 |
 21 | public typealias Pixel = UInt8
[8/89] Compiling LibPNG LibPNG.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
1 | module CPNG [system] {
2 |   header "/usr/local/include/png.h"
  |          `- error: header '/usr/local/include/png.h' not found
3 |   link "png"
4 |   export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
 17 |
 18 | import Foundation
 19 | import CPNG
    |        `- error: could not build Objective-C module 'CPNG'
 20 |
 21 | public typealias Pixel = UInt8
Fetching https://github.com/KrakenCL/LibPNG.git
Fetching https://github.com/apple/swift-protobuf.git
[1/57] Fetching libpng
[58/36243] Fetching libpng, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.18s)
Fetched https://github.com/KrakenCL/LibPNG.git from cache (6.18s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (0.68s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.3.1 (0.69s)
Creating working copy for https://github.com/KrakenCL/LibPNG.git
Working copy of https://github.com/KrakenCL/LibPNG.git resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.3.1
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libpng using your system-packager:
    brew install libpng
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.