The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGit2, reference develop (9d3f41), with Swift 6.1 for Android on 4 Oct 2026 07:09:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mbernson/SwiftGit2.git
Reference: develop
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/mbernson/SwiftGit2
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 9d3f41d Fix deprecation
Submodule path 'libgit2': checked out 'f7164261c9bc0a7e0ebf767c584e5192810a8b24'
Submodule 'libgit2' (https://github.com/libgit2/libgit2.git) registered for path 'libgit2'
Cloning into '/host/spi-builder-workspace/libgit2'...
Cloned https://github.com/mbernson/SwiftGit2.git
Revision (git rev-parse @):
9d3f41dda5f5d2cfcf52cad7323f042bd4b3a611
SUCCESS checkout https://github.com/mbernson/SwiftGit2.git at develop
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mbernson/SwiftGit2.git
https://github.com/mbernson/SwiftGit2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/ZipArchive/ZipArchive.git
[1/5550] Fetching ziparchive
Fetched https://github.com/ZipArchive/ZipArchive.git from cache (0.73s)
Computing version for https://github.com/ZipArchive/ZipArchive.git
Computed https://github.com/ZipArchive/ZipArchive.git at 2.6.0 (0.96s)
Creating working copy for https://github.com/ZipArchive/ZipArchive.git
Working copy of https://github.com/ZipArchive/ZipArchive.git resolved at 2.6.0
Building for debugging...
[0/212] Compiling pcre_jit_compile.c
[1/212] Compiling pcre_chartables.c
[1/212] Write sources
[3/212] Compiling http.c
[4/212] Compiling pcre_byte_order.c
[5/212] Compiling api.c
[6/212] Compiling wildmatch.c
[6/212] Compiling zstream.c
[8/212] Compiling vector.c
[9/212] Compiling llhttp.c
In file included from /host/spi-builder-workspace/libgit2/src/libgit2/diff_stats.c:13:
In file included from /host/spi-builder-workspace/libgit2/src/libgit2/diff.h:18:
In file included from /host/spi-builder-workspace/libgit2/src/libgit2/iterator.h:15:
In file included from /host/spi-builder-workspace/libgit2/src/libgit2/ignore.h:12:
In file included from /host/spi-builder-workspace/libgit2/src/libgit2/repository.h:21:
In file included from /host/spi-builder-workspace/libgit2/src/libgit2/refs.h:16:
In file included from /host/spi-builder-workspace/libgit2/src/libgit2/oid.h:14:
In file included from /host/spi-builder-workspace/libgit2/src/util/hash.h:13:
In file included from /host/spi-builder-workspace/libgit2/src/util/hash/sha.h:17:
/host/spi-builder-workspace/libgit2/src/util/hash/common_crypto.h:13:10: fatal error: 'CommonCrypto/CommonDigest.h' file not found
   13 | #include <CommonCrypto/CommonDigest.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/212] Compiling diff_stats.c
[10/212] Compiling varint.c
[10/212] Compiling realpath.c
[10/212] Compiling utf8.c
[10/212] Compiling process.c
[10/212] Compiling pcre_compile.c
[10/212] Compiling util.c
[10/212] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
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/202] Compiling utf8.c
/host/spi-builder-workspace/libgit2/src/util/util.c:746:2: error: call to undeclared function 'qsort_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  746 |         qsort_r(els, nel, elsize, &glue, git__qsort_r_glue_cmp);
      |         ^
/host/spi-builder-workspace/libgit2/src/util/util.c:746:2: note: did you mean 'qsort'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdlib.h:126:6: note: 'qsort' declared here
  126 | void qsort(void* _Nullable __base, size_t __nmemb, size_t __size, int (* _Nonnull __comparator)(const void* _Nullable __lhs, const void* _Nullable __rhs));
      |      ^
1 error generated.
[1/202] Compiling util.c
[1/202] Compiling realpath.c
[1/202] Compiling thread.c
[1/202] Compiling map.c
[1/202] Compiling process.c
[1/202] Compiling tsort.c
[1/202] Write swift-version-24593BA9C3E375BF.txt
[1/202] Compiling varint.c
BUILD FAILURE 6.1 android