Build Information
Failed to build SRM, reference main (d01710), with Swift 6.1 for Wasm on 30 May 2025 06:28:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Maxim-Lanskoy/SRM.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/Maxim-Lanskoy/SRM
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d01710a Minor installation process fix.
Cloned https://github.com/Maxim-Lanskoy/SRM.git
Revision (git rev-parse @):
d01710ae60d554829a318c8743650418a039c763
SUCCESS checkout https://github.com/Maxim-Lanskoy/SRM.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Maxim-Lanskoy/SRM.git
https://github.com/Maxim-Lanskoy/SRM.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Maxim-Lanskoy/ShellOut.git"
},
{
"identity" : "cli-table-swift",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/heroesofcode/CLI-Table-Swift"
}
],
"manifest_display_name" : "SRM",
"name" : "SRM",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "srm",
"targets" : [
"SRM"
],
"type" : {
"executable" : null
}
},
{
"name" : "Concatenator",
"targets" : [
"Concatenator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SRM",
"module_type" : "SwiftTarget",
"name" : "SRM",
"path" : "Sources/SRM",
"product_dependencies" : [
"ShellOut",
"ArgumentParser",
"CLITable"
],
"product_memberships" : [
"srm"
],
"sources" : [
"CLI/delete.swift",
"CLI/destroy.swift",
"CLI/list.swift",
"CLI/logs.swift",
"CLI/minotor.swift",
"CLI/restart.swift",
"CLI/setup.swift",
"CLI/start.swift",
"CLI/stop.swift",
"Utils/ProcessManager.swift",
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "Concatenator",
"module_type" : "SwiftTarget",
"name" : "Concatenator",
"path" : "Sources/Concatenator",
"product_memberships" : [
"Concatenator"
],
"sources" : [
"FilesConcatenator.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/heroesofcode/CLI-Table-Swift
[1/174] Fetching cli-table-swift
Fetched https://github.com/heroesofcode/CLI-Table-Swift from cache (0.46s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Maxim-Lanskoy/ShellOut.git
[1/378] Fetching shellout
[379/1574] Fetching shellout, rainbow
Fetched https://github.com/Maxim-Lanskoy/ShellOut.git from cache (0.54s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (1.57s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (5.78s)
Computing version for https://github.com/Maxim-Lanskoy/ShellOut.git
Computed https://github.com/Maxim-Lanskoy/ShellOut.git at 2.4.0 (1.07s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.97s)
Creating working copy for https://github.com/heroesofcode/CLI-Table-Swift
Working copy of https://github.com/heroesofcode/CLI-Table-Swift resolved at main (c64517e)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/Maxim-Lanskoy/ShellOut.git
Working copy of https://github.com/Maxim-Lanskoy/ShellOut.git resolved at 2.4.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/37] Emitting module ArgumentParserToolInfo
[11/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/38] Compiling Rainbow StringGenerator.swift
[13/38] Compiling Rainbow String+Rainbow.swift
[15/39] Compiling Rainbow BackgroundColor.swift
[16/39] Compiling Rainbow CodesParser.swift
[17/39] Compiling Rainbow Style.swift
[17/39] Wrapping AST for ArgumentParserToolInfo for debugging
[19/77] Compiling ArgumentParser OptionGroup.swift
[20/77] Compiling ArgumentParser AsyncParsableCommand.swift
[21/77] Compiling ArgumentParser CommandConfiguration.swift
[22/77] Compiling ArgumentParser CommandGroup.swift
[23/77] Compiling ArgumentParser EnumerableFlag.swift
[24/82] Emitting module ArgumentParser
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/82] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
[26/82] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
[27/82] Compiling Rainbow Rainbow.swift
[28/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/82] Emitting module Rainbow
[31/82] Compiling ArgumentParser Argument.swift
[32/82] Compiling ArgumentParser ArgumentHelp.swift
[33/82] Compiling Rainbow OutputTarget.swift
[34/82] Emitting module Concatenator
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:25:16: warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | // Updated header structure
25 | static var systemInstructions = ""/*"""
| |- warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'systemInstructions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'systemInstructions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | **System Instructions:**
27 | // Use the provided request and concatenated code to address the user's issue or implement new features.
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:34:16: warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | """*/
33 |
34 | static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
| |- warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requestHeader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requestHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | static var additionalInfo = """
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:36:16: warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
35 |
36 | static var additionalInfo = """
| |- warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'additionalInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'additionalInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | Hi! I'm making SRM (Swift Running Manager).
38 |
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:108:16: warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | """
107 |
108 | static var swiftFilesAndContent = ""
| |- warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftFilesAndContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftFilesAndContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | // Build the directory tree
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:25:16: warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | // Updated header structure
25 | static var systemInstructions = ""/*"""
| |- warning: static property 'systemInstructions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'systemInstructions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'systemInstructions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | **System Instructions:**
27 | // Use the provided request and concatenated code to address the user's issue or implement new features.
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:34:16: warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | """*/
33 |
34 | static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
| |- warning: static property 'requestHeader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requestHeader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requestHeader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | static var additionalInfo = """
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:36:16: warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | static var requestHeader = "**Request: \"-=-=-=-\".**\n\n"
35 |
36 | static var additionalInfo = """
| |- warning: static property 'additionalInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'additionalInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'additionalInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | Hi! I'm making SRM (Swift Running Manager).
38 |
/host/spi-builder-workspace/Sources/Concatenator/FilesConcatenator.swift:108:16: warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | """
107 |
108 | static var swiftFilesAndContent = ""
| |- warning: static property 'swiftFilesAndContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'swiftFilesAndContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'swiftFilesAndContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | // Build the directory tree
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/30] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
[4/30] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
[5/30] Emitting module Concatenator
BUILD FAILURE 6.1 wasm