Build Information
Failed to build swift-longhair, reference main (e489e9), with Swift 6.3 for Linux on 16 Apr 2026 06:58:40 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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/sena-mike/swift-longhair.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: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
Building for debugging...
[0/5] Write sources
[1/5] Compiling CLonghair SiameseTools.cpp
[2/5] Compiling CLonghair gf256.cpp
[3/5] Write swift-version-24593BA9C3E375BF.txt
[4/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.3 linux