The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KrakenKit with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krakencl/krakenkit.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/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
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/KrakenCL/LibPNG.git from cache
Fetched https://github.com/KrakenCL/LibPNG.git (0.37s)
Fetched https://github.com/apple/swift-protobuf.git (0.83s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (0.54s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.3.1 (0.56s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "krakenkit",
      "name": "KrakenKit",
      "url": "https://github.com/krakencl/krakenkit.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/krakenkit",
      "dependencies": [
        {
          "identity": "swift-protobuf",
          "name": "SwiftProtobuf",
          "url": "https://github.com/apple/swift-protobuf.git",
          "version": "1.25.1",
          "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-protobuf",
          "dependencies": [
          ]
        },
        {
          "identity": "libpng",
          "name": "LibPNG",
          "url": "https://github.com/KrakenCL/LibPNG.git",
          "version": "0.0.3",
          "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LibPNG",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/krakencl/krakenkit.git
[1/290] Fetching krakenkit
Fetched https://github.com/krakencl/krakenkit.git (0.34s)
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/KrakenCL/LibPNG.git from cache
Fetched https://github.com/KrakenCL/LibPNG.git (0.36s)
Fetched https://github.com/apple/swift-protobuf.git (0.76s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (0.01s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.25.1 (0.02s)
Creating working copy for https://github.com/krakencl/krakenkit.git
Working copy of https://github.com/krakencl/krakenkit.git resolved at master
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.25.1
warning: '.resolve-product-dependencies': dependency 'krakenkit' is not used by any target
Found 2 product dependencies
  - SwiftProtobuf
  - LibPNG
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/73] Emitting module SwiftProtobuf
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/82] Emitting module LibPNG
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/82] Compiling LibPNG LibPNG.swift
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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: 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
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/73] Emitting module LibPNG
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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
       ^
[2/73] Compiling LibPNG LibPNG.swift
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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: 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 5.9 macosSpm