Build Information
Failed to build CLIKit, reference 0.3.7 (826cab
), with Swift 6.0 for Linux on 4 Nov 2024 04:00:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
11 | case parsedOption(CommandOptionSpecification)
12 | case parsedOptionValue(CommandOptionSpecification, String)
| `- note: 'parsedOptionValue' declared here
13 | case parsedInput(CommandInputSpecification, String)
14 | case failure(CommandLineError)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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):
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserStateMachine.swift:49:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
50 |
51 | /// Return state to transition to from the current state given an event.
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[38/65] Compiling CLIKit ParserEvent.swift
/host/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 |
/host/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 }
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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):
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserStateMachine.swift:49:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
50 |
51 | /// Return state to transition to from the current state given an event.
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[39/65] Compiling CLIKit ParserState.swift
/host/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 |
/host/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 }
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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):
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserStateMachine.swift:49:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
50 |
51 | /// Return state to transition to from the current state given an event.
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[40/65] Compiling CLIKit ParserStateMachine.swift
/host/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 |
/host/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 }
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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):
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserStateMachine.swift:49:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
50 |
51 | /// Return state to transition to from the current state given an event.
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[41/65] Compiling CLIKit Execution.swift
/host/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 |
/host/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 }
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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)):
/host/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)
/host/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):
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/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)):
/host/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)
/host/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(_), _):
/host/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)
/host/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 |
/host/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)
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserStateMachine.swift:49:38: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
50 |
51 | /// Return state to transition to from the current state given an event.
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[42/65] Compiling CLIKit URL+CommandArgumentValue.swift
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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 HelpFlag.swift
/host/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 {
[49/65] Compiling CLIKit Command.swift
/host/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 {
[50/65] Compiling CLIKit ReadEvaluatePrintLoop.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[51/65] Compiling CLIKit TerminalREPL.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[52/65] Compiling CLIKit TerminalREPLState.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[53/65] Compiling CLIKit StandardIO.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[54/65] Compiling CLIKit Terminal.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[55/65] Compiling CLIKit TerminalCode.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[56/65] Compiling CLIKit TerminalInputMode.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[57/65] Compiling CLIKit TerminalString.swift
/host/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)
/host/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()
/host/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()
/host/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.
/host/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?
/host/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 {
[58/65] Compiling CLIKit LineReader.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
[59/65] Compiling CLIKit WrapsFileHandle.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
[60/65] Compiling CLIKit Lock.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
[61/65] Compiling CLIKit Log.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
[62/65] Compiling CLIKit Regex.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
[63/65] Compiling CLIKit Sequence+Convenience.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
[64/65] Compiling CLIKit String+Utilities.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
[65/65] Compiling CLIKit Environment.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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) {
/host/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
BUILD FAILURE 6.0 linux