The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-longhair, reference main (e489e9), with Swift 6.2 for Android on 16 Apr 2026 07:02:13 UTC.

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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sena-mike/swift-longhair.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/sena-mike/swift-longhair
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e489e9a Add README usage guide and validate example in tests (#8)
Submodule path 'Sources/CLonghair': checked out 'd5f9fa07403ce65f63e3edffaa898414c9774619'
Submodule 'Sources/CLonghair' (https://github.com/catid/longhair.git) registered for path 'Sources/CLonghair'
Cloning into '/host/spi-builder-workspace/Sources/CLonghair'...
Cloned https://github.com/sena-mike/swift-longhair.git
Revision (git rev-parse @):
e489e9a141c310d73d93f80601a5394266d534b6
SUCCESS checkout https://github.com/sena-mike/swift-longhair.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sena-mike/swift-longhair.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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Building for debugging...
[0/5] Write sources
[1/5] Compiling CLonghair gf256.cpp
[2/5] Compiling CLonghair SiameseTools.cpp
[3/5] Write swift-version--11D90AFD9DD3AB2.txt
[3/5] Compiling CLonghair cauchy_256.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module Longhair
/host/spi-builder-workspace/Sources/Longhair/Longhair.swift:51:18: error: cannot find 'cauchy256Initialize' in scope
 49 |   /// This closure will run exactly once, the first time _initializer is touched.
 50 |   private static let _initializer: Void = {
 51 |     precondition(cauchy256Initialize(expectedVersion: CAUCHY_256_VERSION) == 0)
    |                  `- error: cannot find 'cauchy256Initialize' in scope
 52 |     precondition(gf256Initialize(version: GF256_VERSION) == 0)
 53 |   }()
/host/spi-builder-workspace/Sources/Longhair/Longhair.swift:52:18: error: cannot find 'gf256Initialize' in scope
 50 |   private static let _initializer: Void = {
 51 |     precondition(cauchy256Initialize(expectedVersion: CAUCHY_256_VERSION) == 0)
 52 |     precondition(gf256Initialize(version: GF256_VERSION) == 0)
    |                  `- error: cannot find 'gf256Initialize' in scope
 53 |   }()
 54 |
[7/7] Compiling Longhair Longhair.swift
/host/spi-builder-workspace/Sources/Longhair/Longhair.swift:51:18: error: cannot find 'cauchy256Initialize' in scope
 49 |   /// This closure will run exactly once, the first time _initializer is touched.
 50 |   private static let _initializer: Void = {
 51 |     precondition(cauchy256Initialize(expectedVersion: CAUCHY_256_VERSION) == 0)
    |                  `- error: cannot find 'cauchy256Initialize' in scope
 52 |     precondition(gf256Initialize(version: GF256_VERSION) == 0)
 53 |   }()
/host/spi-builder-workspace/Sources/Longhair/Longhair.swift:52:18: error: cannot find 'gf256Initialize' in scope
 50 |   private static let _initializer: Void = {
 51 |     precondition(cauchy256Initialize(expectedVersion: CAUCHY_256_VERSION) == 0)
 52 |     precondition(gf256Initialize(version: GF256_VERSION) == 0)
    |                  `- error: cannot find 'gf256Initialize' in scope
 53 |   }()
 54 |
/host/spi-builder-workspace/Sources/Longhair/Longhair.swift:94:16: error: cannot find 'cauchy256Encode' in scope
 92 |     let result = dataBlockPointers.withUnsafeMutableBufferPointer { pointerArray in
 93 |       recoveryBuffer.withUnsafeMutableBytes { recoveryRawBuffer in
 94 |         return cauchy256Encode(
    |                `- error: cannot find 'cauchy256Encode' in scope
 95 |           dataBlockCount: Int32(dataBlocks.count),
 96 |           recoveryBlockCount: Int32(recoveryBlockCount),
/host/spi-builder-workspace/Sources/Longhair/Longhair.swift:193:9: error: cannot find 'cauchy256Decode' in scope
191 |
192 |       return cBlocks.withUnsafeMutableBufferPointer { ptr in
193 |         cauchy256Decode(
    |         `- error: cannot find 'cauchy256Decode' in scope
194 |           dataBlockCount: originalBlockCount,
195 |           recoveryBlockCount: recoveryBlockCount,
BUILD FAILURE 6.2 android