The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-libgit2, reference main (7f5c4d), with Swift 5.10 for Linux on 6 Mar 2025 00:14:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.60.1
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 7f5c4d7 Use Git URL
Submodule path 'Sources/Clibgit2': checked out '842fcef3ebbd8c1449045ac2385c9f251f82cead'
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 @):
7f5c4d747236efd46b2c39bff268880484931825
SUCCESS checkout https://github.com/Formkunft/swift-libgit2.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Formkunft/swift-libgit2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[0/210] Compiling http.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[1/210] Compiling pcre_byte_order.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[2/210] Compiling wildmatch.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[3/210] Compiling zstream.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[4/210] Compiling varint.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
/host/spi-builder-workspace/Sources/Clibgit2/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/Sources/Clibgit2/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.
[5/210] Compiling util.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[5/210] Compiling map.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[5/210] Compiling utf8.c
[5/210] Compiling vector.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[5/210] Compiling tsort.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[5/210] Compiling llhttp.c
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
clang-15: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[5/210] Compiling process.c
[5/210] Compiling realpath.c
BUILD FAILURE 5.10 linux