Build Information
Failed to build KrakenKit with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krakencl/krakenkit.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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: 5.10
Building package at path: $workDir
https://github.com/krakencl/krakenkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[4/9] Write swift-version--423B1241ED78D482.txt
[6/80] Emitting module SwiftProtobuf
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/89] Emitting module LibPNG
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
[8/89] Compiling LibPNG LibPNG.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
error: fatalError
Fetching https://github.com/KrakenCL/LibPNG.git from cache
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetched https://github.com/KrakenCL/LibPNG.git from cache (0.22s)
Fetched https://github.com/apple/swift-protobuf.git from cache (0.22s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (0.02s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.3.1 (0.03s)
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
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: you may be able to install libpng using your system-packager:
brew install libpng
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/76] Emitting module LibPNG
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
[3/76] Compiling LibPNG LibPNG.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LibPNG/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
error: fatalError
warning: you may be able to install libpng using your system-packager:
brew install libpng
BUILD FAILURE 5.10 macosSpm