This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Git with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/Git.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftDocOrg/Git
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/SwiftDocOrg/Git.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module Git
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[4/25] Compiling Git RevisionWalker.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[5/25] Compiling Git Signature.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[6/25] Compiling Git Credentials.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[7/25] Compiling Git Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[8/25] Compiling Git Array+Extensions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[9/25] Compiling Git Git.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[10/25] Compiling Git Message.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[11/25] Compiling Git Object.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[12/25] Compiling Git Blob.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[13/25] Compiling Git Commit.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[14/25] Compiling Git Tree.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[15/25] Compiling Git Reference.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[16/25] Compiling Git Repository.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[17/25] Compiling Git Attributes.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[18/25] Compiling Git Head.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[19/25] Compiling Git Index.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[20/25] Compiling Git Checkout.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[21/25] Compiling Git Clone.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[22/25] Compiling Git Tag.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[23/25] Compiling Git Remote.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[24/25] Compiling Git Branch.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
[25/25] Compiling Git Note.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "Clibgit2.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Clibgit2/Clibgit2.h:1:10: error: 'git2.h' file not found
1 | #include "git2.h"
  |          `- error: 'git2.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Git/Credentials.swift:1:8: error: could not build Objective-C module 'Clibgit2'
1 | import Clibgit2
  |        `- error: could not build Objective-C module 'Clibgit2'
2 |
3 | public enum Credentials {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libgit2 using your system-packager:
    brew install libgit2
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.