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 AsyncSwiftGit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdewey/AsyncSwiftGit.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/bdewey/AsyncSwiftGit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/bdewey/AsyncSwiftGit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/bdewey/static-libgit2
Fetching https://github.com/apple/swift-log.git
[1/3173] Fetching swift-log
[3174/3770] Fetching swift-log, static-libgit2
Fetched https://github.com/apple/swift-log.git from cache (5.42s)
Fetched https://github.com/bdewey/static-libgit2 from cache (5.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.40s)
Computing version for https://github.com/bdewey/static-libgit2
Computed https://github.com/bdewey/static-libgit2 at 0.5.0 (0.42s)
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.4.2
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module Logging
[6/11] Emitting module LinkerConfigurator
[7/11] Compiling LinkerConfigurator Dummy.swift
/host/spi-builder-workspace/Sources/Initializer/git_initialize.m:1:9: fatal error: 'git2.h' file not found
#import "git2.h"
        ^~~~~~~~
1 error generated.
[8/12] Compiling Initializer git_initialize.m
[9/12] Compiling Logging Locks.swift
[10/12] Compiling Logging LogHandler.swift
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/Initializer/git_initialize.m:1:9: fatal error: 'git2.h' file not found
#import "git2.h"
        ^~~~~~~~
1 error generated.
[1/2] Compiling Initializer git_initialize.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 2