The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-libgit2, reference main (e7605b), with Swift 6.1 for Android on 9 Nov 2026 12:14:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Formkunft/swift-libgit2.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/Formkunft/swift-libgit2
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e7605bb Update to libgit2 1.9.7
Submodule path 'Sources/Clibgit2': checked out '49e408b3208bc3093757a1c2db938d3590f3f412'
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 @):
e7605bb30202a6f4c509dc4cc538953d66162e6a
SUCCESS checkout https://github.com/Formkunft/swift-libgit2.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Formkunft/swift-libgit2.git
https://github.com/Formkunft/swift-libgit2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/218] Compiling http.c
[1/218] Compiling pcre2_compile_cgroup.c
[2/218] Compiling api.c
[3/218] Compiling pcre2_chkdint.c
[4/218] Compiling zstream.c
[5/218] Compiling wildmatch.c
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/transports/local.c:10:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/libgit2/pack-objects.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.
[6/218] Compiling local.c
[6/218] Compiling realpath.c
[6/218] Compiling varint.c
[6/218] Compiling utf8.c
[6/218] Compiling vector.c
[6/218] Compiling pcre2_compile.c
[6/218] Compiling util.c
[6/218] Compiling llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/212] Compiling realpath.c
[1/212] Compiling varint.c
[2/212] Compiling map.c
[3/212] Compiling utf8.c
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/util/unix/process.c:15:
In file included from /host/spi-builder-workspace/Sources/Clibgit2/src/util/futils.h:16:
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.
[4/212] Compiling process.c
[4/212] Compiling sortedcache.c
[4/212] Compiling tsort.c
[4/212] Compiling strlist.c
[4/212] Compiling vector.c
[4/212] Compiling str.c
[4/212] Compiling util.c
[4/212] Compiling thread.c
BUILD FAILURE 6.1 android