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 2.0.12 (2402d8), with Swift 6.1 for Android on 15 Dec 2025 09:50:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/csjones/lefthook-plugin.git
Reference: 2.0.12
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/csjones/lefthook-plugin
 * tag               2.0.12     -> FETCH_HEAD
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 2.0.12
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/csjones/lefthook-plugin.git
https://github.com/csjones/lefthook-plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "lefthook",
  "name" : "lefthook",
  "path" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Downloading binary artifact https://github.com/csjones/lefthook-plugin/releases/download/2.0.12/lefthook.artifactbundle.zip
[1369/36909168] Downloading https://github.com/csjones/lefthook-plugin/releases/download/2.0.12/lefthook.artifactbundle.zip
error: checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Downloading binary artifact https://github.com/csjones/lefthook-plugin/releases/download/2.0.12/lefthook.artifactbundle.zip
[2747/36909168] Downloading https://github.com/csjones/lefthook-plugin/releases/download/2.0.12/lefthook.artifactbundle.zip
error: checksum of downloaded artifact of binary target 'lefthook' (02cb640df588a63b35d5f1797d8c3d7e2060c461c7753277695fabd1548a8491) does not match checksum specified by the manifest ()
BUILD FAILURE 6.1 android