The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Lefthook, reference SWIFT-PLUGIN (c4363a), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 06:01:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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 (3.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.1
Building package at path:  $PWD
https://github.com/csjones/lefthook.git
https://github.com/csjones/lefthook.git
error: The file “lefthook.artifactbundle.zip” couldn’t be opened.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.1 macosSpm