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 SwiftCLI, reference master (2e9490), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 21:36:07 UTC.

Swift 6 data race errors: 19

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jakeheis/SwiftCLI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jakeheis/SwiftCLI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2e94905 Merge pull request #104 from EricRabil/master
Cloned https://github.com/jakeheis/SwiftCLI.git
Revision (git rev-parse @):
2e949055d9797c1a6bddcda0e58dada16cc8e970
SUCCESS checkout https://github.com/jakeheis/SwiftCLI.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftcli",
      "name": "SwiftCLI",
      "url": "https://github.com/jakeheis/SwiftCLI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCLI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.20s)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at master (2e94905)
warning: '.resolve-product-dependencies': dependency 'swiftcli' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jakeheis/SwiftCLI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/23] Emitting module SwiftCLI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:178:23: warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
176 |
177 |     @available(*, unavailable, message: "Create a custom HelpMessageGenerator instead")
178 |     public static var helpCommand: Command? = nil
    |                       |- warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'helpCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'helpCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:181:23: warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
181 |     public static var versionCommand: Command? = nil
    |                       |- warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'versionCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'versionCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     @available(*, unavailable, message: "Create a new CLI object: let cli = CLI(..)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:44:16: warning: stored property 'partialPath' of 'Sendable'-conforming struct 'RouteError' has non-sendable type 'CommandGroupPath'; this is an error in the Swift 6 language mode
 42 |
 43 | public struct RouteError: Swift.Error {
 44 |     public let partialPath: CommandGroupPath
    |                `- warning: stored property 'partialPath' of 'Sendable'-conforming struct 'RouteError' has non-sendable type 'CommandGroupPath'; this is an error in the Swift 6 language mode
 45 |     public let notFound: String?
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:18:15: note: consider making struct 'CommandGroupPath' conform to the 'Sendable' protocol
 16 | }
 17 |
 18 | public struct CommandGroupPath: RoutablePath {
    |               `- note: consider making struct 'CommandGroupPath' conform to the 'Sendable' protocol
 19 |
 20 |     public let groups: [CommandGroup]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:91:16: warning: stored property 'command' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'CommandPath?'; this is an error in the Swift 6 language mode
 89 |     }
 90 |
 91 |     public let command: CommandPath?
    |                `- warning: stored property 'command' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'CommandPath?'; this is an error in the Swift 6 language mode
 92 |     public let kind: Kind
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:61:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 59 | }
 60 |
 61 | public struct CommandPath: RoutablePath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 62 |
 63 |     public let groupPath: CommandGroupPath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:92:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'OptionError.Kind'; this is an error in the Swift 6 language mode
 53 | public struct OptionError: Swift.Error {
 54 |
 55 |     public enum Kind {
    |                 `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
 56 |         case expectedValueAfterKey(String)
 57 |         case unrecognizedOption(String)
    :
 90 |
 91 |     public let command: CommandPath?
 92 |     public let kind: Kind
    |                `- warning: stored property 'kind' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'OptionError.Kind'; this is an error in the Swift 6 language mode
 93 |
 94 |     public init(command: CommandPath?, kind: Kind) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:124:16: warning: stored property 'command' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
122 |     }
123 |
124 |     public let command: CommandPath
    |                `- warning: stored property 'command' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
125 |     public let kind: Kind
126 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:61:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 59 | }
 60 |
 61 | public struct CommandPath: RoutablePath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 62 |
 63 |     public let groupPath: CommandGroupPath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:125:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'ParameterError.Kind'; this is an error in the Swift 6 language mode
100 | public struct ParameterError: Swift.Error {
101 |
102 |     public enum Kind {
    |                 `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
103 |         case wrongNumber(Int, Int?)
104 |         case invalidValue(NamedParameter, InvalidValueReason)
    :
123 |
124 |     public let command: CommandPath
125 |     public let kind: Kind
    |                `- warning: stored property 'kind' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'ParameterError.Kind'; this is an error in the Swift 6 language mode
126 |
127 |     public init(command: CommandPath, kind: Kind) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:64:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 62 |
 63 |     /// A stream which does nothing upon write
 64 |     public static let null: WritableStream = WriteStream.for(path: "/dev/null")!
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |     /// Create a stream which writes to the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:361:16: warning: stored property 'captured' of 'Sendable'-conforming struct 'CaptureError' has non-sendable type 'CaptureResult'; this is an error in the Swift 6 language mode
359 |
360 |     /// Data which was captured prior to the process failing
361 |     public let captured: CaptureResult
    |                `- warning: stored property 'captured' of 'Sendable'-conforming struct 'CaptureError' has non-sendable type 'CaptureResult'; this is an error in the Swift 6 language mode
362 |
363 |     public var message: String? {
    :
371 | }
372 |
373 | public struct CaptureResult {
    |               `- note: consider making struct 'CaptureResult' conform to the 'Sendable' protocol
374 |
375 |     /// The full stdout data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:407:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
405 |
406 | private class InterruptPasser {
407 |     private static var lock = NSLock()
    |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
408 |     private static var hasBeenSetup = false
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:408:24: warning: static property 'hasBeenSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
406 | private class InterruptPasser {
407 |     private static var lock = NSLock()
408 |     private static var hasBeenSetup = false
    |                        |- warning: static property 'hasBeenSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'hasBeenSetup' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'hasBeenSetup' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
410 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:409:24: warning: static property 'tasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
407 |     private static var lock = NSLock()
408 |     private static var hasBeenSetup = false
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
    |                        |- warning: static property 'tasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'tasks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'tasks' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
410 |
411 |     private static func setup() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:16:23: warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
   |                       |- warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdin' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var read: () -> String? = { readLine() }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:17:23: warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
   |                       |- warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'read' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | }
[4/25] Compiling SwiftCLI ValueBox.swift
[5/25] Compiling SwiftCLI VersionCommand.swift
[6/25] Compiling SwiftCLI Term.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:16:23: warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
   |                       |- warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdin' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var read: () -> String? = { readLine() }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:17:23: warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
   |                       |- warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'read' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | }
[7/25] Compiling SwiftCLI Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:16:23: warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
   |                       |- warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdin' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var read: () -> String? = { readLine() }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:17:23: warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
   |                       |- warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'read' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | }
[8/25] Compiling SwiftCLI Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:44:16: warning: stored property 'partialPath' of 'Sendable'-conforming struct 'RouteError' has non-sendable type 'CommandGroupPath'; this is an error in the Swift 6 language mode
 42 |
 43 | public struct RouteError: Swift.Error {
 44 |     public let partialPath: CommandGroupPath
    |                `- warning: stored property 'partialPath' of 'Sendable'-conforming struct 'RouteError' has non-sendable type 'CommandGroupPath'; this is an error in the Swift 6 language mode
 45 |     public let notFound: String?
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:18:15: note: consider making struct 'CommandGroupPath' conform to the 'Sendable' protocol
 16 | }
 17 |
 18 | public struct CommandGroupPath: RoutablePath {
    |               `- note: consider making struct 'CommandGroupPath' conform to the 'Sendable' protocol
 19 |
 20 |     public let groups: [CommandGroup]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:91:16: warning: stored property 'command' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'CommandPath?'; this is an error in the Swift 6 language mode
 89 |     }
 90 |
 91 |     public let command: CommandPath?
    |                `- warning: stored property 'command' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'CommandPath?'; this is an error in the Swift 6 language mode
 92 |     public let kind: Kind
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:61:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 59 | }
 60 |
 61 | public struct CommandPath: RoutablePath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 62 |
 63 |     public let groupPath: CommandGroupPath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:92:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'OptionError.Kind'; this is an error in the Swift 6 language mode
 53 | public struct OptionError: Swift.Error {
 54 |
 55 |     public enum Kind {
    |                 `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
 56 |         case expectedValueAfterKey(String)
 57 |         case unrecognizedOption(String)
    :
 90 |
 91 |     public let command: CommandPath?
 92 |     public let kind: Kind
    |                `- warning: stored property 'kind' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'OptionError.Kind'; this is an error in the Swift 6 language mode
 93 |
 94 |     public init(command: CommandPath?, kind: Kind) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:124:16: warning: stored property 'command' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
122 |     }
123 |
124 |     public let command: CommandPath
    |                `- warning: stored property 'command' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
125 |     public let kind: Kind
126 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:61:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 59 | }
 60 |
 61 | public struct CommandPath: RoutablePath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 62 |
 63 |     public let groupPath: CommandGroupPath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:125:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'ParameterError.Kind'; this is an error in the Swift 6 language mode
100 | public struct ParameterError: Swift.Error {
101 |
102 |     public enum Kind {
    |                 `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
103 |         case wrongNumber(Int, Int?)
104 |         case invalidValue(NamedParameter, InvalidValueReason)
    :
123 |
124 |     public let command: CommandPath
125 |     public let kind: Kind
    |                `- warning: stored property 'kind' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'ParameterError.Kind'; this is an error in the Swift 6 language mode
126 |
127 |     public init(command: CommandPath, kind: Kind) {
[9/25] Compiling SwiftCLI HelpCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:44:16: warning: stored property 'partialPath' of 'Sendable'-conforming struct 'RouteError' has non-sendable type 'CommandGroupPath'; this is an error in the Swift 6 language mode
 42 |
 43 | public struct RouteError: Swift.Error {
 44 |     public let partialPath: CommandGroupPath
    |                `- warning: stored property 'partialPath' of 'Sendable'-conforming struct 'RouteError' has non-sendable type 'CommandGroupPath'; this is an error in the Swift 6 language mode
 45 |     public let notFound: String?
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:18:15: note: consider making struct 'CommandGroupPath' conform to the 'Sendable' protocol
 16 | }
 17 |
 18 | public struct CommandGroupPath: RoutablePath {
    |               `- note: consider making struct 'CommandGroupPath' conform to the 'Sendable' protocol
 19 |
 20 |     public let groups: [CommandGroup]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:91:16: warning: stored property 'command' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'CommandPath?'; this is an error in the Swift 6 language mode
 89 |     }
 90 |
 91 |     public let command: CommandPath?
    |                `- warning: stored property 'command' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'CommandPath?'; this is an error in the Swift 6 language mode
 92 |     public let kind: Kind
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:61:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 59 | }
 60 |
 61 | public struct CommandPath: RoutablePath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 62 |
 63 |     public let groupPath: CommandGroupPath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:92:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'OptionError.Kind'; this is an error in the Swift 6 language mode
 53 | public struct OptionError: Swift.Error {
 54 |
 55 |     public enum Kind {
    |                 `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
 56 |         case expectedValueAfterKey(String)
 57 |         case unrecognizedOption(String)
    :
 90 |
 91 |     public let command: CommandPath?
 92 |     public let kind: Kind
    |                `- warning: stored property 'kind' of 'Sendable'-conforming struct 'OptionError' has non-sendable type 'OptionError.Kind'; this is an error in the Swift 6 language mode
 93 |
 94 |     public init(command: CommandPath?, kind: Kind) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:124:16: warning: stored property 'command' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
122 |     }
123 |
124 |     public let command: CommandPath
    |                `- warning: stored property 'command' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'CommandPath'; this is an error in the Swift 6 language mode
125 |     public let kind: Kind
126 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Path.swift:61:15: note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 59 | }
 60 |
 61 | public struct CommandPath: RoutablePath {
    |               `- note: consider making struct 'CommandPath' conform to the 'Sendable' protocol
 62 |
 63 |     public let groupPath: CommandGroupPath
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Error.swift:125:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'ParameterError.Kind'; this is an error in the Swift 6 language mode
100 | public struct ParameterError: Swift.Error {
101 |
102 |     public enum Kind {
    |                 `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
103 |         case wrongNumber(Int, Int?)
104 |         case invalidValue(NamedParameter, InvalidValueReason)
    :
123 |
124 |     public let command: CommandPath
125 |     public let kind: Kind
    |                `- warning: stored property 'kind' of 'Sendable'-conforming struct 'ParameterError' has non-sendable type 'ParameterError.Kind'; this is an error in the Swift 6 language mode
126 |
127 |     public init(command: CommandPath, kind: Kind) {
[10/25] Compiling SwiftCLI ArgumentList.swift
[11/25] Compiling SwiftCLI ArgumentListManipulator.swift
[12/25] Compiling SwiftCLI CLI.swift
[13/25] Compiling SwiftCLI Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:178:23: warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
176 |
177 |     @available(*, unavailable, message: "Create a custom HelpMessageGenerator instead")
178 |     public static var helpCommand: Command? = nil
    |                       |- warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'helpCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'helpCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:181:23: warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
181 |     public static var versionCommand: Command? = nil
    |                       |- warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'versionCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'versionCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     @available(*, unavailable, message: "Create a new CLI object: let cli = CLI(..)")
[14/25] Compiling SwiftCLI Compatibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:178:23: warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
176 |
177 |     @available(*, unavailable, message: "Create a custom HelpMessageGenerator instead")
178 |     public static var helpCommand: Command? = nil
    |                       |- warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'helpCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'helpCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:181:23: warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
181 |     public static var versionCommand: Command? = nil
    |                       |- warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'versionCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'versionCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     @available(*, unavailable, message: "Create a new CLI object: let cli = CLI(..)")
[15/25] Compiling SwiftCLI CompletionGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:178:23: warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
176 |
177 |     @available(*, unavailable, message: "Create a custom HelpMessageGenerator instead")
178 |     public static var helpCommand: Command? = nil
    |                       |- warning: static property 'helpCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'helpCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'helpCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Compatibility.swift:181:23: warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 |     @available(*, unavailable, message: "Create the CLI object with a nil version and register a custom version command")
181 |     public static var versionCommand: Command? = nil
    |                       |- warning: static property 'versionCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'versionCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'versionCommand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     @available(*, unavailable, message: "Create a new CLI object: let cli = CLI(..)")
[16/25] Compiling SwiftCLI HelpMessageGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:17:23: warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
   |                       |- warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'read' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
[17/25] Compiling SwiftCLI Input.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:17:23: warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
   |                       |- warning: static property 'read' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'read' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
[18/25] Compiling SwiftCLI Option.swift
[19/25] Compiling SwiftCLI OptionGroup.swift
[20/25] Compiling SwiftCLI Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:64:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 62 |
 63 |     /// A stream which does nothing upon write
 64 |     public static let null: WritableStream = WriteStream.for(path: "/dev/null")!
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |     /// Create a stream which writes to the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:431:30: warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |     }
364 |
365 |     public class FileHandleStream: ReadableStream {
    |                  `- note: class 'FileHandleStream' does not conform to the 'Sendable' protocol
366 |
367 |         public let readHandle: FileHandle
    :
429 |         let readStream = ReadStream.for(fileHandle: pipe.fileHandleForReading)
430 |         queue.async { [weak self] in
431 |             while let line = readStream.readLine() {
    |                              `- warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
432 |                 each(line)
433 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:432:17: warning: capture of 'each' with non-sendable type '(String) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
430 |         queue.async { [weak self] in
431 |             while let line = readStream.readLine() {
432 |                 each(line)
    |                 |- warning: capture of 'each' with non-sendable type '(String) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
433 |             }
434 |             self?.semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:434:13: warning: capture of 'self' with non-sendable type 'LineStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 |
412 | public class LineStream: ProcessingStream {
    |              `- note: class 'LineStream' does not conform to the 'Sendable' protocol
413 |
414 |     public let writeHandle: FileHandle
    :
432 |                 each(line)
433 |             }
434 |             self?.semaphore.signal()
    |             `- warning: capture of 'self' with non-sendable type 'LineStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
435 |         }
436 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:465:31: warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |     }
364 |
365 |     public class FileHandleStream: ReadableStream {
    |                  `- note: class 'FileHandleStream' does not conform to the 'Sendable' protocol
366 |
367 |         public let readHandle: FileHandle
    :
463 |         let readStream = ReadStream.for(fileHandle: pipe.fileHandleForReading)
464 |         queue.async { [weak self] in
465 |             while let chunk = readStream.readData() {
    |                               `- warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
466 |                 self?.content += chunk
467 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:466:17: warning: capture of 'self' with non-sendable type 'CaptureStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
444 | }
445 |
446 | public class CaptureStream: ProcessingStream {
    |              `- note: class 'CaptureStream' does not conform to the 'Sendable' protocol
447 |
448 |     public let processObject: Any
    :
464 |         queue.async { [weak self] in
465 |             while let chunk = readStream.readData() {
466 |                 self?.content += chunk
    |                 `- warning: capture of 'self' with non-sendable type 'CaptureStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 |             }
468 |             self?.semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:515:30: warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |     }
364 |
365 |     public class FileHandleStream: ReadableStream {
    |                  `- note: class 'FileHandleStream' does not conform to the 'Sendable' protocol
366 |
367 |         public let readHandle: FileHandle
    :
513 |         let readStream = ReadStream.for(fileHandle: pipe.fileHandleForReading)
514 |         queue.async { [weak self] in
515 |             while let data = readStream.readData() {
    |                              `- warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
516 |                 self?.streams.forEach { $0.writeData(data) }
517 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:516:17: warning: capture of 'self' with non-sendable type 'SplitStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
495 | }
496 |
497 | public class SplitStream: ProcessingStream {
    |              `- note: class 'SplitStream' does not conform to the 'Sendable' protocol
498 |
499 |     public let writeHandle: FileHandle
    :
514 |         queue.async { [weak self] in
515 |             while let data = readStream.readData() {
516 |                 self?.streams.forEach { $0.writeData(data) }
    |                 `- warning: capture of 'self' with non-sendable type 'SplitStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
517 |             }
518 |             self?.streams.filter { $0 !== WriteStream.stdout && $0 !== WriteStream.stderr }.forEach {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:361:16: warning: stored property 'captured' of 'Sendable'-conforming struct 'CaptureError' has non-sendable type 'CaptureResult'; this is an error in the Swift 6 language mode
359 |
360 |     /// Data which was captured prior to the process failing
361 |     public let captured: CaptureResult
    |                `- warning: stored property 'captured' of 'Sendable'-conforming struct 'CaptureError' has non-sendable type 'CaptureResult'; this is an error in the Swift 6 language mode
362 |
363 |     public var message: String? {
    :
371 | }
372 |
373 | public struct CaptureResult {
    |               `- note: consider making struct 'CaptureResult' conform to the 'Sendable' protocol
374 |
375 |     /// The full stdout data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:407:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
405 |
406 | private class InterruptPasser {
407 |     private static var lock = NSLock()
    |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
408 |     private static var hasBeenSetup = false
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:408:24: warning: static property 'hasBeenSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
406 | private class InterruptPasser {
407 |     private static var lock = NSLock()
408 |     private static var hasBeenSetup = false
    |                        |- warning: static property 'hasBeenSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'hasBeenSetup' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'hasBeenSetup' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
410 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:409:24: warning: static property 'tasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
407 |     private static var lock = NSLock()
408 |     private static var hasBeenSetup = false
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
    |                        |- warning: static property 'tasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'tasks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'tasks' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
410 |
411 |     private static func setup() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:169:34: warning: capture of 'self' with non-sendable type 'Task?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | // MARK: -
 13 |
 14 | public class Task {
    |              `- note: class 'Task' does not conform to the 'Sendable' protocol
 15 |
 16 |     private let process: Process
    :
167 |
168 |         self.process.terminationHandler = { [weak self] (process) in
169 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'Task?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 |             if weakSelf.forwardInterrupt {
171 |                 InterruptPasser.remove(weakSelf)
[21/25] Compiling SwiftCLI Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:58:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 56 |
 57 |     /// A stream which writes to the current process's standard output
 58 |     public static let stdout: WritableStream = WriteStream.for(fileHandle: .standardOutput)
    |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     /// A stream which writes to the current process's standard error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:61:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 59 |
 60 |     /// A stream which writes to the current process's standard error
 61 |     public static let stderr: WritableStream = WriteStream.for(fileHandle: .standardError)
    |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |
 63 |     /// A stream which does nothing upon write
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:64:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | // MARK: - WritableStream
 12 |
 13 | public protocol WritableStream: AnyObject {
    |                 `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
 14 |     var writeHandle: FileHandle { get }
 15 |     var processObject: Any { get }
    :
 62 |
 63 |     /// A stream which does nothing upon write
 64 |     public static let null: WritableStream = WriteStream.for(path: "/dev/null")!
    |                       |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |     /// Create a stream which writes to the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:296:23: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // MARK: - Readable
186 |
187 | public protocol ReadableStream: AnyObject {
    |                 `- note: protocol 'ReadableStream' does not conform to the 'Sendable' protocol
188 |     var readHandle: FileHandle { get }
189 |     var processObject: Any { get }
    :
294 |     /// A stream which reads from the current process's standard input
295 |     /// - Warning: do not call readLine on this stream and also call Swift.readLine() or Input.readLine()
296 |     public static let stdin: ReadableStream = FileHandleStream(readHandle: .standardInput)
    |                       |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'any ReadableStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'stdin' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 |     /// Create a new FileStream for the given path
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:431:30: warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |     }
364 |
365 |     public class FileHandleStream: ReadableStream {
    |                  `- note: class 'FileHandleStream' does not conform to the 'Sendable' protocol
366 |
367 |         public let readHandle: FileHandle
    :
429 |         let readStream = ReadStream.for(fileHandle: pipe.fileHandleForReading)
430 |         queue.async { [weak self] in
431 |             while let line = readStream.readLine() {
    |                              `- warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
432 |                 each(line)
433 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:432:17: warning: capture of 'each' with non-sendable type '(String) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
430 |         queue.async { [weak self] in
431 |             while let line = readStream.readLine() {
432 |                 each(line)
    |                 |- warning: capture of 'each' with non-sendable type '(String) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
433 |             }
434 |             self?.semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:434:13: warning: capture of 'self' with non-sendable type 'LineStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 |
412 | public class LineStream: ProcessingStream {
    |              `- note: class 'LineStream' does not conform to the 'Sendable' protocol
413 |
414 |     public let writeHandle: FileHandle
    :
432 |                 each(line)
433 |             }
434 |             self?.semaphore.signal()
    |             `- warning: capture of 'self' with non-sendable type 'LineStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
435 |         }
436 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:465:31: warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |     }
364 |
365 |     public class FileHandleStream: ReadableStream {
    |                  `- note: class 'FileHandleStream' does not conform to the 'Sendable' protocol
366 |
367 |         public let readHandle: FileHandle
    :
463 |         let readStream = ReadStream.for(fileHandle: pipe.fileHandleForReading)
464 |         queue.async { [weak self] in
465 |             while let chunk = readStream.readData() {
    |                               `- warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
466 |                 self?.content += chunk
467 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:466:17: warning: capture of 'self' with non-sendable type 'CaptureStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
444 | }
445 |
446 | public class CaptureStream: ProcessingStream {
    |              `- note: class 'CaptureStream' does not conform to the 'Sendable' protocol
447 |
448 |     public let processObject: Any
    :
464 |         queue.async { [weak self] in
465 |             while let chunk = readStream.readData() {
466 |                 self?.content += chunk
    |                 `- warning: capture of 'self' with non-sendable type 'CaptureStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 |             }
468 |             self?.semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:515:30: warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |     }
364 |
365 |     public class FileHandleStream: ReadableStream {
    |                  `- note: class 'FileHandleStream' does not conform to the 'Sendable' protocol
366 |
367 |         public let readHandle: FileHandle
    :
513 |         let readStream = ReadStream.for(fileHandle: pipe.fileHandleForReading)
514 |         queue.async { [weak self] in
515 |             while let data = readStream.readData() {
    |                              `- warning: capture of 'readStream' with non-sendable type 'ReadStream.FileHandleStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
516 |                 self?.streams.forEach { $0.writeData(data) }
517 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Stream.swift:516:17: warning: capture of 'self' with non-sendable type 'SplitStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
495 | }
496 |
497 | public class SplitStream: ProcessingStream {
    |              `- note: class 'SplitStream' does not conform to the 'Sendable' protocol
498 |
499 |     public let writeHandle: FileHandle
    :
514 |         queue.async { [weak self] in
515 |             while let data = readStream.readData() {
516 |                 self?.streams.forEach { $0.writeData(data) }
    |                 `- warning: capture of 'self' with non-sendable type 'SplitStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
517 |             }
518 |             self?.streams.filter { $0 !== WriteStream.stdout && $0 !== WriteStream.stderr }.forEach {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
   |                       |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var stderr: WritableStream = WriteStream.stderr
16 |     public static var stdin: ReadableStream = ReadStream.stdin
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     public static var stdout: WritableStream = WriteStream.stdout
15 |     public static var stderr: WritableStream = WriteStream.stderr
   |                       |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var stdin: ReadableStream = ReadStream.stdin
17 |     public static var read: () -> String? = { readLine() }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:361:16: warning: stored property 'captured' of 'Sendable'-conforming struct 'CaptureError' has non-sendable type 'CaptureResult'; this is an error in the Swift 6 language mode
359 |
360 |     /// Data which was captured prior to the process failing
361 |     public let captured: CaptureResult
    |                `- warning: stored property 'captured' of 'Sendable'-conforming struct 'CaptureError' has non-sendable type 'CaptureResult'; this is an error in the Swift 6 language mode
362 |
363 |     public var message: String? {
    :
371 | }
372 |
373 | public struct CaptureResult {
    |               `- note: consider making struct 'CaptureResult' conform to the 'Sendable' protocol
374 |
375 |     /// The full stdout data
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:407:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
405 |
406 | private class InterruptPasser {
407 |     private static var lock = NSLock()
    |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
408 |     private static var hasBeenSetup = false
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:408:24: warning: static property 'hasBeenSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
406 | private class InterruptPasser {
407 |     private static var lock = NSLock()
408 |     private static var hasBeenSetup = false
    |                        |- warning: static property 'hasBeenSetup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'hasBeenSetup' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'hasBeenSetup' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
410 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:409:24: warning: static property 'tasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
407 |     private static var lock = NSLock()
408 |     private static var hasBeenSetup = false
409 |     private static var tasks: [ObjectIdentifier: Task] = [:]
    |                        |- warning: static property 'tasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'tasks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'tasks' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
410 |
411 |     private static func setup() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCLI/Task.swift:169:34: warning: capture of 'self' with non-sendable type 'Task?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | // MARK: -
 13 |
 14 | public class Task {
    |              `- note: class 'Task' does not conform to the 'Sendable' protocol
 15 |
 16 |     private let process: Process
    :
167 |
168 |         self.process.terminationHandler = { [weak self] (process) in
169 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'Task?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 |             if weakSelf.forwardInterrupt {
171 |                 InterruptPasser.remove(weakSelf)
[22/25] Compiling SwiftCLI Parser.swift
[23/25] Compiling SwiftCLI Path.swift
[24/25] Compiling SwiftCLI OptionRegistry.swift
[25/25] Compiling SwiftCLI Parameter.swift
Build complete! (13.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCLI",
  "name" : "SwiftCLI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftCLI",
      "targets" : [
        "SwiftCLI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCLITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCLITests",
      "path" : "Tests/SwiftCLITests",
      "sources" : [
        "ArgumentListTests.swift",
        "CompletionGeneratorTests.swift",
        "Fixtures.swift",
        "HelpMessageGeneratorTests.swift",
        "InputTests.swift",
        "OptionRegistryTests.swift",
        "ParameterFillerTests.swift",
        "ParserTests.swift",
        "RouterTests.swift",
        "StreamTests.swift",
        "SwiftCLITests.swift",
        "TaskTests.swift",
        "ValidationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCLI",
      "path" : "Sources/SwiftCLI",
      "product_memberships" : [
        "SwiftCLI"
      ],
      "sources" : [
        "ArgumentList.swift",
        "ArgumentListManipulator.swift",
        "CLI.swift",
        "Command.swift",
        "Compatibility.swift",
        "CompletionGenerator.swift",
        "Error.swift",
        "HelpCommand.swift",
        "HelpMessageGenerator.swift",
        "Input.swift",
        "Option.swift",
        "OptionGroup.swift",
        "OptionRegistry.swift",
        "Parameter.swift",
        "Parser.swift",
        "Path.swift",
        "Stream.swift",
        "Task.swift",
        "Term.swift",
        "Validation.swift",
        "ValueBox.swift",
        "VersionCommand.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.