The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftGitX, reference 0.1.9 (526f70), with Swift 6.2 (beta) for Android on 7 Aug 2025 19:08:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibrahimcetin/SwiftGitX.git
Reference: 0.1.9
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/ibrahimcetin/SwiftGitX
 * tag               0.1.9      -> FETCH_HEAD
HEAD is now at 526f707 Update libgit2 version to 1.9.1
Cloned https://github.com/ibrahimcetin/SwiftGitX.git
Revision (git rev-parse @):
526f707b4f77aee5cce5d432b557e1a8eacab006
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ibrahimcetin/SwiftGitX.git at 0.1.9
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ibrahimcetin/SwiftGitX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/ibrahimcetin/libgit2.git
[1/2094] Fetching swift-docc-plugin
[253/109224] Fetching swift-docc-plugin, libgit2
[25664/159783] Fetching swift-docc-plugin, libgit2, swiftformat
[28758/314286] Fetching swift-docc-plugin, libgit2, swiftformat, swiftlint
Fetched https://github.com/ibrahimcetin/libgit2.git from cache (5.26s)
[27336/207156] Fetching swift-docc-plugin, swiftformat, swiftlint
Fetched https://github.com/apple/swift-docc-plugin from cache (56.50s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (57.20s)
Fetched https://github.com/realm/SwiftLint.git from cache (57.86s)
Computing version for https://github.com/ibrahimcetin/libgit2.git
Computed https://github.com/ibrahimcetin/libgit2.git at 1.9.1 (60.05s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3444] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.53s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.59.1 (0.81s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/100] Fetching collectionconcurrencykit
[101/1029] Fetching collectionconcurrencykit, swiftytexttable
Fetching https://github.com/jpsim/SourceKitten.git
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.28s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.29s)
[1/13004] Fetching cryptoswift
[1822/24001] Fetching cryptoswift, yams
[2702/95492] Fetching cryptoswift, yams, swift-syntax
[5177/111634] Fetching cryptoswift, yams, swift-syntax, sourcekitten
[25342/127264] Fetching cryptoswift, yams, swift-syntax, sourcekitten, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.57s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (3.17s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.89s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.91s)
Fetched https://github.com/jpsim/Yams.git from cache (4.92s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (5.40s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (6.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (4.39s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (3.51s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (5.21s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (1.89s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2847] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.40s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (3.29s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.46s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.57.2 (0.49s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/ibrahimcetin/libgit2.git
Working copy of https://github.com/ibrahimcetin/libgit2.git resolved at 1.9.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.57.2
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.59.1
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftFormatPlugin
[4/4] Compiling plugin SwiftLintCommandPlugin
[5/5] Compiling plugin SwiftLintBuildToolPlugin
[6/6] Compiling plugin GenerateManual
[7/7] Compiling plugin GenerateDoccReference
Building for debugging...
[7/219] Compiling pcre_byte_order.c
[8/219] Compiling wildmatch.c
[9/219] Compiling vector.c
[10/219] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/219] Compiling api.c
[12/219] Compiling xdiffi.c
[13/219] Compiling utf8.c
[14/219] Compiling varint.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/config_mem.c:8:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/config.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/repository.h:22:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/refs.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/oid.h:14:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/hash.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/hash/sha.h:21:
/host/spi-builder-workspace/.build/checkouts/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.
[15/219] Compiling config_mem.c
[15/219] Compiling realpath.c
[15/219] Compiling thread.c
[15/219] Compiling tsort.c
[15/219] Compiling map.c
[15/219] Compiling process.c
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/util.c:733:2: error: call to undeclared function 'qsort_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  733 |         qsort_r(els, nel, elsize, &glue, git__qsort_r_glue_cmp);
      |         ^
[15/219] Compiling util.c
[15/219] Compiling zstream.c
BUILD FAILURE 6.2 android