Build Information
Failed to build CLIKit, reference master (826cab
), with Swift 6.1 for Linux on 28 Apr 2025 05:50:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[55/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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[56/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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[57/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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[58/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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[59/65] Compiling CLIKit Subprocess.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[60/65] Compiling CLIKit SubprocessError.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[61/65] Compiling CLIKit SubprocessResult.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[62/65] Compiling CLIKit Character+Inspection.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[63/65] Compiling CLIKit SimpleWordCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[64/65] Compiling CLIKit String+Words.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[65/65] Compiling CLIKit TextCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/57] Compiling CLIKit StandardEnvironmentVariable.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[3/57] Compiling CLIKit CStrings.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[4/57] Compiling CLIKit SubprocessAttributes.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[5/57] Compiling CLIKit SubprocessCaptureOutputThread.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[6/57] Compiling CLIKit SubprocessIO.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[7/57] Compiling CLIKit SubprocessPipe.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[8/57] Compiling CLIKit SubprocessStateMachine.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/64] Emitting module CLIKit
/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 {
/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/Subprocess/Internal/SubprocessCaptureOutputThread.swift:13:13: error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
11 | #endif
12 |
13 | final class SubprocessCaptureThread: Thread {
| `- error: cannot inherit from class 'Thread' (compiled with Swift 6.1) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
[10/64] Compiling CLIKit Array+CommandArgumentValue.swift
[11/64] Compiling CLIKit Dictionary+CommandArgumentValue.swift
[12/64] Compiling CLIKit Double+CommandArgumentValue.swift
[13/64] Compiling CLIKit Float+CommandArgumentValue.swift
[14/64] Compiling CLIKit Int+CommandArgumentValue.swift
[15/64] Compiling CLIKit Set+CommandArgumentValue.swift
[16/64] Compiling CLIKit String+CommandArgumentValue.swift
[17/64] Compiling CLIKit UInt+CommandArgumentValue.swift
[18/64] Compiling CLIKit Subprocess.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[19/64] Compiling CLIKit SubprocessError.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[20/64] Compiling CLIKit SubprocessResult.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[21/64] Compiling CLIKit Character+Inspection.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[22/64] Compiling CLIKit SimpleWordCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[23/64] Compiling CLIKit String+Words.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[24/64] Compiling CLIKit TextCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[25/64] 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 {
[26/64] 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 {
[27/64] 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 {
[28/64] 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 {
[29/64] 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 {
[30/64] 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 {
[31/64] 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 {
[32/64] 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 {
[33/64] Compiling CLIKit ExecutionMode.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[34/64] Compiling CLIKit ExecutableFinder.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[35/64] Compiling CLIKit Path+FileManagement.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[36/64] Compiling CLIKit Path.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[37/64] Compiling CLIKit Console.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[38/64] Compiling CLIKit IO.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[39/64] Compiling CLIKit BasicREPL.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[40/64] Compiling CLIKit CommandLineHistory.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/Path+FileManagement.swift:144:21: warning: result of call to 'changeCurrentDirectoryPath' is unused
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
145 | }
146 |
[41/64] Compiling CLIKit LineReader.swift
[42/64] Compiling CLIKit WrapsFileHandle.swift
[43/64] Compiling CLIKit Lock.swift
[44/64] Compiling CLIKit Log.swift
[45/64] Compiling CLIKit Regex.swift
[46/64] Compiling CLIKit Sequence+Convenience.swift
[47/64] Compiling CLIKit String+Utilities.swift
[48/64] Compiling CLIKit Environment.swift
[49/64] Compiling CLIKit CommandLineError.swift
/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.
[50/64] Compiling CLIKit CommandLineParser.swift
/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.
[51/64] Compiling CLIKit CommandUsage.swift
/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.
[52/64] Compiling CLIKit ParserContext.swift
/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.
[53/64] Compiling CLIKit ParserEvent.swift
/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.
[54/64] Compiling CLIKit ParserState.swift
/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.
[55/64] Compiling CLIKit ParserStateMachine.swift
/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.
[56/64] Compiling CLIKit Execution.swift
/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.
[57/64] Compiling CLIKit ReadEvaluatePrintLoop.swift
[58/64] Compiling CLIKit TerminalREPL.swift
[59/64] Compiling CLIKit TerminalREPLState.swift
[60/64] Compiling CLIKit StandardIO.swift
[61/64] Compiling CLIKit Terminal.swift
[62/64] Compiling CLIKit TerminalCode.swift
[63/64] Compiling CLIKit TerminalInputMode.swift
[64/64] Compiling CLIKit TerminalString.swift
BUILD FAILURE 6.1 linux