Build Information
Failed to build ShellInterface, reference 0.3.0 (0e196e), with Swift 6.1 for Wasm on 27 May 2025 11:01:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/hectr/swift-shell-interface.git
Reference: 0.3.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/hectr/swift-shell-interface
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 0e196e9 Release 0.3.0
Cloned https://github.com/hectr/swift-shell-interface.git
Revision (git rev-parse @):
0e196e919ba13128d1b161dbb6024902b0385fdd
SUCCESS checkout https://github.com/hectr/swift-shell-interface.git at 0.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hectr/swift-shell-interface.git
https://github.com/hectr/swift-shell-interface.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ShellInterface",
"name" : "ShellInterface",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ShellInterface",
"targets" : [
"ShellInterface"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShellInterfaceTests",
"module_type" : "SwiftTarget",
"name" : "ShellInterfaceTests",
"path" : "Tests/ShellInterfaceTests",
"sources" : [
"BuildProcessTests.swift",
"ExecuteCommandTests.swift",
"ExpandFilePathTests.swift",
"ExpandVariablesInStringTests.swift",
"LaunchTaskTests.swift",
"Models/TaskContextTests.swift",
"Models/TaskFailureTests.swift",
"Models/TaskResultTests.swift",
"ReadPipeTests.swift"
],
"target_dependencies" : [
"ShellInterface"
],
"type" : "test"
},
{
"c99name" : "ShellInterface",
"module_type" : "SwiftTarget",
"name" : "ShellInterface",
"path" : "Sources/ShellInterface",
"product_memberships" : [
"ShellInterface"
],
"sources" : [
"BuildProcess.swift",
"ExecuteCommand.swift",
"ExpandFilePath.swift",
"ExpandVariablesInString.swift",
"LaunchTask.swift",
"Models/TaskContext.swift",
"Models/TaskFailure.swift",
"Models/TaskResult.swift",
"ReadPipe.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
[3/11] Compiling ShellInterface ExpandFilePath.swift
[4/11] Compiling ShellInterface BuildProcess.swift
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:31:145: error: cannot find type 'Process' in scope
29 | // MARK: -
30 |
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
| `- error: cannot find type 'Process' in scope
32 | {
33 | let task = Process()
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:33:20: error: cannot find 'Process' in scope
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
32 | {
33 | let task = Process()
| `- error: cannot find 'Process' in scope
34 | task.launchPath = launchPath
35 | task.arguments = arguments
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
[5/11] Compiling ShellInterface ExecuteCommand.swift
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:31:145: error: cannot find type 'Process' in scope
29 | // MARK: -
30 |
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
| `- error: cannot find type 'Process' in scope
32 | {
33 | let task = Process()
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:33:20: error: cannot find 'Process' in scope
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
32 | {
33 | let task = Process()
| `- error: cannot find 'Process' in scope
34 | task.launchPath = launchPath
35 | task.arguments = arguments
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
[6/12] Compiling ShellInterface LaunchTask.swift
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:47:33: error: cannot find type 'Process' in scope
45 | }
46 |
47 | private func launch(_ task: Process, stdOut: Pipe, stdErr: Pipe, waitUntilExit: Bool) -> TaskResult
| `- error: cannot find type 'Process' in scope
48 | {
49 | task.launch()
[7/12] Compiling ShellInterface ExpandVariablesInString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Emitting module ShellInterface
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:31:145: error: cannot find type 'Process' in scope
29 | // MARK: -
30 |
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
| `- error: cannot find type 'Process' in scope
32 | {
33 | let task = Process()
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:47:33: error: cannot find type 'Process' in scope
45 | }
46 |
47 | private func launch(_ task: Process, stdOut: Pipe, stdErr: Pipe, waitUntilExit: Bool) -> TaskResult
| `- error: cannot find type 'Process' in scope
48 | {
49 | task.launch()
[9/12] Compiling ShellInterface TaskFailure.swift
[10/12] Compiling ShellInterface TaskContext.swift
[11/12] Compiling ShellInterface TaskResult.swift
[12/12] Compiling ShellInterface ReadPipe.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
[2/10] Compiling ShellInterface TaskResult.swift
[3/11] Compiling ShellInterface TaskFailure.swift
[4/11] Compiling ShellInterface TaskContext.swift
[5/11] Compiling ShellInterface ExpandVariablesInString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Compiling ShellInterface ExpandFilePath.swift
[7/11] Emitting module ShellInterface
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:31:145: error: cannot find type 'Process' in scope
29 | // MARK: -
30 |
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
| `- error: cannot find type 'Process' in scope
32 | {
33 | let task = Process()
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:47:33: error: cannot find type 'Process' in scope
45 | }
46 |
47 | private func launch(_ task: Process, stdOut: Pipe, stdErr: Pipe, waitUntilExit: Bool) -> TaskResult
| `- error: cannot find type 'Process' in scope
48 | {
49 | task.launch()
[8/11] Compiling ShellInterface LaunchTask.swift
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:47:33: error: cannot find type 'Process' in scope
45 | }
46 |
47 | private func launch(_ task: Process, stdOut: Pipe, stdErr: Pipe, waitUntilExit: Bool) -> TaskResult
| `- error: cannot find type 'Process' in scope
48 | {
49 | task.launch()
[9/11] Compiling ShellInterface BuildProcess.swift
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:31:145: error: cannot find type 'Process' in scope
29 | // MARK: -
30 |
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
| `- error: cannot find type 'Process' in scope
32 | {
33 | let task = Process()
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:33:20: error: cannot find 'Process' in scope
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
32 | {
33 | let task = Process()
| `- error: cannot find 'Process' in scope
34 | task.launchPath = launchPath
35 | task.arguments = arguments
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
[10/11] Compiling ShellInterface ExecuteCommand.swift
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:25:137: error: cannot find type 'Process' in scope
23 | public struct BuildProcess
24 | {
25 | public typealias Func = (_ launchPath: String, _ arguments: [String], _ context: TaskContext?, _ stdOut: Pipe?, _ stdErr: Pipe?) -> Process
| `- error: cannot find type 'Process' in scope
26 |
27 | public init() {}
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:31:145: error: cannot find type 'Process' in scope
29 | // MARK: -
30 |
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
| `- error: cannot find type 'Process' in scope
32 | {
33 | let task = Process()
/host/spi-builder-workspace/Sources/ShellInterface/BuildProcess.swift:33:20: error: cannot find 'Process' in scope
31 | public func execute(launchPath: String, arguments: [String] = [], context: TaskContext? = nil, stdOut: Pipe? = nil, stdErr: Pipe? = nil) -> Process
32 | {
33 | let task = Process()
| `- error: cannot find 'Process' in scope
34 | task.launchPath = launchPath
35 | task.arguments = arguments
/host/spi-builder-workspace/Sources/ShellInterface/LaunchTask.swift:30:31: error: @escaping attribute only applies to function types
28 | private let readPipe: ReadPipe.Func
29 |
30 | public init(buildProcess: @escaping BuildProcess.Func = BuildProcess().execute,
| `- error: @escaping attribute only applies to function types
31 | readPipe: @escaping ReadPipe.Func = ReadPipe().execute)
32 | {
[11/11] Compiling ShellInterface ReadPipe.swift
BUILD FAILURE 6.1 wasm