The Swift Package Index logo.Swift Package Index

Build Information

Failed to build lefthook, reference 2.2.2 (c60665), with Swift 6.2 for Wasm on 16 Oct 2026 01:35:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/csjones/lefthook-plugin.git
Reference: 2.2.2
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.2.2      -> FETCH_HEAD
HEAD is now at c60665b Updating lefthook to 2.2.2
Cloned https://github.com/csjones/lefthook-plugin.git
Revision (git rev-parse @):
c60665b7e78ba5e1788c3ad047c327c7dee19c2a
SUCCESS checkout https://github.com/csjones/lefthook-plugin.git at 2.2.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/csjones/lefthook-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Downloading binary artifact https://github.com/csjones/lefthook-plugin/releases/download/2.2.2/lefthook.artifactbundle.zip
[16375/36999192] Downloading https://github.com/csjones/lefthook-plugin/releases/download/2.2.2/lefthook.artifactbundle.zip
Downloaded https://github.com/csjones/lefthook-plugin/releases/download/2.2.2/lefthook.artifactbundle.zip (2.08s)
[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
/host/spi-builder-workspace/Sources/LefthookExecutable/main.swift:12:15: error: cannot find 'Process' in scope
10 |
11 | // Run lefthook binary with the arguments that were passed into this executable.
12 | let process = Process()
   |               `- error: cannot find 'Process' in scope
13 | process.executableURL = URL(fileURLWithPath: "/usr/bin/env")
14 | process.arguments = [lefthookBinaryPath] + lefthookArgs
[6/12] Compiling LefthookExecutable OS.swift
/host/spi-builder-workspace/Sources/LefthookExecutable/OS.swift:10:23: error: cannot find 'Process' in scope
 8 |     /// https://github.com/apple/swift-package-manager/blob/1c68e6cab56a3acba30d3ecea0c09209c6c7f565/Sources/Basics/Triple%2BBasics.swift#L84-L121
 9 |     static func getSystemTriple() -> String? {
10 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
11 |         let stdoutPipe = Pipe()
12 |
[7/12] Compiling LefthookExecutable FileSystem.swift
[8/12] Compiling LefthookExecutable ArtifactParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module LefthookExecutable
/host/spi-builder-workspace/Sources/LefthookExecutable/main.swift:12:15: error: cannot find 'Process' in scope
10 |
11 | // Run lefthook binary with the arguments that were passed into this executable.
12 | let process = Process()
   |               `- error: cannot find 'Process' in scope
13 | process.executableURL = URL(fileURLWithPath: "/usr/bin/env")
14 | process.arguments = [lefthookBinaryPath] + lefthookArgs
BUILD FAILURE 6.2 wasm