Build Information
Failed to build CLIKit, reference 0.3.7 (826cab
), with Swift 6.2 (beta) for Linux on 21 Jun 2025 00:06:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/CLIKit.git
Reference: 0.3.7
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/nerdsupremacist/CLIKit
* tag 0.3.7 -> FETCH_HEAD
HEAD is now at 826cabc Fixing compiler type check timeout error
Cloned https://github.com/nerdsupremacist/CLIKit.git
Revision (git rev-parse @):
826cabcebb429772d8dac84d562fca94b701bc46
SUCCESS checkout https://github.com/nerdsupremacist/CLIKit.git at 0.3.7
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/nerdsupremacist/CLIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/58] 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.2) 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.2) 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/58] 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.2) 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.2) 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/58] 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.2) 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.2) 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/58] 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.2) 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.2) 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/58] 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.2) 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.2) 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/58] 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.2) 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.2) 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 {
[9/58] 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.2) 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.2) 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)
[10/65] 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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
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.2) 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.2) because it has overridable members that could not be loaded in Swift 5.10
14 |
15 | private let bufferChunkSize = 4096
[11/65] Compiling CLIKit URL+CommandArgumentValue.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[12/65] Compiling CLIKit CommandArgumentSpecification.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[13/65] Compiling CLIKit CommandArgumentValue.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[14/65] Compiling CLIKit CommandFlag.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[15/65] Compiling CLIKit CommandInput.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[16/65] Compiling CLIKit CommandOption.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[17/65] Compiling CLIKit HelpFlag.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[18/65] Compiling CLIKit Command.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[19/65] Compiling CLIKit Array+CommandArgumentValue.swift
[20/65] Compiling CLIKit Dictionary+CommandArgumentValue.swift
[21/65] Compiling CLIKit Double+CommandArgumentValue.swift
[22/65] Compiling CLIKit Float+CommandArgumentValue.swift
[23/65] Compiling CLIKit Int+CommandArgumentValue.swift
[24/65] Compiling CLIKit Set+CommandArgumentValue.swift
[25/65] Compiling CLIKit String+CommandArgumentValue.swift
[26/65] Compiling CLIKit UInt+CommandArgumentValue.swift
[27/65] Compiling CLIKit LineReader.swift
[28/65] Compiling CLIKit WrapsFileHandle.swift
[29/65] Compiling CLIKit Lock.swift
[30/65] Compiling CLIKit Log.swift
[31/65] Compiling CLIKit Regex.swift
[32/65] Compiling CLIKit Sequence+Convenience.swift
[33/65] Compiling CLIKit String+Utilities.swift
[34/65] Compiling CLIKit Environment.swift
[35/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[36/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[37/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[38/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[39/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[40/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[41/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[42/65] 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 [#no-usage]
142 |
143 | func becomeCurrentDirectory() {
144 | fileManager.changeCurrentDirectoryPath(internalPath)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
145 | }
146 |
[43/65] Compiling CLIKit ReadEvaluatePrintLoop.swift
[44/65] Compiling CLIKit TerminalREPL.swift
[45/65] Compiling CLIKit TerminalREPLState.swift
[46/65] Compiling CLIKit StandardIO.swift
[47/65] Compiling CLIKit Terminal.swift
[48/65] Compiling CLIKit TerminalCode.swift
[49/65] Compiling CLIKit TerminalInputMode.swift
[50/65] Compiling CLIKit TerminalString.swift
[51/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[52/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[53/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[54/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[55/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[56/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[57/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[58/65] 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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
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 [#deprecation]
47 | }
48 |
49 | protocol ParserStateMachineDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 |
51 | /// Return state to transition to from the current state given an event.
[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,
BUILD FAILURE 6.2 linux