Build Information
Failed to build GitCommitInfoPlugin, reference main (e852bf), with Swift 6.1 for Wasm on 28 May 2025 21:59:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/PGSSoft/GitCommitInfoPlugin.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/PGSSoft/GitCommitInfoPlugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e852bf2 Update README.md
Cloned https://github.com/PGSSoft/GitCommitInfoPlugin.git
Revision (git rev-parse @):
e852bf2173c937ec412b3ef47164465ff289fefb
SUCCESS checkout https://github.com/PGSSoft/GitCommitInfoPlugin.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/PGSSoft/GitCommitInfoPlugin.git
https://github.com/PGSSoft/GitCommitInfoPlugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "GitCommitInfoPlugin",
"name" : "GitCommitInfoPlugin",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GitCommitInfoPlugin",
"targets" : [
"GitCommitInfoPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "GitCommitInfoGenerator",
"targets" : [
"GitCommitInfoGenerator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "GitCommitInfoPlugin",
"module_type" : "PluginTarget",
"name" : "GitCommitInfoPlugin",
"path" : "Plugins",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"GitCommitInfoPlugin"
],
"sources" : [
"GitCommitInfoPlugin.swift"
],
"target_dependencies" : [
"GitCommitInfoGenerator"
],
"type" : "plugin"
},
{
"c99name" : "GitCommitInfoGenerator",
"module_type" : "SwiftTarget",
"name" : "GitCommitInfoGenerator",
"path" : "Sources/GitCommitInfoGenerator",
"product_memberships" : [
"GitCommitInfoPlugin",
"GitCommitInfoGenerator"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
warning: 'spi-builder-workspace': 'GitCommitInfoGenerator' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
warning: 'spi-builder-workspace': 'GitCommitInfoGenerator' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
[1/1] Compiling plugin GitCommitInfoPlugin
Building for debugging...
[1/10] Write sources
[3/10] Write swift-version-24593BA9C3E375BF.txt
[5/14] Emitting module GitCommitInfoGenerator
[6/14] Compiling GitCommitInfoGenerator main.swift
/host/spi-builder-workspace/Sources/GitCommitInfoGenerator/main.swift:20:23: error: cannot find 'Process' in scope
18 |
19 | static private func shell(_ command: String) -> String {
20 | let process = Process()
| `- error: cannot find 'Process' in scope
21 | let pipe = Pipe()
22 | let errorPipe = Pipe()
[7/14] Emitting module GitCommitInfoGenerator
/host/spi-builder-workspace/Sources/GitCommitInfoGenerator/main.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 | process.standardError = errorPipe
25 | process.arguments = ["-c", command]
26 | process.launchPath = "/bin/zsh"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
27 | process.launch()
28 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
warning: 'spi-builder-workspace': 'GitCommitInfoGenerator' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
[0/1] Planning build
[1/1] Compiling plugin GitCommitInfoPlugin
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/12] Emitting module GitCommitInfoGenerator
[4/12] Compiling GitCommitInfoGenerator main.swift
/host/spi-builder-workspace/Sources/GitCommitInfoGenerator/main.swift:20:23: error: cannot find 'Process' in scope
18 |
19 | static private func shell(_ command: String) -> String {
20 | let process = Process()
| `- error: cannot find 'Process' in scope
21 | let pipe = Pipe()
22 | let errorPipe = Pipe()
[5/12] Emitting module GitCommitInfoGenerator
/host/spi-builder-workspace/Sources/GitCommitInfoGenerator/main.swift:26:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
24 | process.standardError = errorPipe
25 | process.arguments = ["-c", command]
26 | process.launchPath = "/bin/zsh"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
27 | process.launch()
28 |
BUILD FAILURE 6.1 wasm