The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftSystemd, reference master (4a93b1), with Swift 6.0 for macOS (SPM) on 13 Oct 2024 08:45:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MihaelIsaev/SwiftSystemd.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/MihaelIsaev/SwiftBash
Fetching https://github.com/vapor/console-kit
[1/15] Fetching swiftbash
[16/5472] Fetching swiftbash, console-kit
Fetched https://github.com/MihaelIsaev/SwiftBash from cache (1.12s)
Fetched https://github.com/vapor/console-kit from cache (1.12s)
Computing version for https://github.com/MihaelIsaev/SwiftBash
Computed https://github.com/MihaelIsaev/SwiftBash at 1.0.0 (3.56s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.0 (0.52s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/3623] Fetching swift-log
[3624/73967] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.72s)
Fetched https://github.com/apple/swift-log.git from cache (7.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.74.0 (0.76s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/3656] Fetching swift-system
[75/5225] Fetching swift-system, swift-atomics
[1908/20670] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.85s)
[2365/17014] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (11.89s)
Fetched https://github.com/apple/swift-atomics.git from cache (11.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.75s)
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.1.4
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.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.1
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
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.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.74.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftsystemd",
      "name": "SwiftSystemd",
      "url": "https://github.com/MihaelIsaev/SwiftSystemd.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSystemd",
      "dependencies": [
        {
          "identity": "console-kit",
          "name": "console-kit",
          "url": "https://github.com/vapor/console-kit",
          "version": "4.15.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/console-kit",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio.git",
              "version": "2.74.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
                {
                  "identity": "swift-atomics",
                  "name": "swift-atomics",
                  "url": "https://github.com/apple/swift-atomics.git",
                  "version": "1.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-system",
                  "name": "swift-system",
                  "url": "https://github.com/apple/swift-system.git",
                  "version": "1.3.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swiftbash",
          "name": "SwiftBash",
          "url": "https://github.com/MihaelIsaev/SwiftBash",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftBash",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/MihaelIsaev/SwiftSystemd.git
[1/52] Fetching swiftsystemd
Fetched https://github.com/MihaelIsaev/SwiftSystemd.git from cache (0.69s)
Fetching https://github.com/vapor/console-kit from cache
Fetching https://github.com/MihaelIsaev/SwiftBash from cache
Fetched https://github.com/MihaelIsaev/SwiftBash from cache (0.48s)
Fetched https://github.com/vapor/console-kit from cache (0.48s)
Computing version for https://github.com/MihaelIsaev/SwiftBash
Computed https://github.com/MihaelIsaev/SwiftBash at 1.0.0 (0.02s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.0 (0.03s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.71s)
Fetched https://github.com/apple/swift-log.git from cache (0.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.74.0 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-collections.git from cache (0.58s)
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.74.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.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.3.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/MihaelIsaev/SwiftSystemd.git
Working copy of https://github.com/MihaelIsaev/SwiftSystemd.git resolved at master (4a93b1b)
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
Found 2 product dependencies
  - console-kit
  - SwiftBash
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MihaelIsaev/SwiftSystemd.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/14] Write sources
[7/14] Write systemd-entitlement.plist
[8/14] Write swift-version--4A847ED0836F2485.txt
[9/21] Compiling c-nioatomics.c
[10/21] Compiling c-atomics.c
[12/27] Compiling Logging MetadataProvider.swift
[13/27] Compiling NIOConcurrencyHelpers lock.swift
[14/27] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[15/27] Compiling NIOConcurrencyHelpers atomics.swift
[16/27] Compiling NIOConcurrencyHelpers NIOLock.swift
[17/27] Emitting module NIOConcurrencyHelpers
[18/27] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[19/27] Emitting module Logging
[20/27] Compiling Logging Locks.swift
[21/27] Compiling Logging Logging.swift
[22/27] Compiling Logging LogHandler.swift
[23/54] Compiling ConsoleKitTerminal ConsoleStyle.swift
[24/54] Compiling ConsoleKitTerminal ConsoleText.swift
[25/54] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[26/56] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[27/56] Compiling ConsoleKitTerminal CustomActivity.swift
[28/56] Compiling ConsoleKitTerminal LoadingBar.swift
[29/56] Emitting module ConsoleKitTerminal
[30/56] Compiling ConsoleKitTerminal Console+Confirm.swift
[31/56] Compiling ConsoleKitTerminal Console+Input.swift
[32/56] Compiling ConsoleKitTerminal Console+Center.swift
[33/56] Compiling ConsoleKitTerminal readpassphrase_linux.swift
[34/56] Compiling ConsoleKitTerminal AnySendableHashable.swift
[35/56] Compiling ConsoleKitTerminal ConsoleLogger.swift
[36/56] Compiling ConsoleKitTerminal LoggerFragment.swift
[37/56] Compiling Bash Bash.swift
[38/56] Emitting module Bash
[39/56] Compiling ConsoleKitTerminal ConsoleClear.swift
[40/56] Compiling ConsoleKitTerminal Console+Ask.swift
[41/56] Compiling ConsoleKitTerminal Console+Choose.swift
[42/56] Compiling ConsoleKitTerminal Console+Output.swift
[43/56] Compiling ConsoleKitTerminal Console+Wait.swift
[44/56] Compiling ConsoleKitTerminal ConsoleColor.swift
[45/56] Compiling ConsoleKitTerminal ActivityBar.swift
[46/56] Compiling ConsoleKitTerminal ActivityIndicator.swift
[47/56] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[48/56] Compiling ConsoleKitTerminal ProgressBar.swift
[49/56] Compiling ConsoleKitTerminal Console+Clear.swift
[50/56] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[51/56] Compiling ConsoleKitTerminal ANSI.swift
[52/56] Compiling ConsoleKitTerminal Console.swift
[53/56] Compiling ConsoleKitTerminal Terminal.swift
[54/78] Emitting module ConsoleKitCommands
[55/80] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[56/80] Compiling ConsoleKitCommands AsyncCommand.swift
[57/80] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[58/80] Compiling ConsoleKitCommands AsyncCommands.swift
[59/80] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[60/80] Compiling ConsoleKitCommands AnyCommand.swift
[61/80] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[62/80] Compiling ConsoleKitCommands Utilities.swift
[63/80] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[64/80] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[65/80] Compiling ConsoleKitCommands Commands.swift
[66/80] Compiling ConsoleKitCommands Console+Run.swift
[67/80] Compiling ConsoleKitCommands CommandGroup.swift
[68/80] Compiling ConsoleKitCommands CommandInput.swift
[69/80] Compiling ConsoleKitCommands Argument.swift
[70/80] Compiling ConsoleKitCommands CommandSignature.swift
[71/80] Compiling ConsoleKitCommands ConsoleError.swift
[72/80] Compiling ConsoleKitCommands Completion.swift
[73/80] Compiling ConsoleKitCommands Command.swift
[74/80] Compiling ConsoleKitCommands CommandContext.swift
[75/80] Compiling ConsoleKitCommands CommandError.swift
[76/80] Compiling ConsoleKitCommands Flag.swift
[77/80] Compiling ConsoleKitCommands Option.swift
[78/82] Compiling ConsoleKit Exports.swift
[79/82] Emitting module ConsoleKit
[80/101] Compiling systemd StartCommand.swift
[81/101] Compiling systemd StatusCommand.swift
[82/101] Compiling systemd ReloadDaemonCommand.swift
[83/101] Compiling systemd RestartCommand.swift
[84/103] Compiling systemd KillCommand.swift
[85/103] Compiling systemd LogsCommand.swift
[86/103] Emitting module systemd
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/VersionCommand.swift:11:16: warning: static property 'currentVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | final class VersionCommand: Command {
11 |     static var currentVersion = "1.0.0"
   |                |- warning: static property 'currentVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'currentVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'currentVersion' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     struct Signature: CommandSignature {
[87/103] Compiling systemd DisableCommand.swift
[88/103] Compiling systemd EditCommand.swift
[89/103] Compiling systemd EnableCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:87:24: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 79 |     }
 80 |
 81 |     private func create(targets: [Swift.SwiftPackage.Target]?, systemctl: Systemctl, signature: Signature) {
    |                  `- note: add '@MainActor' to make instance method 'create(targets:systemctl:signature:)' part of global actor 'MainActor'
 82 |         let target: String
 83 |         if let t = signature.target {
    :
 85 |         } else {
 86 |             guard let targets = targets, targets.count > 0 else {
 87 |                 return context.console.aborting()
    |                        `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 88 |             }
 89 |             if targets.count == 1 {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:92:26: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 79 |     }
 80 |
 81 |     private func create(targets: [Swift.SwiftPackage.Target]?, systemctl: Systemctl, signature: Signature) {
    |                  `- note: add '@MainActor' to make instance method 'create(targets:systemctl:signature:)' part of global actor 'MainActor'
 82 |         let target: String
 83 |         if let t = signature.target {
    :
 90 |                 target = targets[0].name
 91 |             } else {
 92 |                 target = context.console.choose(
    |                          `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 93 |                     "Please choose the target of your app",
 94 |                     from: targets.map { $0.name }
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:98:45: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 96 |             }
 97 |         }
 98 |         let buildType = signature.config ?? context.console.choose(
    |                                             `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 99 |             "Please choose the target configuration",
100 |             from: ["release", "debug"]
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:102:38: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
100 |             from: ["release", "debug"]
101 |         ) { .init(stringLiteral: $0) }
102 |         let user = signature.user ?? context.console.choose(
    |                                      `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
103 |             "Please choose the user under which the service will run",
104 |             from: Users.list(console: console)
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
[90/103] Compiling systemd InstallCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:87:24: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 79 |     }
 80 |
 81 |     private func create(targets: [Swift.SwiftPackage.Target]?, systemctl: Systemctl, signature: Signature) {
    |                  `- note: add '@MainActor' to make instance method 'create(targets:systemctl:signature:)' part of global actor 'MainActor'
 82 |         let target: String
 83 |         if let t = signature.target {
    :
 85 |         } else {
 86 |             guard let targets = targets, targets.count > 0 else {
 87 |                 return context.console.aborting()
    |                        `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 88 |             }
 89 |             if targets.count == 1 {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:92:26: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 79 |     }
 80 |
 81 |     private func create(targets: [Swift.SwiftPackage.Target]?, systemctl: Systemctl, signature: Signature) {
    |                  `- note: add '@MainActor' to make instance method 'create(targets:systemctl:signature:)' part of global actor 'MainActor'
 82 |         let target: String
 83 |         if let t = signature.target {
    :
 90 |                 target = targets[0].name
 91 |             } else {
 92 |                 target = context.console.choose(
    |                          `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 93 |                     "Please choose the target of your app",
 94 |                     from: targets.map { $0.name }
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:98:45: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 96 |             }
 97 |         }
 98 |         let buildType = signature.config ?? context.console.choose(
    |                                             `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
 99 |             "Please choose the target configuration",
100 |             from: ["release", "debug"]
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/InstallCommand.swift:102:38: error: main actor-isolated var 'context' can not be referenced from a nonisolated context
100 |             from: ["release", "debug"]
101 |         ) { .init(stringLiteral: $0) }
102 |         let user = signature.user ?? context.console.choose(
    |                                      `- error: main actor-isolated var 'context' can not be referenced from a nonisolated context
103 |             "Please choose the user under which the service will run",
104 |             from: Users.list(console: console)
/Users/admin/builder/spi-builder-workspace/Sources/systemd/main.swift:9:5: note: var declared here
 7 | let console: Console = Terminal()
 8 | var input = CommandInput(arguments: CommandLine.arguments)
 9 | var context = CommandContext(console: console, input: input)
   |     `- note: var declared here
10 |
11 | guard Bash.whichBool("systemctl") else {
[91/103] Compiling systemd VersionCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/VersionCommand.swift:11:16: warning: static property 'currentVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | final class VersionCommand: Command {
11 |     static var currentVersion = "1.0.0"
   |                |- warning: static property 'currentVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'currentVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'currentVersion' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     struct Signature: CommandSignature {
[92/103] Compiling systemd Console+Abort.swift
/Users/admin/builder/spi-builder-workspace/Sources/systemd/Commands/VersionCommand.swift:11:16: warning: static property 'currentVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | final class VersionCommand: Command {
11 |     static var currentVersion = "1.0.0"
   |                |- warning: static property 'currentVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'currentVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'currentVersion' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     struct Signature: CommandSignature {
[93/103] Compiling systemd String+Fragment.swift
[94/103] Compiling systemd Journalctl.swift
[95/103] Compiling systemd Swift.swift
/Users/admin/builder/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
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
76 |             }
77 |         }
/Users/admin/builder/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
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
200 |             }
201 |         }
[96/103] Compiling systemd Systemctl.swift
/Users/admin/builder/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
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
76 |             }
77 |         }
/Users/admin/builder/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
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
200 |             }
201 |         }
[97/103] Compiling systemd StopCommand.swift
[98/103] Compiling systemd UninstallCommand.swift
[99/103] Compiling systemd Users.swift
[100/103] Compiling systemd main.swift
BUILD FAILURE 6.0 macosSpm