Build Information
Failed to build ClaudeHookKit, reference main (b81601), with Swift 6.3 for Android on 18 Apr 2026 03:32:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/ClaudeHookKit.git
Reference: main
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/giginet/ClaudeHookKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b816011 Update README examples to use async invoke
Cloned https://github.com/giginet/ClaudeHookKit.git
Revision (git rev-parse @):
b8160111f0e74f4495eccef77198b3ea51801788
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/giginet/ClaudeHookKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/giginet/ClaudeHookKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (1.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.8.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--4F562202D5529B1.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Emitting module Logging
[6/8] Compiling Logging Logging.swift
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging LogHandler.swift
[10/16] Compiling ClaudeHookKit Event.swift
[11/16] Emitting module ClaudeHookKit
[12/16] Compiling ClaudeHookKit LogHandler.swift
/host/spi-builder-workspace/Sources/ClaudeHookKit/LogHandler.swift:28:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
26 | let fileManager = FileManager.default
27 | if !fileManager.fileExists(atPath: filePath) {
28 | fileManager.createFile(atPath: filePath, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
29 | }
30 | guard let handle = FileHandle(forWritingAtPath: filePath) else {
[13/16] Compiling ClaudeHookKit Output.swift
[14/16] Compiling ClaudeHookKit Hook.swift
[15/16] Compiling ClaudeHookKit Input.swift
[16/16] Compiling ClaudeHookKit HookExecutor.swift
/host/spi-builder-workspace/Sources/ClaudeHookKit/HookExecutor.swift:59:21: error: cannot find 'isatty' in scope
57 | func execute() async throws {
58 | let inputHandler = FileHandle.standardInput
59 | let isTTY = isatty(STDIN_FILENO) != 0
| `- error: cannot find 'isatty' in scope
60 | guard !isTTY else {
61 | throw Error.invalidCall
/host/spi-builder-workspace/Sources/ClaudeHookKit/HookExecutor.swift:59:28: error: cannot find 'STDIN_FILENO' in scope
57 | func execute() async throws {
58 | let inputHandler = FileHandle.standardInput
59 | let isTTY = isatty(STDIN_FILENO) != 0
| `- error: cannot find 'STDIN_FILENO' in scope
60 | guard !isTTY else {
61 | throw Error.invalidCall
BUILD FAILURE 6.3 android