Build Information
Failed to build SwiftGitX, reference main (1a4dad
), with Swift 5.10 for Linux on 3 Sep 2025 15:40:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibrahimcetin/SwiftGitX.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/ibrahimcetin/SwiftGitX
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1a4dadb Update expected libgit2 version in tests to 1.9.0
Cloned https://github.com/ibrahimcetin/SwiftGitX.git
Revision (git rev-parse @):
1a4dadbc82a7aa21abafc198eef0c77f6280114d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ibrahimcetin/SwiftGitX.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/ibrahimcetin/SwiftGitX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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
[127/109224] Fetching swift-docc-plugin, libgit2
[8523/160062] Fetching swift-docc-plugin, libgit2, swiftformat
[10104/315229] Fetching swift-docc-plugin, libgit2, swiftformat, swiftlint
Fetched https://github.com/apple/swift-docc-plugin from cache (0.83s)
[10098/313135] Fetching libgit2, swiftformat, swiftlint
Fetched https://github.com/ibrahimcetin/libgit2.git from cache (8.40s)
[31067/206005] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (68.02s)
Fetched https://github.com/realm/SwiftLint.git from cache (69.00s)
Computing version for https://github.com/ibrahimcetin/libgit2.git
Computed https://github.com/ibrahimcetin/libgit2.git at 1.9.1 (2.00s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3501] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.69s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.60.0 (1.19s)
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/929] Fetching swiftytexttable
[429/1029] Fetching swiftytexttable, collectionconcurrencykit
[1030/17171] Fetching swiftytexttable, collectionconcurrencykit, sourcekitten
[1192/30183] Fetching swiftytexttable, collectionconcurrencykit, sourcekitten, cryptoswift
[2910/41315] Fetching swiftytexttable, collectionconcurrencykit, sourcekitten, cryptoswift, yams
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.55s)
Fetching https://github.com/apple/swift-argument-parser.git
[4620/41215] Fetching swiftytexttable, sourcekitten, cryptoswift, yams
[7529/113063] Fetching swiftytexttable, sourcekitten, cryptoswift, yams, swift-syntax
[24177/128755] Fetching swiftytexttable, sourcekitten, cryptoswift, yams, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.60s)
[56831/113063] Fetching swiftytexttable, sourcekitten, cryptoswift, yams, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.56s)
[79216/100051] Fetching swiftytexttable, sourcekitten, yams, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (10.85s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (10.89s)
Fetched https://github.com/jpsim/Yams.git from cache (10.96s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.99s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.77s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.81s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.88s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (0.81s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2847] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.63s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0-prerelease-2025-08-11 (1.26s)
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.81s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.97s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.1.0 (0.86s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.57.2 (0.83s)
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/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.57.2
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.2
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/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.60.0
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
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0-prerelease-2025-08-11
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.1.0
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin SwiftFormatPlugin
[6/6] Compiling plugin SwiftLintBuildToolPlugin
/host/spi-builder-workspace/.build/checkouts/SwiftLint/Plugins/SwiftLintCommandPlugin/SwiftLintCommandPlugin.swift:88:9: warning: default will never be executed
@unknown default:
^
[7/7] Compiling plugin SwiftLintCommandPlugin
Building for debugging...
[7/219] Compiling pcre_chartables.c
[8/219] Compiling pcre_byte_order.c
[9/219] Compiling http.c
[10/219] Compiling pcre_fullinfo.c
[11/219] Compiling pcre_get.c
[12/219] Compiling vector.c
[12/219] Compiling varint.c
[14/219] Compiling pcre_compile.c
[15/219] Compiling zstream.c
[16/219] Compiling wildmatch.c
[17/219] Compiling utf8.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]
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'?
/usr/include/stdlib.h:838:13: note: 'qsort' declared here
extern void qsort (void *__base, size_t __nmemb, size_t __size,
^
1 error generated.
[18/219] Compiling util.c
[18/219] Compiling realpath.c
[18/219] Compiling process.c
[18/219] Compiling map.c
[18/219] Compiling thread.c
[18/219] Compiling tsort.c
[18/219] Compiling llhttp.c
[18/219] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux