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, reference 0.0.1 (9b3d1f), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 19:07:27 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/KrakenCL/LibPNG.git
[1/57] Fetching libpng
Fetched https://github.com/KrakenCL/LibPNG.git from cache (0.66s)
[1/37827] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (4.92s)
Computing version for https://github.com/KrakenCL/LibPNG.git
Computed https://github.com/KrakenCL/LibPNG.git at 0.0.3 (0.66s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.3.1 (0.68s)
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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "krakenkit",
      "name": "KrakenKit",
      "url": "https://github.com/krakencl/krakenkit.git",
      "version": "unspecified",
      "path": "/Users/admin/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.28.2",
          "path": "/Users/admin/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/admin/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 from cache (1.01s)
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.78s)
Fetched https://github.com/apple/swift-protobuf.git from cache (0.78s)
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.28.2 (0.48s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.28.2
Creating working copy for https://github.com/krakencl/krakenkit.git
Working copy of https://github.com/krakencl/krakenkit.git resolved at 0.0.1 (9b3d1fb)
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: '.resolve-product-dependencies': dependency 'krakenkit' is not used by any target
Found 2 product dependencies
  - SwiftProtobuf
  - LibPNG
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/krakencl/krakenkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.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
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