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

Successful build of Commander, reference master (7791c4), with Swift 6.1 for Linux on 26 Apr 2025 05:23:37 UTC.

Swift 6 data race errors: 28

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devedbox/commander.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/devedbox/commander
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7791c48 feat: Updates the type alias for subcommands.
Cloned https://github.com/devedbox/commander.git
Revision (git rev-parse @):
7791c480a2e508229a14275630612bfea3d3c0b2
SUCCESS checkout https://github.com/devedbox/commander.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/devedbox/commander.git
https://github.com/devedbox/commander.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Commander",
  "name" : "Commander",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commander",
      "targets" : [
        "Commander"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "commander-sample",
      "targets" : [
        "commander-sample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "commander_sample",
      "module_type" : "SwiftTarget",
      "name" : "commander-sample",
      "path" : "Sources/commander-sample",
      "product_memberships" : [
        "commander-sample"
      ],
      "sources" : [
        "SampleCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Commander"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "UtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilityTests",
      "path" : "Tests/UtilityTests",
      "sources" : [
        "Bool+Tests.swift",
        "CommandLineTests.swift",
        "Optional+Tests.swift",
        "String+Tests.swift",
        "UtilityTests.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_memberships" : [
        "Commander",
        "commander-sample"
      ],
      "sources" : [
        "Bool+.swift",
        "Collection+.swift",
        "CommandLine.swift",
        "Optional+.swift",
        "String+.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommanderTests",
      "module_type" : "SwiftTarget",
      "name" : "CommanderTests",
      "path" : "Tests/CommanderTests",
      "sources" : [
        "CommandPathTests.swift",
        "CommandTests.swift",
        "CommanderTests.swift",
        "GlobalOptionsTests.swift",
        "OptionsDecoderTests.swift",
        "WrappedCommandTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Commander"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Commander",
      "module_type" : "SwiftTarget",
      "name" : "Commander",
      "path" : "Sources/Commander",
      "product_memberships" : [
        "Commander",
        "commander-sample"
      ],
      "sources" : [
        "Built-Ins/BuiltIn.swift",
        "Built-Ins/Commands/Complete.swift",
        "Built-Ins/Commands/Help.swift",
        "Commander.swift",
        "Commands/CommandDescriber.swift",
        "Commands/CommandPath.swift",
        "Commands/CommandRepresentable.swift",
        "Error.swift",
        "Options/DefaultOptions.swift",
        "Options/Option.swift",
        "Options/OptionDescription.swift",
        "Options/OptionsDecoder.swift",
        "Options/OptionsRepresentable.swift",
        "Shell.swift",
        "misc.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Utility CommandLine.swift
[6/15] Emitting module Utility
[7/15] Compiling Utility Collection+.swift
[8/15] Compiling Utility Bool+.swift
[9/15] Compiling Utility String+.swift
[10/15] Compiling Utility Optional+.swift
[11/16] Wrapping AST for Utility for debugging
[13/31] Compiling Commander OptionsRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/Options/OptionsRepresentable.swift:214:14: warning: var '_ArgumentsStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 | /// The global storage of decoded arguments of any `OptionsRepresentable`. Key type is `AnyOptions<T>`.
214 | internal var _ArgumentsStorage: [AnyHashable: Any] = [:]
    |              |- warning: var '_ArgumentsStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert '_ArgumentsStorage' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var '_ArgumentsStorage' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | // MARK: - Defaults.
[14/31] Compiling Commander Shell.swift
/host/spi-builder-workspace/Sources/Commander/Options/OptionsRepresentable.swift:214:14: warning: var '_ArgumentsStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 | /// The global storage of decoded arguments of any `OptionsRepresentable`. Key type is `AnyOptions<T>`.
214 | internal var _ArgumentsStorage: [AnyHashable: Any] = [:]
    |              |- warning: var '_ArgumentsStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert '_ArgumentsStorage' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var '_ArgumentsStorage' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | // MARK: - Defaults.
[15/32] Compiling Commander CommandDescriber.swift
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:33:18: warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
 32 |     /// Running command path.
 33 |     internal let path: CommandPath
    |                  `- warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
 34 |     /// The unrecognized options keys.
 35 |     internal let options: [String]
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:37:18: warning: stored property 'decoded' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
 35 |     internal let options: [String]
 36 |     /// The decoded options.
 37 |     internal let decoded: Decodable
    |                  `- warning: stored property 'decoded' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
 38 |     /// The decoder to decode the options.
 39 |     internal let decoder: Decoder
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:39:18: warning: stored property 'decoder' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
 37 |     internal let decoded: Decodable
 38 |     /// The decoder to decode the options.
 39 |     internal let decoder: Decoder
    |                  `- warning: stored property 'decoder' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
 40 |   }
 41 |
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:61:23: warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |   /// The running context of the command path.
 61 |   internal static var running: RunningContext = RunningContext()
    |                       |- warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'running' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'running' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |   /// The running paths of the ass
[16/32] Compiling Commander CommandPath.swift
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:33:18: warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
 32 |     /// Running command path.
 33 |     internal let path: CommandPath
    |                  `- warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
 34 |     /// The unrecognized options keys.
 35 |     internal let options: [String]
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:37:18: warning: stored property 'decoded' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
 35 |     internal let options: [String]
 36 |     /// The decoded options.
 37 |     internal let decoded: Decodable
    |                  `- warning: stored property 'decoded' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
 38 |     /// The decoder to decode the options.
 39 |     internal let decoder: Decoder
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:39:18: warning: stored property 'decoder' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
 37 |     internal let decoded: Decodable
 38 |     /// The decoder to decode the options.
 39 |     internal let decoder: Decoder
    |                  `- warning: stored property 'decoder' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
 40 |   }
 41 |
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:61:23: warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |   /// The running context of the command path.
 61 |   internal static var running: RunningContext = RunningContext()
    |                       |- warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'running' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'running' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |   /// The running paths of the ass
[17/32] Compiling Commander BuiltIn.swift
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:60:23: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |   public final class Commander: CommanderRepresentable {
59 |     /// A closure of `(Error) -> Void` to handle the stderror.
60 |     public static var errorHandler: ((Swift.Error) throws -> Void)?
   |                       |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// A closure of `(String) -> Void` to handle the stdout.
62 |     public static var outputHandler: ((String) -> Void)?
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:62:23: warning: static property 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var errorHandler: ((Swift.Error) throws -> Void)?
61 |     /// A closure of `(String) -> Void` to handle the stdout.
62 |     public static var outputHandler: ((String) -> Void)?
   |                       |- warning: static property 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'outputHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'outputHandler' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// The registered available commands of the commander.
64 |     public static var commands: [CommandDispatchable.Type] = []
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:64:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var outputHandler: ((String) -> Void)?
63 |     /// The registered available commands of the commander.
64 |     public static var commands: [CommandDispatchable.Type] = []
   |                       |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |     /// The human-readable usage description of the commands.
66 |     public static var usage: String = ""
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:66:23: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |     public static var commands: [CommandDispatchable.Type] = []
65 |     /// The human-readable usage description of the commands.
66 |     public static var usage: String = ""
   |                       |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |     /// Creates the instance of `Commander`.
68 |     public init() { }
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:72:34: warning: static property 'help' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |
71 |   /// The built-in help command.
72 |   public private(set) static var help: CommandDispatchable.Type = Help.self
   |                                  |- warning: static property 'help' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                  |- note: convert 'help' to a 'let' constant to make 'Sendable' shared state immutable
   |                                  |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |   /// The built-in commands for the commander except help command.
74 |   public private(set) static var commands: [CommandDispatchable.Type] = [
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:74:34: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |   public private(set) static var help: CommandDispatchable.Type = Help.self
73 |   /// The built-in commands for the commander except help command.
74 |   public private(set) static var commands: [CommandDispatchable.Type] = [
   |                                  |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                  |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                                  |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |     Complete.self // The complete command to show the complete word list of given command line parameters.
76 |   ]
[18/32] Compiling Commander Complete.swift
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:60:23: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |   public final class Commander: CommanderRepresentable {
59 |     /// A closure of `(Error) -> Void` to handle the stderror.
60 |     public static var errorHandler: ((Swift.Error) throws -> Void)?
   |                       |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// A closure of `(String) -> Void` to handle the stdout.
62 |     public static var outputHandler: ((String) -> Void)?
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:62:23: warning: static property 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var errorHandler: ((Swift.Error) throws -> Void)?
61 |     /// A closure of `(String) -> Void` to handle the stdout.
62 |     public static var outputHandler: ((String) -> Void)?
   |                       |- warning: static property 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'outputHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'outputHandler' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// The registered available commands of the commander.
64 |     public static var commands: [CommandDispatchable.Type] = []
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:64:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var outputHandler: ((String) -> Void)?
63 |     /// The registered available commands of the commander.
64 |     public static var commands: [CommandDispatchable.Type] = []
   |                       |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |     /// The human-readable usage description of the commands.
66 |     public static var usage: String = ""
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:66:23: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |     public static var commands: [CommandDispatchable.Type] = []
65 |     /// The human-readable usage description of the commands.
66 |     public static var usage: String = ""
   |                       |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |     /// Creates the instance of `Commander`.
68 |     public init() { }
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:72:34: warning: static property 'help' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |
71 |   /// The built-in help command.
72 |   public private(set) static var help: CommandDispatchable.Type = Help.self
   |                                  |- warning: static property 'help' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                  |- note: convert 'help' to a 'let' constant to make 'Sendable' shared state immutable
   |                                  |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |   /// The built-in commands for the commander except help command.
74 |   public private(set) static var commands: [CommandDispatchable.Type] = [
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:74:34: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |   public private(set) static var help: CommandDispatchable.Type = Help.self
73 |   /// The built-in commands for the commander except help command.
74 |   public private(set) static var commands: [CommandDispatchable.Type] = [
   |                                  |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                  |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                                  |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |     Complete.self // The complete command to show the complete word list of given command line parameters.
76 |   ]
[19/32] Emitting module Commander
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:60:23: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |   public final class Commander: CommanderRepresentable {
59 |     /// A closure of `(Error) -> Void` to handle the stderror.
60 |     public static var errorHandler: ((Swift.Error) throws -> Void)?
   |                       |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// A closure of `(String) -> Void` to handle the stdout.
62 |     public static var outputHandler: ((String) -> Void)?
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:62:23: warning: static property 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var errorHandler: ((Swift.Error) throws -> Void)?
61 |     /// A closure of `(String) -> Void` to handle the stdout.
62 |     public static var outputHandler: ((String) -> Void)?
   |                       |- warning: static property 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'outputHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'outputHandler' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// The registered available commands of the commander.
64 |     public static var commands: [CommandDispatchable.Type] = []
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:64:23: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var outputHandler: ((String) -> Void)?
63 |     /// The registered available commands of the commander.
64 |     public static var commands: [CommandDispatchable.Type] = []
   |                       |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |     /// The human-readable usage description of the commands.
66 |     public static var usage: String = ""
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:66:23: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |     public static var commands: [CommandDispatchable.Type] = []
65 |     /// The human-readable usage description of the commands.
66 |     public static var usage: String = ""
   |                       |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |     /// Creates the instance of `Commander`.
68 |     public init() { }
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:72:34: warning: static property 'help' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |
71 |   /// The built-in help command.
72 |   public private(set) static var help: CommandDispatchable.Type = Help.self
   |                                  |- warning: static property 'help' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                  |- note: convert 'help' to a 'let' constant to make 'Sendable' shared state immutable
   |                                  |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |   /// The built-in commands for the commander except help command.
74 |   public private(set) static var commands: [CommandDispatchable.Type] = [
/host/spi-builder-workspace/Sources/Commander/Built-Ins/BuiltIn.swift:74:34: warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
72 |   public private(set) static var help: CommandDispatchable.Type = Help.self
73 |   /// The built-in commands for the commander except help command.
74 |   public private(set) static var commands: [CommandDispatchable.Type] = [
   |                                  |- warning: static property 'commands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                  |- note: convert 'commands' to a 'let' constant to make 'Sendable' shared state immutable
   |                                  |- note: add '@MainActor' to make static property 'commands' part of global actor 'MainActor'
   |                                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |     Complete.self // The complete command to show the complete word list of given command line parameters.
76 |   ]
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:44:25: warning: static property 'descriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 42 |     internal static let keys: [Options.OptionKeys: Character] = [.help: "h"]
 43 |     /// Returns the description of the options.
 44 |     internal static var descriptions: [Options.OptionKeys: OptionDescription] = [
    |                         |- warning: static property 'descriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'descriptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |       .help: .usage("Prints the help message of the command. Usage: [[--help|-h][COMMAND --help][COMMAND -h]]")
 46 |     ]
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:67:23: warning: static property 'path' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |   }
 66 |   /// The resolving command path.
 67 |   internal static var path: CommandPath!
    |                       |- warning: static property 'path' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'path' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |   /// The command symbol.
 69 |   internal static var symbol: String = "help"
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:69:23: warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |   internal static var path: CommandPath!
 68 |   /// The command symbol.
 69 |   internal static var symbol: String = "help"
    |                       |- warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'symbol' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'symbol' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |   /// The usage of the command.
 71 |   internal static var usage: String = "Prints the help message of the command. Usage: [help [COMMANDS]]"
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:71:23: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |   internal static var symbol: String = "help"
 70 |   /// The usage of the command.
 71 |   internal static var usage: String = "Prints the help message of the command. Usage: [help [COMMANDS]]"
    |                       |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |   /// Try to validate and run the help command if the given options if valid help options.
 73 |   internal static func with(
/host/spi-builder-workspace/Sources/Commander/Commander.swift:32:25: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | /// The logger to log the output message to standard output.
 32 | public private(set) var logger: TextOutputStream!
    |                         |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 | // MARK: - CommanderRepresentable.
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:33:18: warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
 32 |     /// Running command path.
 33 |     internal let path: CommandPath
    |                  `- warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
 34 |     /// The unrecognized options keys.
 35 |     internal let options: [String]
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:37:18: warning: stored property 'decoded' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
 35 |     internal let options: [String]
 36 |     /// The decoded options.
 37 |     internal let decoded: Decodable
    |                  `- warning: stored property 'decoded' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
 38 |     /// The decoder to decode the options.
 39 |     internal let decoder: Decoder
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:39:18: warning: stored property 'decoder' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
 37 |     internal let decoded: Decodable
 38 |     /// The decoder to decode the options.
 39 |     internal let decoder: Decoder
    |                  `- warning: stored property 'decoder' of 'Sendable'-conforming struct 'Dispatcher' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
 40 |   }
 41 |
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:61:23: warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |   /// The running context of the command path.
 61 |   internal static var running: RunningContext = RunningContext()
    |                       |- warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'running' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'running' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |   /// The running paths of the ass
/host/spi-builder-workspace/Sources/Commander/Error.swift:42:8: warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
40 |   case emptyCommand
41 |   case unrecognizedCommands(commands: [String])
42 |   case unrecognizedOptions([String], path: CommandPath?, underlyingError: Swift.Error?)
   |        `- warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
43 |
44 |   public var description: String {
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:29:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
/host/spi-builder-workspace/Sources/Commander/Error.swift:67:8: warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
65 | internal enum InternalError: Swift.Error {
66 |   /// Indicates the command path need print help info.
67 |   case needsHelp(path: CommandPath)
   |        `- warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
68 | }
69 |
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:29:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:18:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public typealias AllCases = [EmptyOptionKeys]
17 |     /// A collection of all values of this type.
18 |     public static var allCases: [EmptyOptionKeys] = []
   |                       |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     /// The string to use in a named collection (e.g. a string-keyed dictionary).
20 |     public var stringValue: String
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:34:23: warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
32 |     public typealias OptionKeys = DefaultOptions.EmptyOptionKeys
33 |     /// The short keys of the options' coding keys.
34 |     public static let keys: [OptionKeys : Character] = [:]
   |                       |- warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'keys' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     /// The extends option keys for the `Options`.
36 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:36:23: warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
34 |     public static let keys: [OptionKeys : Character] = [:]
35 |     /// The extends option keys for the `Options`.
36 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
   |                       |- warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     /// Creates a new instance by decoding from the given decoder.
38 |     ///
/host/spi-builder-workspace/Sources/Commander/Options/OptionDescription.swift:32:15: note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
30 | /// The type represents the description of `Options`. The instances of this type provides the short
31 | /// symbol of the Options and usage description of the Options.
32 | public struct OptionDescription {
   |               `- note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
33 |   /// The default value of the option desc.
34 |   public let defaultValue: Decodable?
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:56:23: warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
54 |     public typealias OptionKeys = EmptyOptionKeys
55 |     /// The short keys of the options' coding keys.
56 |     public static let keys: [OptionKeys : Character] = [:]
   |                       |- warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'keys' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// The extends option keys for the `Options`.
58 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:58:23: warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
56 |     public static let keys: [OptionKeys : Character] = [:]
57 |     /// The extends option keys for the `Options`.
58 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
   |                       |- warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// Creates a new instance by decoding from the given decoder.
60 |     ///
/host/spi-builder-workspace/Sources/Commander/Options/OptionDescription.swift:32:15: note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
30 | /// The type represents the description of `Options`. The instances of this type provides the short
31 | /// symbol of the Options and usage description of the Options.
32 | public struct OptionDescription {
   |               `- note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
33 |   /// The default value of the option desc.
34 |   public let defaultValue: Decodable?
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:82:10: warning: associated value 'unrecognizedArguments' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
  80 |     case decodingError(DecodingError)
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
     |          `- warning: associated value 'unrecognizedArguments' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
  84 |     case unresolvableArguments
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:83:10: warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
     |          `- warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
  84 |     case unresolvableArguments
  85 |     case unexpectedEndsOfOptions(markedArgs: [String])
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:83:10: warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
     |          `- warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
  84 |     case unresolvableArguments
  85 |     case unexpectedEndsOfOptions(markedArgs: [String])
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:372:23: warning: static property 'optionsFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 370 | public final class OptionsDecoder {
 371 |
 372 |   internal static var optionsFormat = OptionsFormat.format("--", short: "-")
     |                       |- warning: static property 'optionsFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'optionsFormat' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'optionsFormat' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 373 |   internal static var objectFormat = ObjectFormat.flatContainer(splitter: ",", keyValuePairsSplitter: "=")
 374 |
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:373:23: warning: static property 'objectFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 371 |
 372 |   internal static var optionsFormat = OptionsFormat.format("--", short: "-")
 373 |   internal static var objectFormat = ObjectFormat.flatContainer(splitter: ",", keyValuePairsSplitter: "=")
     |                       |- warning: static property 'objectFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'objectFormat' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'objectFormat' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 374 |
 375 |   internal private(set) var codingKeys: [String: Character] = [:]
/host/spi-builder-workspace/Sources/Commander/Options/OptionsRepresentable.swift:214:14: warning: var '_ArgumentsStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
212 | }
213 | /// The global storage of decoded arguments of any `OptionsRepresentable`. Key type is `AnyOptions<T>`.
214 | internal var _ArgumentsStorage: [AnyHashable: Any] = [:]
    |              |- warning: var '_ArgumentsStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert '_ArgumentsStorage' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var '_ArgumentsStorage' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | // MARK: - Defaults.
/host/spi-builder-workspace/Sources/Commander/misc.swift:78:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | // MARK: - FileHandle.
77 |
78 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
79 |   /// Write the string to file handle.
80 |   public func write(_ string: String) {
[20/32] Compiling Commander Help.swift
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:44:25: warning: static property 'descriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 42 |     internal static let keys: [Options.OptionKeys: Character] = [.help: "h"]
 43 |     /// Returns the description of the options.
 44 |     internal static var descriptions: [Options.OptionKeys: OptionDescription] = [
    |                         |- warning: static property 'descriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'descriptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |       .help: .usage("Prints the help message of the command. Usage: [[--help|-h][COMMAND --help][COMMAND -h]]")
 46 |     ]
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:67:23: warning: static property 'path' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |   }
 66 |   /// The resolving command path.
 67 |   internal static var path: CommandPath!
    |                       |- warning: static property 'path' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'path' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |   /// The command symbol.
 69 |   internal static var symbol: String = "help"
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:69:23: warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |   internal static var path: CommandPath!
 68 |   /// The command symbol.
 69 |   internal static var symbol: String = "help"
    |                       |- warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'symbol' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'symbol' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |   /// The usage of the command.
 71 |   internal static var usage: String = "Prints the help message of the command. Usage: [help [COMMANDS]]"
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:71:23: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |   internal static var symbol: String = "help"
 70 |   /// The usage of the command.
 71 |   internal static var usage: String = "Prints the help message of the command. Usage: [help [COMMANDS]]"
    |                       |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |   /// Try to validate and run the help command if the given options if valid help options.
 73 |   internal static func with(
/host/spi-builder-workspace/Sources/Commander/Commander.swift:32:25: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | /// The logger to log the output message to standard output.
 32 | public private(set) var logger: TextOutputStream!
    |                         |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 | // MARK: - CommanderRepresentable.
[21/32] Compiling Commander Commander.swift
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:44:25: warning: static property 'descriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 42 |     internal static let keys: [Options.OptionKeys: Character] = [.help: "h"]
 43 |     /// Returns the description of the options.
 44 |     internal static var descriptions: [Options.OptionKeys: OptionDescription] = [
    |                         |- warning: static property 'descriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'descriptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |       .help: .usage("Prints the help message of the command. Usage: [[--help|-h][COMMAND --help][COMMAND -h]]")
 46 |     ]
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:67:23: warning: static property 'path' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |   }
 66 |   /// The resolving command path.
 67 |   internal static var path: CommandPath!
    |                       |- warning: static property 'path' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'path' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |   /// The command symbol.
 69 |   internal static var symbol: String = "help"
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:69:23: warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |   internal static var path: CommandPath!
 68 |   /// The command symbol.
 69 |   internal static var symbol: String = "help"
    |                       |- warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'symbol' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'symbol' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |   /// The usage of the command.
 71 |   internal static var usage: String = "Prints the help message of the command. Usage: [help [COMMANDS]]"
/host/spi-builder-workspace/Sources/Commander/Built-Ins/Commands/Help.swift:71:23: warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |   internal static var symbol: String = "help"
 70 |   /// The usage of the command.
 71 |   internal static var usage: String = "Prints the help message of the command. Usage: [help [COMMANDS]]"
    |                       |- warning: static property 'usage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'usage' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'usage' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |   /// Try to validate and run the help command if the given options if valid help options.
 73 |   internal static func with(
/host/spi-builder-workspace/Sources/Commander/Commander.swift:32:25: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | /// The logger to log the output message to standard output.
 32 | public private(set) var logger: TextOutputStream!
    |                         |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 | // MARK: - CommanderRepresentable.
[22/32] Compiling Commander misc.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:78:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | // MARK: - FileHandle.
77 |
78 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
79 |   /// Write the string to file handle.
80 |   public func write(_ string: String) {
[23/32] Compiling Commander DefaultOptions.swift
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:18:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public typealias AllCases = [EmptyOptionKeys]
17 |     /// A collection of all values of this type.
18 |     public static var allCases: [EmptyOptionKeys] = []
   |                       |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     /// The string to use in a named collection (e.g. a string-keyed dictionary).
20 |     public var stringValue: String
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:34:23: warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
32 |     public typealias OptionKeys = DefaultOptions.EmptyOptionKeys
33 |     /// The short keys of the options' coding keys.
34 |     public static let keys: [OptionKeys : Character] = [:]
   |                       |- warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'keys' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     /// The extends option keys for the `Options`.
36 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:36:23: warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
34 |     public static let keys: [OptionKeys : Character] = [:]
35 |     /// The extends option keys for the `Options`.
36 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
   |                       |- warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     /// Creates a new instance by decoding from the given decoder.
38 |     ///
/host/spi-builder-workspace/Sources/Commander/Options/OptionDescription.swift:32:15: note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
30 | /// The type represents the description of `Options`. The instances of this type provides the short
31 | /// symbol of the Options and usage description of the Options.
32 | public struct OptionDescription {
   |               `- note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
33 |   /// The default value of the option desc.
34 |   public let defaultValue: Decodable?
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:56:23: warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
54 |     public typealias OptionKeys = EmptyOptionKeys
55 |     /// The short keys of the options' coding keys.
56 |     public static let keys: [OptionKeys : Character] = [:]
   |                       |- warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'keys' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// The extends option keys for the `Options`.
58 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:58:23: warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
56 |     public static let keys: [OptionKeys : Character] = [:]
57 |     /// The extends option keys for the `Options`.
58 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
   |                       |- warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// Creates a new instance by decoding from the given decoder.
60 |     ///
/host/spi-builder-workspace/Sources/Commander/Options/OptionDescription.swift:32:15: note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
30 | /// The type represents the description of `Options`. The instances of this type provides the short
31 | /// symbol of the Options and usage description of the Options.
32 | public struct OptionDescription {
   |               `- note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
33 |   /// The default value of the option desc.
34 |   public let defaultValue: Decodable?
[24/32] Compiling Commander Option.swift
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:18:23: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public typealias AllCases = [EmptyOptionKeys]
17 |     /// A collection of all values of this type.
18 |     public static var allCases: [EmptyOptionKeys] = []
   |                       |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     /// The string to use in a named collection (e.g. a string-keyed dictionary).
20 |     public var stringValue: String
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:34:23: warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
32 |     public typealias OptionKeys = DefaultOptions.EmptyOptionKeys
33 |     /// The short keys of the options' coding keys.
34 |     public static let keys: [OptionKeys : Character] = [:]
   |                       |- warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'keys' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     /// The extends option keys for the `Options`.
36 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:36:23: warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
34 |     public static let keys: [OptionKeys : Character] = [:]
35 |     /// The extends option keys for the `Options`.
36 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
   |                       |- warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.None.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     /// Creates a new instance by decoding from the given decoder.
38 |     ///
/host/spi-builder-workspace/Sources/Commander/Options/OptionDescription.swift:32:15: note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
30 | /// The type represents the description of `Options`. The instances of this type provides the short
31 | /// symbol of the Options and usage description of the Options.
32 | public struct OptionDescription {
   |               `- note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
33 |   /// The default value of the option desc.
34 |   public let defaultValue: Decodable?
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:56:23: warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
54 |     public typealias OptionKeys = EmptyOptionKeys
55 |     /// The short keys of the options' coding keys.
56 |     public static let keys: [OptionKeys : Character] = [:]
   |                       |- warning: static property 'keys' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : Character]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, Character>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'keys' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// The extends option keys for the `Options`.
58 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
/host/spi-builder-workspace/Sources/Commander/Options/DefaultOptions.swift:58:23: warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |   /// The coding key type of `CodingKey & StringRawRepresentable` for decoding.
14 |   public struct EmptyOptionKeys: OptionKeysRepresentable {
   |                 `- note: consider making struct 'EmptyOptionKeys' conform to the 'Sendable' protocol
15 |     /// A type that can represent a collection of all values of this type.
16 |     public typealias AllCases = [EmptyOptionKeys]
   :
56 |     public static let keys: [OptionKeys : Character] = [:]
57 |     /// The extends option keys for the `Options`.
58 |     public static let descriptions: [OptionKeys : OptionDescription] = [:]
   |                       |- warning: static property 'descriptions' is not concurrency-safe because non-'Sendable' type '[DefaultOptions.Empty.OptionKeys : OptionDescription]' (aka 'Dictionary<DefaultOptions.EmptyOptionKeys, OptionDescription>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'descriptions' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// Creates a new instance by decoding from the given decoder.
60 |     ///
/host/spi-builder-workspace/Sources/Commander/Options/OptionDescription.swift:32:15: note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
30 | /// The type represents the description of `Options`. The instances of this type provides the short
31 | /// symbol of the Options and usage description of the Options.
32 | public struct OptionDescription {
   |               `- note: consider making struct 'OptionDescription' conform to the 'Sendable' protocol
33 |   /// The default value of the option desc.
34 |   public let defaultValue: Decodable?
[25/32] Compiling Commander CommandRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/Error.swift:42:8: warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
40 |   case emptyCommand
41 |   case unrecognizedCommands(commands: [String])
42 |   case unrecognizedOptions([String], path: CommandPath?, underlyingError: Swift.Error?)
   |        `- warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
43 |
44 |   public var description: String {
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:29:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
/host/spi-builder-workspace/Sources/Commander/Error.swift:67:8: warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
65 | internal enum InternalError: Swift.Error {
66 |   /// Indicates the command path need print help info.
67 |   case needsHelp(path: CommandPath)
   |        `- warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
68 | }
69 |
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:29:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
[26/32] Compiling Commander Error.swift
/host/spi-builder-workspace/Sources/Commander/Error.swift:42:8: warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
40 |   case emptyCommand
41 |   case unrecognizedCommands(commands: [String])
42 |   case unrecognizedOptions([String], path: CommandPath?, underlyingError: Swift.Error?)
   |        `- warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
43 |
44 |   public var description: String {
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:29:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
/host/spi-builder-workspace/Sources/Commander/Error.swift:67:8: warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
65 | internal enum InternalError: Swift.Error {
66 |   /// Indicates the command path need print help info.
67 |   case needsHelp(path: CommandPath)
   |        `- warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
68 | }
69 |
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:29:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 27 |
 28 | /// A type represents the running paths of the specific command of `AnyCommandRepresetnable.Type`.
 29 | public struct CommandPath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 30 |   /// The error info of the command path to redispatch with the.
 31 |   internal struct Dispatcher: Swift.Error {
[27/32] Compiling Commander OptionDescription.swift
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:82:10: warning: associated value 'unrecognizedArguments' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
  80 |     case decodingError(DecodingError)
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
     |          `- warning: associated value 'unrecognizedArguments' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
  84 |     case unresolvableArguments
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:83:10: warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
     |          `- warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
  84 |     case unresolvableArguments
  85 |     case unexpectedEndsOfOptions(markedArgs: [String])
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:83:10: warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
     |          `- warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
  84 |     case unresolvableArguments
  85 |     case unexpectedEndsOfOptions(markedArgs: [String])
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:372:23: warning: static property 'optionsFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 370 | public final class OptionsDecoder {
 371 |
 372 |   internal static var optionsFormat = OptionsFormat.format("--", short: "-")
     |                       |- warning: static property 'optionsFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'optionsFormat' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'optionsFormat' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 373 |   internal static var objectFormat = ObjectFormat.flatContainer(splitter: ",", keyValuePairsSplitter: "=")
 374 |
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:373:23: warning: static property 'objectFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 371 |
 372 |   internal static var optionsFormat = OptionsFormat.format("--", short: "-")
 373 |   internal static var objectFormat = ObjectFormat.flatContainer(splitter: ",", keyValuePairsSplitter: "=")
     |                       |- warning: static property 'objectFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'objectFormat' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'objectFormat' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 374 |
 375 |   internal private(set) var codingKeys: [String: Character] = [:]
[28/32] Compiling Commander OptionsDecoder.swift
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:82:10: warning: associated value 'unrecognizedArguments' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
  80 |     case decodingError(DecodingError)
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
     |          `- warning: associated value 'unrecognizedArguments' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
  84 |     case unresolvableArguments
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:83:10: warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
     |          `- warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decodable'; this is an error in the Swift 6 language mode
  84 |     case unresolvableArguments
  85 |     case unexpectedEndsOfOptions(markedArgs: [String])
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:83:10: warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
  81 |     case invalidKeyValuePairs(pairs: [String])
  82 |     case unrecognizedArguments([Any])
  83 |     case unrecognizedOptions([String], decoded: Decodable?, decoder: Decoder?, decodeError: Swift.Error?)
     |          `- warning: associated value 'unrecognizedOptions(_:decoded:decoder:decodeError:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Decoder'; this is an error in the Swift 6 language mode
  84 |     case unresolvableArguments
  85 |     case unexpectedEndsOfOptions(markedArgs: [String])
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:372:23: warning: static property 'optionsFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 370 | public final class OptionsDecoder {
 371 |
 372 |   internal static var optionsFormat = OptionsFormat.format("--", short: "-")
     |                       |- warning: static property 'optionsFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'optionsFormat' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'optionsFormat' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 373 |   internal static var objectFormat = ObjectFormat.flatContainer(splitter: ",", keyValuePairsSplitter: "=")
 374 |
/host/spi-builder-workspace/Sources/Commander/Options/OptionsDecoder.swift:373:23: warning: static property 'objectFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 371 |
 372 |   internal static var optionsFormat = OptionsFormat.format("--", short: "-")
 373 |   internal static var objectFormat = ObjectFormat.flatContainer(splitter: ",", keyValuePairsSplitter: "=")
     |                       |- warning: static property 'objectFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'objectFormat' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: add '@MainActor' to make static property 'objectFormat' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 374 |
 375 |   internal private(set) var codingKeys: [String: Character] = [:]
[29/33] Wrapping AST for Commander for debugging
[31/36] Compiling commander_sample main.swift
[32/36] Emitting module commander_sample
/host/spi-builder-workspace/Sources/commander-sample/SampleCommand.swift:73:21: warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |   }
72 |
73 |   public static var symbol: String = "set-args"
   |                     |- warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'symbol' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'symbol' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |   public static let usage: String = "Set arguments of the command with given arguments"
75 |
[33/36] Compiling commander_sample SampleCommand.swift
/host/spi-builder-workspace/Sources/commander-sample/SampleCommand.swift:73:21: warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |   }
72 |
73 |   public static var symbol: String = "set-args"
   |                     |- warning: static property 'symbol' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'symbol' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'symbol' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |   public static let usage: String = "Set arguments of the command with given arguments"
75 |
[34/37] Wrapping AST for commander-sample for debugging
[35/37] Write Objects.LinkFileList
[36/37] Linking commander-sample
Build complete! (9.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Commander",
  "name" : "Commander",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commander",
      "targets" : [
        "Commander"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "commander-sample",
      "targets" : [
        "commander-sample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "commander_sample",
      "module_type" : "SwiftTarget",
      "name" : "commander-sample",
      "path" : "Sources/commander-sample",
      "product_memberships" : [
        "commander-sample"
      ],
      "sources" : [
        "SampleCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Commander"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "UtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilityTests",
      "path" : "Tests/UtilityTests",
      "sources" : [
        "Bool+Tests.swift",
        "CommandLineTests.swift",
        "Optional+Tests.swift",
        "String+Tests.swift",
        "UtilityTests.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_memberships" : [
        "Commander",
        "commander-sample"
      ],
      "sources" : [
        "Bool+.swift",
        "Collection+.swift",
        "CommandLine.swift",
        "Optional+.swift",
        "String+.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommanderTests",
      "module_type" : "SwiftTarget",
      "name" : "CommanderTests",
      "path" : "Tests/CommanderTests",
      "sources" : [
        "CommandPathTests.swift",
        "CommandTests.swift",
        "CommanderTests.swift",
        "GlobalOptionsTests.swift",
        "OptionsDecoderTests.swift",
        "WrappedCommandTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Commander"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Commander",
      "module_type" : "SwiftTarget",
      "name" : "Commander",
      "path" : "Sources/Commander",
      "product_memberships" : [
        "Commander",
        "commander-sample"
      ],
      "sources" : [
        "Built-Ins/BuiltIn.swift",
        "Built-Ins/Commands/Complete.swift",
        "Built-Ins/Commands/Help.swift",
        "Commander.swift",
        "Commands/CommandDescriber.swift",
        "Commands/CommandPath.swift",
        "Commands/CommandRepresentable.swift",
        "Error.swift",
        "Options/DefaultOptions.swift",
        "Options/Option.swift",
        "Options/OptionDescription.swift",
        "Options/OptionsDecoder.swift",
        "Options/OptionsRepresentable.swift",
        "Shell.swift",
        "misc.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.