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 main (2402d8), with Swift 6.1 for macOS (Xcode) using Xcode 16.3 on 15 Dec 2025 09:54:02 UTC.

Build Command

No build command. This typically means the build failed at an early stage where we determine the build command.

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/csjones/lefthook-plugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/csjones/lefthook-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2402d8c Updating lefthook to 2.0.12
Cloned https://github.com/csjones/lefthook-plugin.git
Revision (git rev-parse @):
2402d8ccbb056f4c02b3ed2e25dd79b08c9c0bc7
SUCCESS checkout https://github.com/csjones/lefthook-plugin.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.1
Building package at path:  $PWD
https://github.com/csjones/lefthook-plugin.git
https://github.com/csjones/lefthook-plugin.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "lefthook",
  "name" : "lefthook",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "lefthook",
      "targets" : [
        "LefthookExecutable"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "LefthookPlugin",
      "targets" : [
        "LefthookPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "lefthook",
      "module_type" : "BinaryTarget",
      "name" : "lefthook",
      "path" : "remote/archive/lefthook.artifactbundle.zip",
      "product_memberships" : [
        "lefthook",
        "LefthookPlugin"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LefthookPlugin",
      "module_type" : "PluginTarget",
      "name" : "LefthookPlugin",
      "path" : "Plugins/LefthookPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Execute commands defined in lefthook.yml.",
          "type" : "custom",
          "verb" : "lefthook"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "LefthookPlugin"
      ],
      "sources" : [
        "LefthookPlugin.swift"
      ],
      "target_dependencies" : [
        "lefthook"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "LefthookExecutable",
      "module_type" : "SwiftTarget",
      "name" : "LefthookExecutable",
      "path" : "Sources/LefthookExecutable",
      "product_memberships" : [
        "lefthook"
      ],
      "sources" : [
        "ArtifactParser.swift",
        "FileSystem.swift",
        "OS.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ArtifactExpander"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ArtifactExpander",
      "module_type" : "PluginTarget",
      "name" : "ArtifactExpander",
      "path" : "Plugins/ArtifactExpander",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "lefthook"
      ],
      "sources" : [
        "ArtifactExpander.swift"
      ],
      "target_dependencies" : [
        "lefthook"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()fatalError
Resolve Package Graph
checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()fatalError
Resolve Package Graph
checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()fatalError
Resolved source packages:
  spi-builder-workspace: (null)
2025-12-15 01:54:01.181 xcodebuild[546:3146] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2025-15-12_01-54-0001.xcresult
xcodebuild: error: Could not resolve package dependencies:
  checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()
  fatalError
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()fatalError
Resolved source packages:
  spi-builder-workspace: (null)
2025-12-15 01:54:02.584 xcodebuild[724:4047] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2025-15-12_01-54-0002.xcresult
xcodebuild: error: Could not resolve package dependencies:
  checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()
  fatalError
BUILD FAILURE 6.1 macosXcodebuild