Build Information
Successful build of CLIKit, reference 0.3.7 (826cab
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 04:05:29 UTC.
Swift 6 data race errors: 22
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
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: 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
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- 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
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' 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 | public static func find(_ name: String) -> Path? {
[29/65] Compiling CLIKit SubprocessAttributes.swift
[30/65] Compiling CLIKit SubprocessCaptureOutputThread.swift
[31/65] Compiling CLIKit SubprocessIO.swift
[32/65] Compiling CLIKit SubprocessPipe.swift
[33/65] Compiling CLIKit SubprocessStateMachine.swift
[34/65] Compiling CLIKit Subprocess.swift
[35/65] Compiling CLIKit ReadEvaluatePrintLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' 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
63 | didSet {
64 | windowSizeSource?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' 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
77 |
78 | /// The current size of the terminal window.
[36/65] Compiling CLIKit TerminalREPL.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' 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
63 | didSet {
64 | windowSizeSource?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' 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
77 |
78 | /// The current size of the terminal window.
[37/65] Compiling CLIKit TerminalREPLState.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' 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
63 | didSet {
64 | windowSizeSource?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' 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
77 |
78 | /// The current size of the terminal window.
[38/65] Compiling CLIKit StandardIO.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' 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
63 | didSet {
64 | windowSizeSource?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' 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
77 |
78 | /// The current size of the terminal window.
[39/65] Compiling CLIKit Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' 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
63 | didSet {
64 | windowSizeSource?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' 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
77 |
78 | /// The current size of the terminal window.
[40/65] Compiling CLIKit TerminalCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' 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
63 | didSet {
64 | windowSizeSource?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' 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
77 |
78 | /// The current size of the terminal window.
[41/65] Compiling CLIKit UInt+CommandArgumentValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[42/65] Compiling CLIKit URL+CommandArgumentValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[43/65] Compiling CLIKit CommandArgumentSpecification.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[44/65] Compiling CLIKit CommandArgumentValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[45/65] Compiling CLIKit CommandFlag.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[46/65] Compiling CLIKit CommandInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[47/65] Compiling CLIKit CommandOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[48/65] Compiling CLIKit Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[49/65] Compiling CLIKit Sequence+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[50/65] Compiling CLIKit String+Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[51/65] Compiling CLIKit Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[52/65] Compiling CLIKit StandardEnvironmentVariable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[53/65] Compiling CLIKit CStrings.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[54/65] Compiling CLIKit HelpFlag.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:402:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
400 | return .failure(.missingOptionValue(option.name ?? "N/A"))
401 |
402 | case (.parsedOptionValue(_), .noMoreArguments):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:404:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
402 | case (.parsedOptionValue(_), .noMoreArguments):
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:406:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:408:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:410:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:412:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:414:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:417:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
417 | case (.parsedInput(_), .noMoreArguments):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:419:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
417 | case (.parsedInput(_), .noMoreArguments):
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:421:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
422 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
423 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
[55/65] Compiling CLIKit Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:402:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
400 | return .failure(.missingOptionValue(option.name ?? "N/A"))
401 |
402 | case (.parsedOptionValue(_), .noMoreArguments):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:404:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
402 | case (.parsedOptionValue(_), .noMoreArguments):
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:406:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:408:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:410:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:412:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:414:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:417:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
417 | case (.parsedInput(_), .noMoreArguments):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:419:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
417 | case (.parsedInput(_), .noMoreArguments):
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:421:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
422 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
423 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
[56/65] Compiling CLIKit CommandLineError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:402:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
400 | return .failure(.missingOptionValue(option.name ?? "N/A"))
401 |
402 | case (.parsedOptionValue(_), .noMoreArguments):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:404:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
402 | case (.parsedOptionValue(_), .noMoreArguments):
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:406:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:408:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:410:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:412:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:414:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:417:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
417 | case (.parsedInput(_), .noMoreArguments):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:419:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
417 | case (.parsedInput(_), .noMoreArguments):
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:421:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
422 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
423 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
[57/65] Compiling CLIKit CommandLineParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:402:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
400 | return .failure(.missingOptionValue(option.name ?? "N/A"))
401 |
402 | case (.parsedOptionValue(_), .noMoreArguments):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:404:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
402 | case (.parsedOptionValue(_), .noMoreArguments):
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:406:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:408:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:410:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:412:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:414:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:417:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
417 | case (.parsedInput(_), .noMoreArguments):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:419:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
417 | case (.parsedInput(_), .noMoreArguments):
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:421:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
422 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
423 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
[58/65] Compiling CLIKit CommandUsage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:402:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
400 | return .failure(.missingOptionValue(option.name ?? "N/A"))
401 |
402 | case (.parsedOptionValue(_), .noMoreArguments):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:404:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
402 | case (.parsedOptionValue(_), .noMoreArguments):
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:406:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:408:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:410:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:412:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:414:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:417:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
417 | case (.parsedInput(_), .noMoreArguments):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:419:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
417 | case (.parsedInput(_), .noMoreArguments):
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:421:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
422 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
423 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
[59/65] Compiling CLIKit ParserContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:402:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
400 | return .failure(.missingOptionValue(option.name ?? "N/A"))
401 |
402 | case (.parsedOptionValue(_), .noMoreArguments):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:404:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
402 | case (.parsedOptionValue(_), .noMoreArguments):
403 | return evaluateExitState(context)
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:406:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
404 | case (.parsedOptionValue(_), .scannedFlag(let flag)):
405 | return .parsedFlag(flag)
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:408:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
406 | case (.parsedOptionValue(_), .scannedOption(let option)):
407 | return .parsedOption(option)
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:410:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
408 | case (.parsedOptionValue(_), .scannedInput(let input, let value)):
409 | return .parsedInput(input, value)
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:412:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
410 | case (.parsedOptionValue(_), .scannedInvalidFlagOrOption):
411 | return .failure(argument.map { .invalidFlagOrOption($0) } ?? .unexpectedError)
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:414:34: warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
412 | case (.parsedOptionValue(_), .scannedHelpFlag(let subcommand)):
413 | return .failure(.usageRequested(command: subcommand))
414 | case (.parsedOptionValue(_), _):
| `- warning: enum case 'parsedOptionValue' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:12:10: note: 'parsedOptionValue' declared here
10 | case parsedFlag(CommandFlagSpecification)
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:417:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
415 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
416 |
417 | case (.parsedInput(_), .noMoreArguments):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:419:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
417 | case (.parsedInput(_), .noMoreArguments):
418 | return evaluateExitState(context)
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:421:28: warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
419 | case (.parsedInput(_), .scannedInput(let input, let value)):
420 | return .parsedInput(input, value)
421 | case (.parsedInput(_), _):
| `- warning: enum case 'parsedInput' has 2 associated values; matching them as a tuple is deprecated
422 | return .failure(argument.map { .unexpectedArgument($0) } ?? .unexpectedError)
423 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserState.swift:13:10: note: 'parsedInput' declared here
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
13 | case parsedInput(CommandInputSpecification, String)
| `- note: 'parsedInput' declared here
14 | case failure(CommandLineError)
15 | case success(ParserContext)
[60/65] Compiling CLIKit TerminalInputMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' 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
23 |
24 | private static var normalAttributes: termios?
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' 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
25 |
26 | private static var isStdinTerminal: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' 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 let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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 let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' 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 let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' 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 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' 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
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' 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
23 |
24 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' 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
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[61/65] Compiling CLIKit TerminalString.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' 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
23 |
24 | private static var normalAttributes: termios?
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' 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
25 |
26 | private static var isStdinTerminal: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' 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 let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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 let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' 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 let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' 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 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' 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
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' 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
23 |
24 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' 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
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[62/65] Compiling CLIKit LineReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' 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
23 |
24 | private static var normalAttributes: termios?
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' 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
25 |
26 | private static var isStdinTerminal: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' 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 let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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 let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' 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 let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' 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 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' 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
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' 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
23 |
24 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' 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
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[63/65] Compiling CLIKit WrapsFileHandle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' 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
23 |
24 | private static var normalAttributes: termios?
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' 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
25 |
26 | private static var isStdinTerminal: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' 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 let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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 let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' 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 let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' 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 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' 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
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' 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
23 |
24 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' 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
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[64/65] Compiling CLIKit Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' 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
23 |
24 | private static var normalAttributes: termios?
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' 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
25 |
26 | private static var isStdinTerminal: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' 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 let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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 let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' 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 let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' 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 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' 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
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' 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
23 |
24 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' 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
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
[65/65] Compiling CLIKit Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' 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
23 |
24 | private static var normalAttributes: termios?
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' 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
25 |
26 | private static var isStdinTerminal: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' 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 let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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 let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' 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 let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' 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 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' 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
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' 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
23 |
24 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' 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
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
/Users/admin/builder/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:38:12: warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// User of library can plug in their own OSLog object for the log here.
37 | /// It will be used for subsequent logging.
38 | public var moduleLog: OSLog? = {
| |- warning: var 'moduleLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'moduleLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'moduleLog' 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
39 | if #available(iOS 10, macOS 10.12, *) {
40 | return OSLog(subsystem: "se.apparata.foundation", category: "default")
Build complete! (17.25s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CLIKit",
"name" : "CLIKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "CLIKit",
"targets" : [
"CLIKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CLIKitTests",
"module_type" : "SwiftTarget",
"name" : "CLIKitTests",
"path" : "Tests/CLIKitTests",
"sources" : [
"CLIKitTests.swift",
"Helpers/BotCommand.swift",
"Helpers/MainframeCommand.swift",
"Helpers/MathCommand.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CLIKit"
],
"type" : "test"
},
{
"c99name" : "CLIKit",
"module_type" : "SwiftTarget",
"name" : "CLIKit",
"path" : "Sources/CLIKit",
"product_memberships" : [
"CLIKit"
],
"sources" : [
"Command Line/Arguments/Argument Value Types/Array+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/Dictionary+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/Double+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/Float+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/Int+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/Set+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/String+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/UInt+CommandArgumentValue.swift",
"Command Line/Arguments/Argument Value Types/URL+CommandArgumentValue.swift",
"Command Line/Arguments/CommandArgumentSpecification.swift",
"Command Line/Arguments/CommandArgumentValue.swift",
"Command Line/Arguments/CommandFlag.swift",
"Command Line/Arguments/CommandInput.swift",
"Command Line/Arguments/CommandOption.swift",
"Command Line/Arguments/HelpFlag.swift",
"Command Line/Command.swift",
"Command Line/CommandLineError.swift",
"Command Line/CommandLineParser.swift",
"Command Line/CommandUsage.swift",
"Command Line/Parser State Machine/ParserContext.swift",
"Command Line/Parser State Machine/ParserEvent.swift",
"Command Line/Parser State Machine/ParserState.swift",
"Command Line/Parser State Machine/ParserStateMachine.swift",
"Execution/Execution.swift",
"Execution/ExecutionMode.swift",
"File Management/ExecutableFinder.swift",
"File Management/Path+FileManagement.swift",
"File Management/Path.swift",
"IO/Console.swift",
"IO/IO.swift",
"IO/REPL/Basic REPL/BasicREPL.swift",
"IO/REPL/CommandLineHistory.swift",
"IO/REPL/ReadEvaluatePrintLoop.swift",
"IO/REPL/Terminal REPL/TerminalREPL.swift",
"IO/REPL/Terminal REPL/TerminalREPLState.swift",
"IO/StandardIO.swift",
"IO/Terminal/Terminal.swift",
"IO/Terminal/TerminalCode.swift",
"IO/Terminal/TerminalInputMode.swift",
"IO/Terminal/TerminalString.swift",
"IO/Utilities/LineReader.swift",
"IO/WrapsFileHandle.swift",
"Internal/Lock.swift",
"Internal/Log.swift",
"Internal/Regex.swift",
"Internal/Sequence+Convenience.swift",
"Internal/String+Utilities.swift",
"Process/Environment.swift",
"Process/StandardEnvironmentVariable.swift",
"Subprocess/Internal/CStrings.swift",
"Subprocess/Internal/SubprocessAttributes.swift",
"Subprocess/Internal/SubprocessCaptureOutputThread.swift",
"Subprocess/Internal/SubprocessIO.swift",
"Subprocess/Internal/SubprocessPipe.swift",
"Subprocess/Internal/SubprocessStateMachine.swift",
"Subprocess/Subprocess.swift",
"Subprocess/SubprocessError.swift",
"Subprocess/SubprocessResult.swift",
"Utilities/Character+Inspection.swift",
"Utilities/SimpleWordCompletion.swift",
"Utilities/String+Words.swift",
"Utilities/TextCompletion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.