Build Information
Failed to build Git with Swift 5.9 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/Git.git
Reference: 0.0.1
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/SwiftDocOrg/Git
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 2910f77 Update CI workflow to test with Swift 5.3 (#2)
Cloned https://github.com/SwiftDocOrg/Git.git
Revision (git rev-parse @):
2910f772db72b1274dd33fcd3f60de323f866e94
SUCCESS checkout https://github.com/SwiftDocOrg/Git.git at 0.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
warning: couldn't find pc file for libgit2
Building for debugging...
[1/21] Compiling Git Blob.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[2/21] Compiling Git Commit.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[3/21] Compiling Git Tree.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/23] Emitting module Git
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[5/23] Compiling Git Tag.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[6/23] Compiling Git Remote.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[7/23] Compiling Git Repository.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[8/23] Compiling Git Head.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[9/23] Compiling Git Index.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[10/23] Compiling Git Reference.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[11/23] Compiling Git Branch.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[12/23] Compiling Git Note.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[13/23] Compiling Git Credentials.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[14/23] Compiling Git Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[15/23] Compiling Git Array+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[16/23] Compiling Git RevisionWalker.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[17/23] Compiling Git Signature.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[18/23] Compiling Git Git.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[19/23] Compiling Git Message.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[20/23] Compiling Git Object.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[21/23] Compiling Git Attributes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[22/23] Compiling Git Checkout.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[23/23] Compiling Git Clone.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
error: fatalError
warning: couldn't find pc file for libgit2
[0/1] Planning build
Building for debugging...
[1/21] Compiling Git Credentials.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[2/21] Compiling Git Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[3/21] Compiling Git Array+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[4/23] Compiling Git Git.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[5/23] Compiling Git Message.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[6/23] Compiling Git Object.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[7/23] Compiling Git Reference.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[8/23] Compiling Git Branch.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[9/23] Compiling Git Note.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[10/23] Compiling Git Tag.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[11/23] Compiling Git Remote.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[12/23] Compiling Git Repository.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[13/23] Compiling Git Head.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[14/23] Compiling Git Index.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[15/23] Compiling Git Blob.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[16/23] Compiling Git Commit.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[17/23] Compiling Git Tree.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/23] Emitting module Git
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[19/23] Compiling Git RevisionWalker.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[20/23] Compiling Git Signature.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[21/23] Compiling Git Attributes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[22/23] Compiling Git Checkout.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
[23/23] Compiling Git Clone.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "Clibgit2.h"
^
/host/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
#include "git2.h"
^
/host/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build C module 'Clibgit2'
import Clibgit2
^
error: fatalError
BUILD FAILURE 5.9 linux