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 Lefthook, reference SWIFT-PLUGIN (c4363a), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 04:07:47 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/csjones/lefthook.git
Reference: SWIFT-PLUGIN
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/csjones/lefthook
 * branch            SWIFT-PLUGIN -> FETCH_HEAD
 * [new branch]      SWIFT-PLUGIN -> origin/SWIFT-PLUGIN
HEAD is now at c4363aa Merge branch 'evilmartians:master' into SWIFT-PLUGIN
Cloned https://github.com/csjones/lefthook.git
Revision (git rev-parse @):
c4363aa9a4f0a29041138689866b53b1fd599c12
SUCCESS checkout https://github.com/csjones/lefthook.git at SWIFT-PLUGIN
========================================
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": "lefthook",
      "name": "Lefthook",
      "url": "https://github.com/csjones/lefthook.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lefthook",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/csjones/lefthook.git
[1/5466] Fetching lefthook
Fetched https://github.com/csjones/lefthook.git from cache (5.94s)
Creating working copy for https://github.com/csjones/lefthook.git
Working copy of https://github.com/csjones/lefthook.git resolved at SWIFT-PLUGIN (c4363aa)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/csjones/lefthook.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
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm