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 SwiftSystemd, reference master (4a93b1), with Swift 6.1 for Wasm on 29 May 2025 19:52:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/MihaelIsaev/SwiftSystemd.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/MihaelIsaev/SwiftSystemd
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4a93b1b 📖 Update readme
Cloned https://github.com/MihaelIsaev/SwiftSystemd.git
Revision (git rev-parse @):
4a93b1b6c28999252fa88877b4e29d724065b948
SUCCESS checkout https://github.com/MihaelIsaev/SwiftSystemd.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MihaelIsaev/SwiftSystemd.git
https://github.com/MihaelIsaev/SwiftSystemd.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.15.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit"
    },
    {
      "identity" : "swiftbash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MihaelIsaev/SwiftBash"
    }
  ],
  "manifest_display_name" : "SwiftSystemd",
  "name" : "SwiftSystemd",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "systemd",
      "targets" : [
        "systemd"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "systemdTests",
      "module_type" : "SwiftTarget",
      "name" : "systemdTests",
      "path" : "Tests/systemdTests",
      "sources" : [
        "XCTestManifests.swift",
        "systemdTests.swift"
      ],
      "target_dependencies" : [
        "systemd"
      ],
      "type" : "test"
    },
    {
      "c99name" : "systemd",
      "module_type" : "SwiftTarget",
      "name" : "systemd",
      "path" : "Sources/systemd",
      "product_dependencies" : [
        "ConsoleKit",
        "Bash"
      ],
      "product_memberships" : [
        "systemd"
      ],
      "sources" : [
        "Commands/DisableCommand.swift",
        "Commands/EditCommand.swift",
        "Commands/EnableCommand.swift",
        "Commands/InstallCommand.swift",
        "Commands/KillCommand.swift",
        "Commands/LogsCommand.swift",
        "Commands/ReloadDaemonCommand.swift",
        "Commands/RestartCommand.swift",
        "Commands/StartCommand.swift",
        "Commands/StatusCommand.swift",
        "Commands/StopCommand.swift",
        "Commands/UninstallCommand.swift",
        "Commands/VersionCommand.swift",
        "Extensions/Console+Abort.swift",
        "Extensions/String+Fragment.swift",
        "Helpers/Journalctl.swift",
        "Helpers/Swift.swift",
        "Helpers/Systemctl.swift",
        "Helpers/Users.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/MihaelIsaev/SwiftBash
Fetching https://github.com/vapor/console-kit
[1/15] Fetching swiftbash
[15/5662] Fetching swiftbash, console-kit
Fetched https://github.com/MihaelIsaev/SwiftBash from cache (0.40s)
Fetched https://github.com/vapor/console-kit from cache (0.40s)
Computing version for https://github.com/MihaelIsaev/SwiftBash
Computed https://github.com/MihaelIsaev/SwiftBash at 1.0.0 (3.20s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.2 (0.97s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (0.74s)
[1/76108] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (7.85s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.39s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1710] Fetching swift-atomics
[1711/6101] Fetching swift-atomics, swift-system
[4083/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.01s)
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
[7632/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.79s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/MihaelIsaev/SwiftBash
Working copy of https://github.com/MihaelIsaev/SwiftBash resolved at 1.0.0
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/19] Write sources
[7/19] Compiling c-nioatomics.c
[8/19] Write swift-version-24593BA9C3E375BF.txt
[9/26] Compiling c-atomics.c
[11/32] Emitting module NIOConcurrencyHelpers
[12/32] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[13/32] Emitting module Logging
[14/32] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[15/32] Compiling NIOConcurrencyHelpers NIOLock.swift
[16/32] Compiling Logging MetadataProvider.swift
[17/32] Compiling NIOConcurrencyHelpers lock.swift
[18/32] Compiling Logging Locks.swift
[19/32] Compiling Logging LogHandler.swift
[20/32] Compiling Logging Logging.swift
[21/33] Compiling NIOConcurrencyHelpers atomics.swift
[22/34] Emitting module Bash
[23/34] Compiling Bash Bash.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBash/Sources/Bash/Bash.swift:33:23: error: cannot find 'Process' in scope
31 |     public static func which(_ program: String) throws -> String {
32 |         let stdout = Pipe()
33 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
34 |         process.launchPath = "/bin/bash"
35 |         process.arguments = ["-c", "which \(program)"]
[25/34] Wrapping AST for NIOConcurrencyHelpers for debugging
[25/34] Wrapping AST for Logging for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/10] Write swift-version-24593BA9C3E375BF.txt
[2/23] Emitting module Bash
[3/23] Compiling Bash Bash.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBash/Sources/Bash/Bash.swift:33:23: error: cannot find 'Process' in scope
31 |     public static func which(_ program: String) throws -> String {
32 |         let stdout = Pipe()
33 |         let process = Process()
   |                       `- error: cannot find 'Process' in scope
34 |         process.launchPath = "/bin/bash"
35 |         process.arguments = ["-c", "which \(program)"]
BUILD FAILURE 6.1 wasm