Build Information
Failed to build AsyncSwiftGit, reference 0.5.0 (2ced14), with Swift 6.1 for Wasm on 29 May 2025 08:14:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bdewey/AsyncSwiftGit.git
https://github.com/bdewey/AsyncSwiftGit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "static-libgit2",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/bdewey/static-libgit2"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "AsyncSwiftGit",
"name" : "AsyncSwiftGit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "AsyncSwiftGit",
"targets" : [
"AsyncSwiftGit",
"Initializer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Initializer",
"module_type" : "ClangTarget",
"name" : "Initializer",
"path" : "Sources/Initializer",
"product_dependencies" : [
"static-libgit2"
],
"product_memberships" : [
"AsyncSwiftGit"
],
"sources" : [
"git_initialize.m"
],
"type" : "library"
},
{
"c99name" : "AsyncSwiftGitTests",
"module_type" : "SwiftTarget",
"name" : "AsyncSwiftGitTests",
"path" : "Tests/AsyncSwiftGitTests",
"sources" : [
"RepositoryTests.swift",
"SerializedGitConectionSettingsTests.swift"
],
"target_dependencies" : [
"AsyncSwiftGit"
],
"type" : "test"
},
{
"c99name" : "AsyncSwiftGit",
"module_type" : "SwiftTarget",
"name" : "AsyncSwiftGit",
"path" : "Sources/AsyncSwiftGit",
"product_dependencies" : [
"static-libgit2",
"Logging"
],
"product_memberships" : [
"AsyncSwiftGit"
],
"sources" : [
"BranchType.swift",
"CheckoutOptions.swift",
"CloneOptions.swift",
"Commit.swift",
"ConflictError.swift",
"Credentials.swift",
"Diff.swift",
"FetchOptions.swift",
"GitConnectionSettings.swift",
"GitConnectionSettingsDocument.swift",
"GitError.swift",
"Index+Entry.swift",
"Index.swift",
"MergeOptions.swift",
"ObjectID.swift",
"ObjectType.swift",
"PushOptions.swift",
"Reference.swift",
"Repository.swift",
"SerializedGitConnectionSettings.swift",
"Signature.swift",
"StatusEntry.swift",
"SyncSettingsForm.swift",
"Tree.swift",
"TreeEntry.swift"
],
"target_dependencies" : [
"Initializer"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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 (0.34s)
[1/600] Fetching static-libgit2
Fetched https://github.com/bdewey/static-libgit2 from cache (6.63s)
Computing version for https://github.com/bdewey/static-libgit2
Computed https://github.com/bdewey/static-libgit2 at 0.5.0 (7.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.84s)
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 Logging.swift
[6/12] Emitting module Logging
[7/12] Compiling Logging LogHandler.swift
[8/12] Compiling Logging Locks.swift
[9/12] Compiling Logging MetadataProvider.swift
[11/13] Compiling LinkerConfigurator Dummy.swift
[12/13] 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.
[13/14] Compiling Initializer git_initialize.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module LinkerConfigurator
[3/9] Compiling LinkerConfigurator Dummy.swift
[4/10] Compiling Logging Locks.swift
[5/10] Compiling Logging MetadataProvider.swift
[7/10] Emitting module Logging
/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.
[7/10] Compiling Initializer git_initialize.m
[8/10] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 wasm