Build Information
Failed to build swift-libgit2, reference v1.9.2 (cb7704), with Swift 6.0 for Linux on 14 Dec 2025 12:23:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Formkunft/swift-libgit2.git
Reference: v1.9.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/Formkunft/swift-libgit2
* tag v1.9.2 -> FETCH_HEAD
HEAD is now at cb7704b Update to libgit2 1.9.2
Submodule path 'Sources/Clibgit2': checked out 'ca225744b992bf2bf24e9a2eb357ddef78179667'
Submodule 'Sources/Clibgit2' (https://github.com/libgit2/libgit2) registered for path 'Sources/Clibgit2'
Cloning into '/host/spi-builder-workspace/Sources/Clibgit2'...
Cloned https://github.com/Formkunft/swift-libgit2.git
Revision (git rev-parse @):
cb7704bd880669d59e739b177e61c468f5894910
SUCCESS checkout https://github.com/Formkunft/swift-libgit2.git at v1.9.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Formkunft/swift-libgit2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d9a15f93bf2b54d4a5c29ad13249b33c1decc55763b749502648fc1aee8d297b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/210] Compiling http.c
[1/210] Compiling pcre_chartables.c
[2/210] Compiling pcre_version.c
[3/210] Compiling pcre_byte_order.c
[4/210] Compiling api.c
[5/210] Compiling zstream.c
[6/210] Compiling varint.c
[7/210] Compiling wildmatch.c
[8/210] Compiling vector.c
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/push.c:12:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/pack.h:18:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/odb.h:19:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/commit_graph.h:18:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/oid.h:14:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/util/hash.h:13:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/util/hash/sha.h:17:
/host/spi-builder-workspace/Sources/Clibgit2/src/util/hash/common_crypto.h:13:10: fatal error: 'CommonCrypto/CommonDigest.h' file not found
13 | #include <CommonCrypto/CommonDigest.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[9/210] Compiling push.c
[9/210] Compiling utf8.c
[9/210] Compiling util.c
[9/210] Compiling llhttp.c
[9/210] Compiling realpath.c
[9/210] Compiling pcre_compile.c
[9/210] Compiling map.c
[9/210] Compiling process.c
BUILD FAILURE 6.0 linux