The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ClaudeHookKit, reference main (b81601), with Swift 6.3 for Linux on 18 Apr 2026 03:32:59 UTC.

Swift 6 data race errors: 0

Build Command

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

Build 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:         linux
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-4606859-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-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.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (0.90s)
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-24593BA9C3E375BF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
[10/16] Compiling ClaudeHookKit HookExecutor.swift
[11/16] Emitting module ClaudeHookKit
[12/16] Compiling ClaudeHookKit Event.swift
[13/16] Compiling ClaudeHookKit Hook.swift
[14/16] Compiling ClaudeHookKit Input.swift
[15/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 {
[16/16] Compiling ClaudeHookKit Output.swift
Build complete! (14.82s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "exact" : [
          "1.8.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "ClaudeHookKit",
  "name" : "ClaudeHookKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ClaudeHookKit",
      "targets" : [
        "ClaudeHookKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ClaudeHookKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ClaudeHookKitTests",
      "path" : "Tests/ClaudeHookKitTests",
      "sources" : [
        "PermissionRequestInputTests.swift",
        "PermissionRequestOutputTests.swift",
        "UserPromptSubmitInputTests.swift"
      ],
      "target_dependencies" : [
        "ClaudeHookKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ClaudeHookKit",
      "module_type" : "SwiftTarget",
      "name" : "ClaudeHookKit",
      "path" : "Sources/ClaudeHookKit",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "ClaudeHookKit"
      ],
      "sources" : [
        "Event.swift",
        "Hook.swift",
        "HookExecutor.swift",
        "Input.swift",
        "LogHandler.swift",
        "Output.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.