Build Information
Failed to build spawn, reference master (55678d
), with Swift 6.1 for Wasm on 27 May 2025 16:32:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vinhnx/spawn.git
Reference: master
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/vinhnx/spawn
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 55678d3 Add swiftLanguageVersions attribute in Package manifest file
Cloned https://github.com/vinhnx/spawn.git
Revision (git rev-parse @):
55678d3a5359df5d97b4962808c2d5a42cb30bd0
SUCCESS checkout https://github.com/vinhnx/spawn.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vinhnx/spawn.git
https://github.com/vinhnx/spawn.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "spawn",
"name" : "spawn",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "spawn",
"targets" : [
"spawn"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "spawnTests",
"module_type" : "SwiftTarget",
"name" : "spawnTests",
"path" : "Tests/spawnTests",
"sources" : [
"XCTestManifests.swift",
"spawnTests.swift"
],
"target_dependencies" : [
"spawn"
],
"type" : "test"
},
{
"c99name" : "spawn",
"module_type" : "SwiftTarget",
"name" : "spawn",
"path" : "Sources/spawn",
"product_memberships" : [
"spawn"
],
"sources" : [
"EventEmitter.swift",
"FileError.swift",
"FireManager+Extensions.swift",
"PrintableError.swift",
"Process+Extensions.swift",
"ProcessError.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling spawn main.swift
/host/spi-builder-workspace/Sources/spawn/main.swift:12:22: error: cannot find 'Process' in scope
10 | try files.contains(file: "Package.swift")
11 |
12 | let update = try Process().launchBash("swift package update")
| `- error: cannot find 'Process' in scope
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
/host/spi-builder-workspace/Sources/spawn/main.swift:14:31: error: cannot find 'Process' in scope
12 | let update = try Process().launchBash("swift package update")
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
| `- error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
/host/spi-builder-workspace/Sources/spawn/main.swift:17:9: error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
17 | try Process().launchBash("xed .")
| `- error: cannot find 'Process' in scope
18 | print("📂 ... opening updated Xcode project")
19 | print("✅ all done!")
[4/13] Compiling spawn ProcessError.swift
[5/13] Compiling spawn FireManager+Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Compiling spawn PrintableError.swift
[7/13] Compiling spawn EventEmitter.swift
[8/13] Emitting module spawn
/host/spi-builder-workspace/Sources/spawn/main.swift:12:22: error: cannot find 'Process' in scope
10 | try files.contains(file: "Package.swift")
11 |
12 | let update = try Process().launchBash("swift package update")
| `- error: cannot find 'Process' in scope
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
/host/spi-builder-workspace/Sources/spawn/main.swift:14:31: error: cannot find 'Process' in scope
12 | let update = try Process().launchBash("swift package update")
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
| `- error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
/host/spi-builder-workspace/Sources/spawn/main.swift:17:9: error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
17 | try Process().launchBash("xed .")
| `- error: cannot find 'Process' in scope
18 | print("📂 ... opening updated Xcode project")
19 | print("✅ all done!")
/host/spi-builder-workspace/Sources/spawn/Process+Extensions.swift:10:18: error: cannot find type 'Process' in scope
8 | import Foundation
9 |
10 | public extension Process {
| `- error: cannot find type 'Process' in scope
11 | @discardableResult func launchBash(_ command: String) throws -> String {
12 | self.launchPath = "/bin/bash"
[9/13] Compiling spawn FileError.swift
[10/13] Compiling spawn Process+Extensions.swift
/host/spi-builder-workspace/Sources/spawn/Process+Extensions.swift:10:18: error: cannot find type 'Process' in scope
8 | import Foundation
9 |
10 | public extension Process {
| `- error: cannot find type 'Process' in scope
11 | @discardableResult func launchBash(_ command: String) throws -> String {
12 | self.launchPath = "/bin/bash"
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/4] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling spawn main.swift
/host/spi-builder-workspace/Sources/spawn/main.swift:12:22: error: cannot find 'Process' in scope
10 | try files.contains(file: "Package.swift")
11 |
12 | let update = try Process().launchBash("swift package update")
| `- error: cannot find 'Process' in scope
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
/host/spi-builder-workspace/Sources/spawn/main.swift:14:31: error: cannot find 'Process' in scope
12 | let update = try Process().launchBash("swift package update")
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
| `- error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
/host/spi-builder-workspace/Sources/spawn/main.swift:17:9: error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
17 | try Process().launchBash("xed .")
| `- error: cannot find 'Process' in scope
18 | print("📂 ... opening updated Xcode project")
19 | print("✅ all done!")
[3/12] Compiling spawn PrintableError.swift
[4/12] Compiling spawn ProcessError.swift
[5/12] Compiling spawn Process+Extensions.swift
/host/spi-builder-workspace/Sources/spawn/Process+Extensions.swift:10:18: error: cannot find type 'Process' in scope
8 | import Foundation
9 |
10 | public extension Process {
| `- error: cannot find type 'Process' in scope
11 | @discardableResult func launchBash(_ command: String) throws -> String {
12 | self.launchPath = "/bin/bash"
[6/12] Compiling spawn EventEmitter.swift
[7/12] Compiling spawn FileError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling spawn FireManager+Extensions.swift
[9/12] Emitting module spawn
/host/spi-builder-workspace/Sources/spawn/main.swift:12:22: error: cannot find 'Process' in scope
10 | try files.contains(file: "Package.swift")
11 |
12 | let update = try Process().launchBash("swift package update")
| `- error: cannot find 'Process' in scope
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
/host/spi-builder-workspace/Sources/spawn/main.swift:14:31: error: cannot find 'Process' in scope
12 | let update = try Process().launchBash("swift package update")
13 | print("📦 ... running '\(update)'")
14 | let generateProject = try Process().launchBash("swift package generate-xcodeproj")
| `- error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
/host/spi-builder-workspace/Sources/spawn/main.swift:17:9: error: cannot find 'Process' in scope
15 | print("🛠 ... running '\(generateProject)'")
16 |
17 | try Process().launchBash("xed .")
| `- error: cannot find 'Process' in scope
18 | print("📂 ... opening updated Xcode project")
19 | print("✅ all done!")
/host/spi-builder-workspace/Sources/spawn/Process+Extensions.swift:10:18: error: cannot find type 'Process' in scope
8 | import Foundation
9 |
10 | public extension Process {
| `- error: cannot find type 'Process' in scope
11 | @discardableResult func launchBash(_ command: String) throws -> String {
12 | self.launchPath = "/bin/bash"
BUILD FAILURE 6.1 wasm