The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Shell, reference master (ecf028), with Swift 6.1 for Wasm on 28 May 2025 07:13:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/helje5/Shell.git
Reference: master
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/helje5/Shell
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ecf028f Use proper triple dots
Cloned https://github.com/helje5/Shell.git
Revision (git rev-parse @):
ecf028f2a1a9786836cd1f6d8718d7844bce47b0
SUCCESS checkout https://github.com/helje5/Shell.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/helje5/Shell.git
https://github.com/helje5/Shell.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Shell",
  "name" : "Shell",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Shell",
      "targets" : [
        "Shell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShellTests",
      "module_type" : "SwiftTarget",
      "name" : "ShellTests",
      "path" : "Tests/ShellTests",
      "sources" : [
        "ShellTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Shell"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Shell",
      "module_type" : "SwiftTarget",
      "name" : "Shell",
      "path" : "Sources/Shell",
      "product_memberships" : [
        "Shell"
      ],
      "sources" : [
        "EnvironmentTrampoline.swift",
        "ProcessHelper.swift",
        "Shell.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 Shell EnvironmentTrampoline.swift
[4/6] Emitting module Shell
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
/host/spi-builder-workspace/Sources/Shell/Shell.swift:103:12: warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 | @dynamicMemberLookup
 56 | public struct ShellTrampoline {
    |               `- note: consider making struct 'ShellTrampoline' conform to the 'Sendable' protocol
 57 |
 58 |     public let root : ShellPathTrampoline
    :
101 | }
102 |
103 | public let shell = ShellTrampoline()
    |            |- warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'shell' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
[5/6] Compiling Shell Shell.swift
/host/spi-builder-workspace/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
/host/spi-builder-workspace/Sources/Shell/Shell.swift:103:12: warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 | @dynamicMemberLookup
 56 | public struct ShellTrampoline {
    |               `- note: consider making struct 'ShellTrampoline' conform to the 'Sendable' protocol
 57 |
 58 |     public let root : ShellPathTrampoline
    :
101 | }
102 |
103 | public let shell = ShellTrampoline()
    |            |- warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'shell' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
/host/spi-builder-workspace/Sources/Shell/Shell.swift:35:52: error: cannot find type 'Process' in scope
 33 |          -> Process.FancyResult
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
    |                                                    `- error: cannot find type 'Process' in scope
 36 |             let error = "\(url.path): \(info)".data(using: .utf8) ?? Data()
 37 |             return Process.FancyResult(status: code, outputData: Data(),
[6/6] Compiling Shell ProcessHelper.swift
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:32:20: error: cannot find type 'FancyResult' in scope
 30 |     static func launch(at launchPath: String, with arguments: [ String ],
 31 |                        using shell: String? = "/bin/bash")
 32 |                 -> FancyResult
    |                    `- error: cannot find type 'FancyResult' in scope
 33 |     {
 34 |         let process = Process()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 Shell EnvironmentTrampoline.swift
[3/5] Emitting module Shell
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
[4/5] Compiling Shell ProcessHelper.swift
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
  4 | import Foundation
  5 |
  6 | extension Process {
    |           `- error: cannot find type 'Process' in scope
  7 |
  8 |     public struct FancyResult {
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
 75 | }
 76 |
 77 | extension Process.FancyResult : CustomStringConvertible {
    |           `- error: cannot find type 'Process' in scope
 78 |
 79 |     public var description : String {
/host/spi-builder-workspace/Sources/Shell/ProcessHelper.swift:32:20: error: cannot find type 'FancyResult' in scope
 30 |     static func launch(at launchPath: String, with arguments: [ String ],
 31 |                        using shell: String? = "/bin/bash")
 32 |                 -> FancyResult
    |                    `- error: cannot find type 'FancyResult' in scope
 33 |     {
 34 |         let process = Process()
[5/5] Compiling Shell Shell.swift
/host/spi-builder-workspace/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
 31 |     @discardableResult
 32 |     public func dynamicallyCall(withArguments arguments: [ String ])
 33 |          -> Process.FancyResult
    |             `- error: cannot find type 'Process' in scope
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
/host/spi-builder-workspace/Sources/Shell/Shell.swift:35:52: error: cannot find type 'Process' in scope
 33 |          -> Process.FancyResult
 34 |     {
 35 |         func makeError(code: Int, info: String) -> Process.FancyResult {
    |                                                    `- error: cannot find type 'Process' in scope
 36 |             let error = "\(url.path): \(info)".data(using: .utf8) ?? Data()
 37 |             return Process.FancyResult(status: code, outputData: Data(),
BUILD FAILURE 6.1 wasm