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

Successful build of lefthook, reference 1.13.0 (d12f39), with Swift 5.10 for Linux on 12 Sep 2025 04:22:48 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/csjones/lefthook-plugin.git
Reference: 1.13.0
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               1.13.0     -> FETCH_HEAD
HEAD is now at d12f39e Updating lefthook to 1.13.0
Cloned https://github.com/csjones/lefthook-plugin.git
Revision (git rev-parse @):
d12f39eaf2cfb6f67d3c8b870aeedc59676a05f0
SUCCESS checkout https://github.com/csjones/lefthook-plugin.git at 1.13.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/csjones/lefthook-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
[1397/37044686] Downloading https://github.com/csjones/lefthook-plugin/releases/download/1.13.0/lefthook.artifactbundle.zip
Downloading binary artifact https://github.com/csjones/lefthook-plugin/releases/download/1.13.0/lefthook.artifactbundle.zip
Downloaded https://github.com/csjones/lefthook-plugin/releases/download/1.13.0/lefthook.artifactbundle.zip (4.37s)
[1/1] Compiling plugin ArtifactExpander
[2/2] Compiling plugin LefthookPlugin
Building for debugging...
[2/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling LefthookExecutable main.swift
[6/12] Compiling LefthookExecutable OS.swift
[7/12] Compiling LefthookExecutable FileSystem.swift
[8/12] Emitting module LefthookExecutable
[9/12] Compiling LefthookExecutable ArtifactParser.swift
[10/13] Wrapping AST for LefthookExecutable for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking lefthook
Build complete! (14.04s)
Build complete.
{
  "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"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.