Build Information
Failed to build ShortcutsKit, reference main (38add7), with Swift 6.1 for Wasm on 28 May 2025 07:33:13 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LinusSkucas/ShortcutsKit.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/LinusSkucas/ShortcutsKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 38add7c Add License
Cloned https://github.com/LinusSkucas/ShortcutsKit.git
Revision (git rev-parse @):
38add7cc51c8a19ab1e7bd80e615e70df4097af7
SUCCESS checkout https://github.com/LinusSkucas/ShortcutsKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/LinusSkucas/ShortcutsKit.git
https://github.com/LinusSkucas/ShortcutsKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-commands",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "0.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/QiuZhiFei/swift-commands.git"
}
],
"manifest_display_name" : "ShortcutsKit",
"name" : "ShortcutsKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ShortcutsKit",
"targets" : [
"ShortcutsKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShortcutsKitTests",
"module_type" : "SwiftTarget",
"name" : "ShortcutsKitTests",
"path" : "Tests/ShortcutsKitTests",
"sources" : [
"ShortcutsKitTests.swift"
],
"target_dependencies" : [
"ShortcutsKit"
],
"type" : "test"
},
{
"c99name" : "ShortcutsKit",
"module_type" : "SwiftTarget",
"name" : "ShortcutsKit",
"path" : "Sources/ShortcutsKit",
"product_dependencies" : [
"Commands"
],
"product_memberships" : [
"ShortcutsKit"
],
"sources" : [
"Shortcut.swift",
"ShortcutFolder.swift",
"ShortcutItem.swift",
"Shortcuts.swift",
"ShortcutsKitError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
Fetching https://github.com/QiuZhiFei/swift-commands.git
[1/289] Fetching swift-commands
Fetched https://github.com/QiuZhiFei/swift-commands.git from cache (1.91s)
Computing version for https://github.com/QiuZhiFei/swift-commands.git
Computed https://github.com/QiuZhiFei/swift-commands.git at 0.6.0 (2.96s)
Creating working copy for https://github.com/QiuZhiFei/swift-commands.git
Working copy of https://github.com/QiuZhiFei/swift-commands.git resolved at 0.6.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling Commands CommandsResult.swift
[5/13] Compiling Commands Commands.swift
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
[6/13] Compiling Commands CommandsAlias.swift
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Emitting module Commands
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:106:55: error: cannot find type 'Process' in scope
104 |
105 | public extension Commands.Task {
106 | static func prepare(_ request: Commands.Request) -> Process {
| `- error: cannot find type 'Process' in scope
107 | let process = Process()
108 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
[8/13] Compiling Commands CommandsENV.swift
[9/13] Compiling Commands CommandsResponse.swift
[10/13] Compiling Commands CommandsArguments.swift
[11/13] Compiling Commands CommandsDashcTransformer.swift
[12/13] Compiling Commands CommandsRequest.swift
[13/13] Compiling Commands CommandsTask.swift
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:106:55: error: cannot find type 'Process' in scope
104 |
105 | public extension Commands.Task {
106 | static func prepare(_ request: Commands.Request) -> Process {
| `- error: cannot find type 'Process' in scope
107 | let process = Process()
108 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:62:13: error: cannot find 'DispatchQueue' in scope
60 | if data.count > 0,
61 | let result = String(data: data, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) {
62 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
63 | output(result)
64 | }
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:58:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
56 | let outputPipe = Pipe()
57 | process.standardOutput = outputPipe
58 | outputPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
59 | let data = handler.availableData
60 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:58:65: error: cannot infer type of closure parameter 'handler' without a type annotation
56 | let outputPipe = Pipe()
57 | process.standardOutput = outputPipe
58 | outputPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: cannot infer type of closure parameter 'handler' without a type annotation
59 | let data = handler.availableData
60 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:75:13: error: cannot find 'DispatchQueue' in scope
73 | if data.count > 0,
74 | let result = String(data: data, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) {
75 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
76 | errorOutput(result)
77 | }
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:71:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
69 | let errorPipe = Pipe()
70 | process.standardError = errorPipe
71 | errorPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
72 | let data = handler.availableData
73 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:71:64: error: cannot infer type of closure parameter 'handler' without a type annotation
69 | let errorPipe = Pipe()
70 | process.standardError = errorPipe
71 | errorPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: cannot infer type of closure parameter 'handler' without a type annotation
72 | let data = handler.availableData
73 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:107:19: error: cannot find 'Process' in scope
105 | public extension Commands.Task {
106 | static func prepare(_ request: Commands.Request) -> Process {
107 | let process = Process()
| `- error: cannot find 'Process' in scope
108 | if #available(macOS 10.13, *) {
109 | process.executableURL = URL(fileURLWithPath: request.executableURL)
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
[2/10] Compiling Commands CommandsResponse.swift
[3/10] Compiling Commands CommandsResult.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Compiling Commands CommandsArguments.swift
[5/11] Compiling Commands CommandsDashcTransformer.swift
[6/11] Emitting module Commands
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:106:55: error: cannot find type 'Process' in scope
104 |
105 | public extension Commands.Task {
106 | static func prepare(_ request: Commands.Request) -> Process {
| `- error: cannot find type 'Process' in scope
107 | let process = Process()
108 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
[7/11] Compiling Commands Commands.swift
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
[8/11] Compiling Commands CommandsAlias.swift
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
[9/11] Compiling Commands CommandsTask.swift
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:106:55: error: cannot find type 'Process' in scope
104 |
105 | public extension Commands.Task {
106 | static func prepare(_ request: Commands.Request) -> Process {
| `- error: cannot find type 'Process' in scope
107 | let process = Process()
108 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 | }
125 |
126 | static func run(_ process: Process) throws {
| `- error: cannot find type 'Process' in scope
127 | if #available(macOS 10.13, *) {
128 | try process.run()
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:62:13: error: cannot find 'DispatchQueue' in scope
60 | if data.count > 0,
61 | let result = String(data: data, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) {
62 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
63 | output(result)
64 | }
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:58:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
56 | let outputPipe = Pipe()
57 | process.standardOutput = outputPipe
58 | outputPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
59 | let data = handler.availableData
60 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:58:65: error: cannot infer type of closure parameter 'handler' without a type annotation
56 | let outputPipe = Pipe()
57 | process.standardOutput = outputPipe
58 | outputPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: cannot infer type of closure parameter 'handler' without a type annotation
59 | let data = handler.availableData
60 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:75:13: error: cannot find 'DispatchQueue' in scope
73 | if data.count > 0,
74 | let result = String(data: data, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) {
75 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
76 | errorOutput(result)
77 | }
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:71:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
69 | let errorPipe = Pipe()
70 | process.standardError = errorPipe
71 | errorPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
72 | let data = handler.availableData
73 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:71:64: error: cannot infer type of closure parameter 'handler' without a type annotation
69 | let errorPipe = Pipe()
70 | process.standardError = errorPipe
71 | errorPipe.fileHandleForReading.readabilityHandler = { (handler) in
| `- error: cannot infer type of closure parameter 'handler' without a type annotation
72 | let data = handler.availableData
73 | if data.count > 0,
/host/spi-builder-workspace/.build/checkouts/swift-commands/Sources/Commands/CommandsTask.swift:107:19: error: cannot find 'Process' in scope
105 | public extension Commands.Task {
106 | static func prepare(_ request: Commands.Request) -> Process {
107 | let process = Process()
| `- error: cannot find 'Process' in scope
108 | if #available(macOS 10.13, *) {
109 | process.executableURL = URL(fileURLWithPath: request.executableURL)
[10/11] Compiling Commands CommandsENV.swift
[11/11] Compiling Commands CommandsRequest.swift
BUILD FAILURE 6.1 wasm