Build Information
Failed to build KrakenKit, reference 0.0.1 (9b3d1f
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 07:06:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krakencl/krakenkit.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krakencl/krakenkit
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 9b3d1fb New toolchain released.
Cloned https://github.com/krakencl/krakenkit.git
Revision (git rev-parse @):
9b3d1fbaf39aaa0f53d1b814f3a2811263e77ab3
SUCCESS checkout https://github.com/krakencl/krakenkit.git at 0.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/krakencl/krakenkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/11] Write sources
[1/11] Copying PrivacyInfo.xcprivacy
[1/11] Write sources
[6/11] Write swift-version-1EA4D86E10B52AF.txt
[8/98] Emitting module SwiftProtobuf
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/107] 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
[10/107] 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
[3/57] Fetching libpng
[58/39512] Fetching libpng, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (4.61s)
Fetched https://github.com/KrakenCL/LibPNG.git from cache (4.61s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (5.12s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.38s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/KrakenCL/LibPNG.git
Working copy of https://github.com/KrakenCL/LibPNG.git resolved at 0.0.3
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
warning: you may be able to install libpng using your system-packager:
brew install libpng
BUILD FAILURE 6.2 macosSpm