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 2 Dec 2024 03:00:29 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
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/vapor/console-kit
Fetching https://github.com/MihaelIsaev/SwiftBash
[1/15] Fetching swiftbash
Fetched https://github.com/MihaelIsaev/SwiftBash from cache (0.58s)
[1/5470] Fetching console-kit
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.57s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.15.1 (0.51s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3723] Fetching swift-log
[3724/75791] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.64s)
Fetched https://github.com/apple/swift-log.git from cache (4.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.71s)
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/1569] Fetching swift-atomics
[64/5488] Fetching swift-atomics, swift-system
[2487/21091] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.08s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.08s)
Fetched https://github.com/apple/swift-collections.git from cache (2.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.70s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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.4.0
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
========================================
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.1",
          "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.2",
              "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.77.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.4.0",
                  "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.63s)
Fetching https://github.com/vapor/console-kit from cache
Fetching https://github.com/MihaelIsaev/SwiftBash from cache
Fetched https://github.com/vapor/console-kit from cache (0.56s)
Fetched https://github.com/MihaelIsaev/SwiftBash from cache (0.56s)
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.1 (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-log.git from cache (0.55s)
Fetched https://github.com/apple/swift-nio.git from cache (0.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.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-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-collections.git from cache (0.55s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
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/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.15.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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.77.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/14] Write sources
[7/14] Write systemd-entitlement.plist
[8/14] Write swift-version--7754E27361AE5C74.txt
[9/21] Compiling c-nioatomics.c
[10/21] Compiling c-atomics.c
[12/27] Emitting module NIOConcurrencyHelpers
[13/27] Compiling Logging LogHandler.swift
[14/27] Compiling Logging MetadataProvider.swift
[15/27] Emitting module Logging
[16/27] Compiling Logging Logging.swift
[17/27] Compiling Logging Locks.swift
[18/27] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[19/27] Compiling NIOConcurrencyHelpers NIOLock.swift
[20/27] Compiling NIOConcurrencyHelpers atomics.swift
[21/27] Compiling NIOConcurrencyHelpers lock.swift
[22/27] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[23/54] Compiling ConsoleKitTerminal Console+Confirm.swift
[24/54] Compiling ConsoleKitTerminal Console+Input.swift
[25/54] Compiling ConsoleKitTerminal Console+Center.swift
[26/56] Compiling ConsoleKitTerminal ConsoleClear.swift
[27/56] Compiling ConsoleKitTerminal Console+Ask.swift
[28/56] Compiling ConsoleKitTerminal Console+Choose.swift
[29/56] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[30/56] Compiling ConsoleKitTerminal CustomActivity.swift
[31/56] Compiling ConsoleKitTerminal LoadingBar.swift
[32/56] Compiling ConsoleKitTerminal readpassphrase_linux.swift
[33/56] Compiling ConsoleKitTerminal AnySendableHashable.swift
[34/56] Emitting module ConsoleKitTerminal
[35/56] Compiling Bash Bash.swift
[36/56] Emitting module Bash
[37/56] Compiling ConsoleKitTerminal ConsoleLogger.swift
[38/56] Compiling ConsoleKitTerminal LoggerFragment.swift
[39/56] Compiling ConsoleKitTerminal Console+Output.swift
[40/56] Compiling ConsoleKitTerminal Console+Wait.swift
[41/56] Compiling ConsoleKitTerminal ConsoleColor.swift
[42/56] Compiling ConsoleKitTerminal ActivityBar.swift
[43/56] Compiling ConsoleKitTerminal ActivityIndicator.swift
[44/56] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[45/56] Compiling ConsoleKitTerminal ConsoleStyle.swift
[46/56] Compiling ConsoleKitTerminal ConsoleText.swift
[47/56] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[48/56] Compiling ConsoleKitTerminal ANSI.swift
[49/56] Compiling ConsoleKitTerminal Console.swift
[50/56] Compiling ConsoleKitTerminal Terminal.swift
[51/56] Compiling ConsoleKitTerminal ProgressBar.swift
[52/56] Compiling ConsoleKitTerminal Console+Clear.swift
[53/56] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[54/78] Emitting module ConsoleKitCommands
[55/80] Compiling ConsoleKitCommands Commands.swift
[56/80] Compiling ConsoleKitCommands Console+Run.swift
[57/80] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[58/80] Compiling ConsoleKitCommands AsyncCommand.swift
[59/80] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[60/80] Compiling ConsoleKitCommands Command.swift
[61/80] Compiling ConsoleKitCommands CommandContext.swift
[62/80] Compiling ConsoleKitCommands CommandError.swift
[63/80] Compiling ConsoleKitCommands Argument.swift
[64/80] Compiling ConsoleKitCommands CommandSignature.swift
[65/80] Compiling ConsoleKitCommands CommandGroup.swift
[66/80] Compiling ConsoleKitCommands CommandInput.swift
[67/80] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[68/80] Compiling ConsoleKitCommands Utilities.swift
[69/80] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[70/80] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[71/80] Compiling ConsoleKitCommands AsyncCommands.swift
[72/80] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[73/80] Compiling ConsoleKitCommands AnyCommand.swift
[74/80] Compiling ConsoleKitCommands Flag.swift
[75/80] Compiling ConsoleKitCommands Option.swift
[76/80] Compiling ConsoleKitCommands ConsoleError.swift
[77/80] Compiling ConsoleKitCommands Completion.swift
[78/82] Emitting module ConsoleKit
[79/82] Compiling ConsoleKit Exports.swift
[80/101] 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 {
[81/101] 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 {
[82/101] Compiling systemd StartCommand.swift
[83/101] Compiling systemd StatusCommand.swift
[84/101] Compiling systemd KillCommand.swift
[85/101] Compiling systemd LogsCommand.swift
[86/101] Compiling systemd StopCommand.swift
[87/101] Compiling systemd UninstallCommand.swift
[88/101] Compiling systemd ReloadDaemonCommand.swift
[89/101] Compiling systemd RestartCommand.swift
[90/101] Compiling systemd String+Fragment.swift
[91/101] Compiling systemd Journalctl.swift
[92/101] 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 {
[93/101] 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 {
[94/103] Compiling systemd DisableCommand.swift
[95/103] Compiling systemd EditCommand.swift
[96/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 {
[97/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 |         }
[98/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 |         }
[99/103] Compiling systemd Users.swift
[100/103] Compiling systemd main.swift
BUILD FAILURE 6.0 macosSpm