Build Information
Failed to build SwiftGitX, reference 0.1.9 (526f70
), with Swift 6.1 for Android on 7 Aug 2025 19:09:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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.1
Building package at path: $PWD
https://github.com/ibrahimcetin/SwiftGitX.git
https://github.com/ibrahimcetin/SwiftGitX.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "libgit2",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ibrahimcetin/libgit2.git"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.54.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint.git"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.53.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SwiftGitX",
"name" : "SwiftGitX",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftGitX",
"targets" : [
"SwiftGitX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftGitXTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGitXTests",
"path" : "Tests/SwiftGitXTests",
"sources" : [
"CollectionTests/BranchCollectionTests.swift",
"CollectionTests/ConfigCollection.swift",
"CollectionTests/IndexCollectionTests.swift",
"CollectionTests/ReferenceCollectionTests.swift",
"CollectionTests/RemoteCollectionTests.swift",
"CollectionTests/StashCollectionTests.swift",
"CollectionTests/TagCollectionTests.swift",
"ObjectTests.swift",
"PerformanceTests/RepositoryPerformanceTests.swift",
"RepositoryTests/RepositoryDiffTests.swift",
"RepositoryTests/RepositoryOperationTests.swift",
"RepositoryTests/RepositoryPropertyTests.swift",
"RepositoryTests/RepositoryRemoteOperationTests.swift",
"RepositoryTests/RepositoryShowTests.swift",
"RepositoryTests/RepositorySwitchTests.swift",
"RepositoryTests/RepositoryTests.swift",
"SwiftGitXTests.swift"
],
"target_dependencies" : [
"SwiftGitX"
],
"type" : "test"
},
{
"c99name" : "SwiftGitX",
"module_type" : "SwiftTarget",
"name" : "SwiftGitX",
"path" : "Sources/SwiftGitX",
"product_dependencies" : [
"libgit2"
],
"product_memberships" : [
"SwiftGitX"
],
"sources" : [
"Collections/BranchCollection.swift",
"Collections/ConfigCollection.swift",
"Collections/IndexCollection.swift",
"Collections/ReferenceCollection.swift",
"Collections/RemoteCollection.swift",
"Collections/StashCollection.swift",
"Collections/TagCollection.swift",
"Helpers/Constants.swift",
"Helpers/Extensions/Array+withGitStrArray.swift",
"Helpers/Extensions/URL+relativePath.swift",
"Helpers/Factory/ObjectFactory.swift",
"Helpers/Factory/ReferenceFactory.swift",
"Helpers/LibGit2RawRepresentable.swift",
"Models/Diff/Diff.swift",
"Models/Diff/Patch.swift",
"Models/Diff/StatusEntry.swift",
"Models/FileMode.swift",
"Models/Options/CheckoutOptions.swift",
"Models/Options/CloneOptions.swift",
"Models/Options/DiffOption.swift",
"Models/Options/LogSortingOption.swift",
"Models/Options/ResetOption.swift",
"Models/Options/RestoreOption.swift",
"Models/Options/StashOption.swift",
"Models/Options/StatusOption.swift",
"Models/Progress/CheckoutProgress.swift",
"Models/Progress/TransferProgress.swift",
"Models/Remote.swift",
"Models/Signature.swift",
"Models/StashEntry.swift",
"Models/Types/BranchType.swift",
"Models/Types/ObjectType.swift",
"Models/Types/TagType.swift",
"Objects/Blob.swift",
"Objects/Commit.swift",
"Objects/OID.swift",
"Objects/Object.swift",
"Objects/Tree.swift",
"References/Branch.swift",
"References/Reference.swift",
"References/Tag.swift",
"Repository.swift",
"Sequences/BranchSequence.swift",
"Sequences/CommitSequence.swift",
"Sequences/ReferenceIterator.swift",
"Sequences/RemoteIterator.swift",
"Sequences/StashIterator.swift",
"Sequences/TagIterator.swift",
"SwiftGitX.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/ibrahimcetin/libgit2.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
[232/109224] Fetching swift-docc-plugin, libgit2
Fetched https://github.com/apple/swift-docc-plugin from cache (0.66s)
[10714/157689] Fetching libgit2, swiftformat
[18094/312192] Fetching libgit2, swiftformat, swiftlint
Fetched https://github.com/ibrahimcetin/libgit2.git from cache (70.82s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (73.09s)
Fetched https://github.com/realm/SwiftLint.git from cache (85.07s)
Computing version for https://github.com/ibrahimcetin/libgit2.git
Computed https://github.com/ibrahimcetin/libgit2.git at 1.9.1 (93.93s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (7.10s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3444] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (7.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (11.68s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.59.1 (1.03s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/100] Fetching collectionconcurrencykit
[83/1029] Fetching collectionconcurrencykit, swiftytexttable
[845/14033] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift
[1291/30175] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, sourcekitten
[3300/41172] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, sourcekitten, yams
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.55s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.55s)
[4411/40143] Fetching cryptoswift, sourcekitten, yams
Fetching https://github.com/apple/swift-argument-parser.git
[22291/55773] Fetching cryptoswift, sourcekitten, yams, swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (10.06s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (9.49s)
Fetched https://github.com/jpsim/Yams.git from cache (10.53s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (10.54s)
[1/71491] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.05s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (24.79s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (5.71s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.92s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.63s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.66s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2847] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.44s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.05s)
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.78s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.57.2 (0.89s)
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/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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
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/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/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/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-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.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_chartables.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/attr.c:8:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/attr.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/attr_file.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/util/futils.h:16:
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.
[8/219] Compiling attr.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/config_list.c:8:
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/config_list.h:11:
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.
[8/219] Compiling config_list.c
[8/219] Compiling zstream.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/config_file.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/219] Compiling config_file.c
In file included from /host/spi-builder-workspace/.build/checkouts/libgit2/src/libgit2/fetch.c: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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/219] Compiling fetch.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/219] Compiling config_mem.c
[8/219] Compiling pcre_byte_order.c
[8/219] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[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/218] Write sources
[8/218] Compiling wildmatch.c
[9/218] Compiling vector.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);
| ^
/host/spi-builder-workspace/.build/checkouts/libgit2/src/util/util.c:733: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.
[10/218] Compiling util.c
[10/218] Compiling realpath.c
[10/218] Compiling utf8.c
[10/218] Compiling map.c
[10/218] Compiling varint.c
[10/218] Compiling process.c
[10/218] Write swift-version-24593BA9C3E375BF.txt
[10/218] Compiling zstream.c
BUILD FAILURE 6.1 android