The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SRM, reference 0.0.6 (d01710), with Swift 6.1 for Wasm on 30 May 2025 06:27:06 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Maxim-Lanskoy/SRM.git
Reference: 0.0.6
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
 * tag               0.0.6      -> FETCH_HEAD
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 0.0.6
========================================
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.34s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow
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.38s)
Fetched https://github.com/onevcat/Rainbow from cache (0.38s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.96s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (4.51s)
Computing version for https://github.com/Maxim-Lanskoy/ShellOut.git
Computed https://github.com/Maxim-Lanskoy/ShellOut.git at 2.4.0 (0.98s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.96s)
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
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/heroesofcode/CLI-Table-Swift
Working copy of https://github.com/heroesofcode/CLI-Table-Swift resolved at main (c64517e)
[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 Style.swift
[15/39] Wrapping AST for ArgumentParserToolInfo for debugging
[17/77] Emitting module ArgumentParser
[18/82] Compiling ArgumentParser Argument.swift
[19/82] Compiling ArgumentParser ArgumentHelp.swift
[20/82] Compiling Rainbow OutputTarget.swift
[21/82] Compiling Rainbow Rainbow.swift
[22/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/82] Compiling ArgumentParser CompletionsGenerator.swift
[24/82] Emitting module Rainbow
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 ArgumentParser FishCompletionsGenerator.swift
[28/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/83] 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
[3/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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
[5/30] Compiling Rainbow ControlCode.swift
[6/30] Compiling Rainbow ModesExtractor.swift
[7/31] Emitting module Rainbow
[8/31] Emitting module Concatenator
[9/31] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm