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

Successful build of SwiftSystemd, reference master (4a93b1), with Swift 6.2 (beta) for Linux on 22 Jun 2025 07:10:19 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MihaelIsaev/SwiftSystemd.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/vapor/console-kit
Fetching https://github.com/MihaelIsaev/SwiftBash
[1/15] Fetching swiftbash
[16/6033] Fetching swiftbash, console-kit
Fetched https://github.com/MihaelIsaev/SwiftBash from cache (0.36s)
[1204/6018] Fetching console-kit
Fetched https://github.com/vapor/console-kit from cache (0.65s)
Computing version for https://github.com/MihaelIsaev/SwiftBash
Computed https://github.com/MihaelIsaev/SwiftBash at 1.0.0 (5.12s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.2 (0.91s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
[3837/80175] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (8.59s)
Fetched https://github.com/apple/swift-nio.git from cache (8.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (9.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.60s)
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/1797] Fetching swift-atomics
[1798/18437] Fetching swift-atomics, swift-collections
[1965/22873] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.93s)
[4626/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.18s)
Fetched https://github.com/apple/swift-collections.git from cache (2.23s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.36s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Building for debugging...
[0/19] Write sources
[7/19] Compiling c-nioatomics.c
[8/19] Compiling c-atomics.c
[9/19] Write swift-version-24593BA9C3E375BF.txt
[11/32] Compiling Logging LogHandler.swift
[12/32] Compiling Logging MetadataProvider.swift
[13/32] Emitting module Logging
[14/32] Compiling Logging Locks.swift
[15/32] Compiling NIOConcurrencyHelpers lock.swift
[16/32] Compiling NIOConcurrencyHelpers NIOLock.swift
[17/32] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[18/32] Emitting module NIOConcurrencyHelpers
[19/32] Compiling Bash Bash.swift
[20/32] Emitting module Bash
[22/33] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[23/33] Compiling NIOConcurrencyHelpers atomics.swift
[23/34] Wrapping AST for Bash for debugging
[25/34] Wrapping AST for NIOConcurrencyHelpers for debugging
[27/34] Compiling Logging Logging.swift
[28/35] Wrapping AST for Logging for debugging
[30/61] Compiling ConsoleKitTerminal Console+Confirm.swift
[31/61] Compiling ConsoleKitTerminal Console+Input.swift
[32/61] Compiling ConsoleKitTerminal Console+Center.swift
[33/61] Compiling ConsoleKitTerminal Console+Output.swift
[34/64] Compiling ConsoleKitTerminal ConsoleText.swift
[35/64] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[36/64] Compiling ConsoleKitTerminal ANSI.swift
[37/64] Compiling ConsoleKitTerminal ActivityBar.swift
[38/64] Compiling ConsoleKitTerminal ActivityIndicator.swift
[39/64] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[40/64] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[41/64] Emitting module ConsoleKitTerminal
[42/64] Compiling ConsoleKitTerminal CustomActivity.swift
[43/64] Compiling ConsoleKitTerminal LoadingBar.swift
[44/64] Compiling ConsoleKitTerminal ProgressBar.swift
[45/64] Compiling ConsoleKitTerminal Console+Clear.swift
[46/64] Compiling ConsoleKitTerminal Console.swift
[47/64] Compiling ConsoleKitTerminal Terminal.swift
[48/64] Compiling ConsoleKitTerminal readpassphrase_linux.swift
[49/64] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[50/64] Compiling ConsoleKitTerminal ConsoleClear.swift
[51/64] Compiling ConsoleKitTerminal Console+Ask.swift
[52/64] Compiling ConsoleKitTerminal Console+Choose.swift
[53/64] Compiling ConsoleKitTerminal Console+Wait.swift
[54/64] Compiling ConsoleKitTerminal ConsoleColor.swift
[55/64] Compiling ConsoleKitTerminal ConsoleStyle.swift
[56/64] Compiling ConsoleKitTerminal AnySendableHashable.swift
[57/64] Compiling ConsoleKitTerminal ConsoleLogger.swift
[58/64] Compiling ConsoleKitTerminal LoggerFragment.swift
[59/65] Wrapping AST for ConsoleKitTerminal for debugging
[61/87] Compiling ConsoleKitCommands CommandSignature.swift
[62/87] Compiling ConsoleKitCommands Flag.swift
[63/87] Compiling ConsoleKitCommands Option.swift
[64/89] Emitting module ConsoleKitCommands
[65/89] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[66/89] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[67/89] Compiling ConsoleKitCommands Argument.swift
[68/89] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[69/89] Compiling ConsoleKitCommands Utilities.swift
[70/89] Compiling ConsoleKitCommands CommandGroup.swift
[71/89] Compiling ConsoleKitCommands CommandInput.swift
[72/89] Compiling ConsoleKitCommands Commands.swift
[73/89] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[74/89] Compiling ConsoleKitCommands AsyncCommand.swift
[75/89] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[76/89] Compiling ConsoleKitCommands Command.swift
[77/89] Compiling ConsoleKitCommands CommandContext.swift
[78/89] Compiling ConsoleKitCommands CommandError.swift
[79/89] Compiling ConsoleKitCommands Console+Run.swift
[80/89] Compiling ConsoleKitCommands ConsoleError.swift
[81/89] Compiling ConsoleKitCommands Completion.swift
[82/89] Compiling ConsoleKitCommands AsyncCommands.swift
[83/89] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[84/89] Compiling ConsoleKitCommands AnyCommand.swift
[85/90] Wrapping AST for ConsoleKitCommands for debugging
[87/92] Emitting module ConsoleKit
[88/92] Compiling ConsoleKit Exports.swift
[89/93] Wrapping AST for ConsoleKit for debugging
[91/112] Compiling systemd StatusCommand.swift
[92/112] Compiling systemd StopCommand.swift
[93/112] Compiling systemd UninstallCommand.swift
[94/114] Emitting module systemd
[95/114] Compiling systemd InstallCommand.swift
[96/114] Compiling systemd KillCommand.swift
[97/114] Compiling systemd LogsCommand.swift
[98/114] Compiling systemd DisableCommand.swift
[99/114] Compiling systemd EditCommand.swift
[100/114] Compiling systemd EnableCommand.swift
[101/114] Compiling systemd Users.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:20:21: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
18 |             let stderr = Pipe()
19 |             let process = Process()
20 |             process.launchPath = try Bash.which("awk")
   |                     |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |                     `- note: use 'executableURL' instead
21 |             process.arguments = ["-F:", "\"{ print $1}\"", "/etc/passwd"]
22 |             process.standardOutput = stdout
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:27:21: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
25 |             let outHandle = stdout.fileHandleForReading
26 |
27 |             process.launch()
   |                     |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |                     `- note: use 'run' instead
28 |             process.waitUntilExit()
29 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[102/114] Compiling systemd main.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:20:21: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
18 |             let stderr = Pipe()
19 |             let process = Process()
20 |             process.launchPath = try Bash.which("awk")
   |                     |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |                     `- note: use 'executableURL' instead
21 |             process.arguments = ["-F:", "\"{ print $1}\"", "/etc/passwd"]
22 |             process.standardOutput = stdout
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:27:21: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
25 |             let outHandle = stdout.fileHandleForReading
26 |
27 |             process.launch()
   |                     |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |                     `- note: use 'run' instead
28 |             process.waitUntilExit()
29 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[103/114] Compiling systemd String+Fragment.swift
[104/114] Compiling systemd Journalctl.swift
[105/114] Compiling systemd VersionCommand.swift
[106/114] Compiling systemd Console+Abort.swift
[107/114] Compiling systemd Swift.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:75:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
73 |                 group.leave()
74 |             } else {
75 |                 resultData.append(data)
   |                 `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
76 |             }
77 |         }
/host/spi-builder-workspace/Sources/systemd/Helpers/Systemctl.swift:199:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |                 group.leave()
198 |             } else {
199 |                 resultData.append(data)
    |                 `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
200 |             }
201 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[108/114] Compiling systemd Systemctl.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:75:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
73 |                 group.leave()
74 |             } else {
75 |                 resultData.append(data)
   |                 `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
76 |             }
77 |         }
/host/spi-builder-workspace/Sources/systemd/Helpers/Systemctl.swift:199:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |                 group.leave()
198 |             } else {
199 |                 resultData.append(data)
    |                 `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
200 |             }
201 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[109/114] Compiling systemd ReloadDaemonCommand.swift
[110/114] Compiling systemd RestartCommand.swift
[111/114] Compiling systemd StartCommand.swift
[112/115] Wrapping AST for systemd for debugging
[113/115] Write Objects.LinkFileList
[114/115] Linking systemd
Build complete! (73.81s)
Build complete.
{
  "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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.