The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncSwiftGit, reference 0.5.0 (2ced14), with Swift 6.2 for Android on 21 Jun 2025 11:15:11 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
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-4606859-0":/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/bdewey/static-libgit2
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.05s)
[1/600] Fetching static-libgit2
Fetched https://github.com/bdewey/static-libgit2 from cache (7.26s)
Computing version for https://github.com/bdewey/static-libgit2
Computed https://github.com/bdewey/static-libgit2 at 0.5.0 (9.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.97s)
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
Creating working copy for https://github.com/bdewey/static-libgit2
Working copy of https://github.com/bdewey/static-libgit2 resolved at 0.5.0
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/12] Compiling Logging LogHandler.swift
[6/12] Compiling Logging Locks.swift
[7/12] Emitting module Logging
[8/12] Compiling Logging Logging.swift
[9/12] Compiling Logging MetadataProvider.swift
[11/13] Emitting module LinkerConfigurator
[12/13] Compiling LinkerConfigurator Dummy.swift
/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.
[13/14] Compiling Initializer git_initialize.m
BUILD FAILURE 6.2 android