Build Information
Failed to build ProcessEnv, reference 1.0.1 (552f61
), with Swift 6.1 for Wasm on 31 May 2025 00:05:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/ChimeHQ/ProcessEnv.git
Reference: 1.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/ChimeHQ/ProcessEnv
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 552f611 more badges
Cloned https://github.com/ChimeHQ/ProcessEnv.git
Revision (git rev-parse @):
552f611479a4f28243a1ef2a7376a216d6899f42
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ProcessEnv.git at 1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ChimeHQ/ProcessEnv.git
https://github.com/ChimeHQ/ProcessEnv.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ProcessEnv",
"name" : "ProcessEnv",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "ProcessEnv",
"targets" : [
"ProcessEnv"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProcessEnvTests",
"module_type" : "SwiftTarget",
"name" : "ProcessEnvTests",
"path" : "Tests/ProcessEnvTests",
"sources" : [
"ProcessEnvTests.swift"
],
"target_dependencies" : [
"ProcessEnv"
],
"type" : "test"
},
{
"c99name" : "ProcessEnv",
"module_type" : "SwiftTarget",
"name" : "ProcessEnv",
"path" : "Sources/ProcessEnv",
"product_memberships" : [
"ProcessEnv"
],
"sources" : [
"Process+Output.swift",
"Process+Parameters.swift",
"ProcessInfo+UserEnvironment.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling ProcessEnv Process+Parameters.swift
[4/6] Emitting module ProcessEnv
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:3:18: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | public extension Process {
| `- error: cannot find type 'Process' in scope
4 | static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
5 | let task = Process(parameters: parameters)
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.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 | @available(*, deprecated, renamed: "Environment")
12 | typealias Envrionment = [String : String]
[5/6] Compiling ProcessEnv Process+Output.swift
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:3:18: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | public extension Process {
| `- error: cannot find type 'Process' in scope
4 | static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
5 | let task = Process(parameters: parameters)
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:4:39: error: cannot find type 'Process' in scope
2 |
3 | public extension Process {
4 | static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
| `- error: cannot find type 'Process' in scope
5 | let task = Process(parameters: parameters)
6 |
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:10:45: error: cannot find type 'Process' in scope
8 | }
9 |
10 | static func executeAsUser(_ parameters: Process.ExecutionParameters) throws -> Data? {
| `- error: cannot find type 'Process' in scope
11 | let userParams = parameters.userShellInvocation()
12 |
[6/6] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.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 | @available(*, deprecated, renamed: "Environment")
12 | typealias Envrionment = [String : String]
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:36:28: error: cannot find 'getpwuid' in scope
34 |
35 | public var pwShell: String? {
36 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getpwuid' in scope
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:36:37: error: cannot find 'getuid' in scope
34 |
35 | public var pwShell: String? {
36 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getuid' in scope
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:48:28: error: cannot find 'getpwuid' in scope
46 |
47 | public var pwUserName: String? {
48 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getpwuid' in scope
49 | return nil
50 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:48:37: error: cannot find 'getuid' in scope
46 |
47 | public var pwUserName: String? {
48 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getuid' in scope
49 | return nil
50 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:60:28: error: cannot find 'getpwuid' in scope
58 |
59 | public var pwDir: String? {
60 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getpwuid' in scope
61 | return nil
62 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:60:37: error: cannot find 'getuid' in scope
58 |
59 | public var pwDir: String? {
60 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getuid' in scope
61 | return nil
62 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:115:31: error: cannot find 'Process' in scope
113 | /// a terminal session.
114 | public var userEnvironment: [String : String] {
115 | guard let data = try? Process.executeAsUser(Process.ExecutionParameters(path: "/usr/bin/env", environment: environment)) else {
| `- error: cannot find 'Process' in scope
116 | return environment
117 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:115:53: error: cannot find 'Process' in scope
113 | /// a terminal session.
114 | public var userEnvironment: [String : String] {
115 | guard let data = try? Process.executeAsUser(Process.ExecutionParameters(path: "/usr/bin/env", environment: environment)) else {
| `- error: cannot find 'Process' in scope
116 | return environment
117 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling ProcessEnv Process+Parameters.swift
[3/5] Emitting module ProcessEnv
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:3:18: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | public extension Process {
| `- error: cannot find type 'Process' in scope
4 | static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
5 | let task = Process(parameters: parameters)
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.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 | @available(*, deprecated, renamed: "Environment")
12 | typealias Envrionment = [String : String]
[4/5] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.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 | @available(*, deprecated, renamed: "Environment")
12 | typealias Envrionment = [String : String]
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:36:28: error: cannot find 'getpwuid' in scope
34 |
35 | public var pwShell: String? {
36 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getpwuid' in scope
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:36:37: error: cannot find 'getuid' in scope
34 |
35 | public var pwShell: String? {
36 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getuid' in scope
37 | return nil
38 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:48:28: error: cannot find 'getpwuid' in scope
46 |
47 | public var pwUserName: String? {
48 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getpwuid' in scope
49 | return nil
50 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:48:37: error: cannot find 'getuid' in scope
46 |
47 | public var pwUserName: String? {
48 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getuid' in scope
49 | return nil
50 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:60:28: error: cannot find 'getpwuid' in scope
58 |
59 | public var pwDir: String? {
60 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getpwuid' in scope
61 | return nil
62 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:60:37: error: cannot find 'getuid' in scope
58 |
59 | public var pwDir: String? {
60 | guard let passwd = getpwuid(getuid()) else {
| `- error: cannot find 'getuid' in scope
61 | return nil
62 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:115:31: error: cannot find 'Process' in scope
113 | /// a terminal session.
114 | public var userEnvironment: [String : String] {
115 | guard let data = try? Process.executeAsUser(Process.ExecutionParameters(path: "/usr/bin/env", environment: environment)) else {
| `- error: cannot find 'Process' in scope
116 | return environment
117 | }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:115:53: error: cannot find 'Process' in scope
113 | /// a terminal session.
114 | public var userEnvironment: [String : String] {
115 | guard let data = try? Process.executeAsUser(Process.ExecutionParameters(path: "/usr/bin/env", environment: environment)) else {
| `- error: cannot find 'Process' in scope
116 | return environment
117 | }
[5/5] Compiling ProcessEnv Process+Output.swift
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:3:18: error: cannot find type 'Process' in scope
1 | import Foundation
2 |
3 | public extension Process {
| `- error: cannot find type 'Process' in scope
4 | static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
5 | let task = Process(parameters: parameters)
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:4:39: error: cannot find type 'Process' in scope
2 |
3 | public extension Process {
4 | static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
| `- error: cannot find type 'Process' in scope
5 | let task = Process(parameters: parameters)
6 |
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:10:45: error: cannot find type 'Process' in scope
8 | }
9 |
10 | static func executeAsUser(_ parameters: Process.ExecutionParameters) throws -> Data? {
| `- error: cannot find type 'Process' in scope
11 | let userParams = parameters.userShellInvocation()
12 |
BUILD FAILURE 6.1 wasm