Build Information
Failed to build AsyncSwiftGit, reference 0.5.0 (2ced14), with Swift 6.2 for Linux on 21 Jun 2025 11:14:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdewey/AsyncSwiftGit.git
Reference: 0.5.0
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/bdewey/AsyncSwiftGit
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 2ced14c [BREAKING] Compile with Swift strict concurrency checking (#4)
Cloned https://github.com/bdewey/AsyncSwiftGit.git
Revision (git rev-parse @):
2ced14cdf816cea694a0faae4c54f80da2a70eda
SUCCESS checkout https://github.com/bdewey/AsyncSwiftGit.git at 0.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/bdewey/AsyncSwiftGit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/bdewey/static-libgit2
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
[1/600] Fetching static-libgit2
Fetched https://github.com/bdewey/static-libgit2 from cache (6.72s)
Computing version for https://github.com/bdewey/static-libgit2
Computed https://github.com/bdewey/static-libgit2 at 0.5.0 (8.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.82s)
Creating working copy for https://github.com/bdewey/static-libgit2
Working copy of https://github.com/bdewey/static-libgit2 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Logging MetadataProvider.swift
[6/12] Compiling LinkerConfigurator Dummy.swift
[7/12] Emitting module LinkerConfigurator
/host/spi-builder-workspace/Sources/Initializer/git_initialize.m:1:9: fatal error: 'git2.h' file not found
1 | #import "git2.h"
| ^~~~~~~~
1 error generated.
[8/13] Compiling Initializer git_initialize.m
[9/13] Compiling Logging LogHandler.swift
[10/13] Compiling Logging Locks.swift
[11/13] Emitting module Logging
BUILD FAILURE 6.2 linux