Build Information
Failed to build Playwright, reference v0.1.0 (05e121), with Swift 6.2 for Wasm on 22 Mar 2026 06:11:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-playwright.git
Reference: v0.1.0
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/m1guelpf/swift-playwright
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 05e1213 Update README
Cloned https://github.com/m1guelpf/swift-playwright.git
Revision (git rev-parse @):
05e12135b164277ec4984dacd1474ea578c876f0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-playwright.git at v0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/m1guelpf/swift-playwright.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser
[1/17387] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.05s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.55s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin PlaywrightDriverPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/23] Write sources
[11/23] Copying drivers
[12/23] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/29] Emitting module ArgumentParserToolInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:15: error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
21 | public var serializationVersion: Int
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
22 |
23 | public init(serializationVersion: Int) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:31: error: 'Decodable' is unavailable: unavailable in embedded Swift
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
| `- note: 'Decodable' has been explicitly marked unavailable here
3 | init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:27: error: 'Codable' is unavailable: unavailable in embedded Swift
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
89 | }
90 |
91 | public init(from decoder: any Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
92 | let container = try decoder.container(keyedBy: CodingKeys.self)
93 | self.superCommands = try container.decodeIfPresent(
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:30: error: 'Codable' is unavailable: unavailable in embedded Swift
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
47 | /// Command should appear in help displays.
48 | public var shouldDisplay: Bool = true
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
49 |
50 | /// Name used to invoke the command.
51 | public var commandName: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
52 | /// List of command aliases.
53 | public var aliases: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
54 | /// Short description of the command's functionality.
55 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
56 | /// Extended description of the command's functionality.
57 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
58 |
59 | /// Optional name of the subcommand invoked when the command is invoked with
60 | /// no arguments.
61 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
62 | /// List of nested commands.
63 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
64 | /// List of supported arguments.
65 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
66 |
67 | public init(
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
:
189 |
190 | /// Argument should appear in help displays.
191 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
192 | /// Custom name of argument's section.
193 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
194 |
195 | /// Argument can be omitted.
196 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
197 | /// Argument can be specified multiple times.
198 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
199 |
200 | /// Parsing strategy of the ArgumentInfo.
:
202 |
203 | /// All names of the argument.
204 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
205 | /// The best name to use when referring to the argument in help displays.
206 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
207 |
208 | /// Name of argument's value.
209 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
210 | /// Default value of the argument is none is specified on the command line.
211 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
212 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 | // breaking compatibility with the current serialized format.
:
215 | // This property is effectively deprecated.
216 | /// List of all valid values.
217 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
218 | /// List of all valid values.
219 | public var allValueStrings: [String]? {
:
222 | }
223 | /// Mapping of valid values to descriptions of the value.
224 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String : String]?' does not conform to 'Decodable'
225 |
226 | /// The type of completion to use for an argument or an option value.
227 | ///
228 | /// `nil` if the tool uses the default completion kind.
229 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Decodable' because 'CompletionKindV0?' does not conform to 'Decodable'
230 |
231 | /// Short description of the argument's functionality.
232 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
233 | /// Extended description of the argument's functionality.
234 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
235 |
236 | public init(
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
:
129 | public var kind: KindV0
130 | /// Single or multi-character name of the argument.
131 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
132 |
133 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:119:33: error: 'Codable' is unavailable: unavailable in embedded Swift
117 | public struct NameInfoV0: Codable, Hashable {
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
120 | /// A multi-character name preceded by two dashes.
121 | case long
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:29: error: 'Codable' is unavailable: unavailable in embedded Swift
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
:
129 | public var kind: KindV0
130 | /// Single or multi-character name of the argument.
131 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
132 |
133 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:140:31: error: 'Codable' is unavailable: unavailable in embedded Swift
138 |
139 | /// Kind of argument.
140 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
141 | /// Argument specified as a bare value on the command line.
142 | case positional
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:149:42: error: 'Codable' is unavailable: unavailable in embedded Swift
147 | }
148 |
149 | public enum ParsingStrategyV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
150 | /// Expect the next `SplitArguments.Element` to be a value and parse it.
151 | /// Will fail if the next input is an option.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:33: error: 'Codable' is unavailable: unavailable in embedded Swift
167 | }
168 |
169 | public enum CompletionKindV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
170 | /// Use the specified list of completion strings.
171 | case list(values: [String])
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
167 | }
168 |
169 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
170 | /// Use the specified list of completion strings.
171 | case list(values: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
172 | /// Complete file names with the specified extensions.
173 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
174 | /// Complete directory names that match the specified pattern.
175 | case directory
176 | /// Call the given shell command to generate completions.
177 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
178 | /// Generate completions using the given three-parameter closure.
179 | case custom
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
167 | }
168 |
169 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
170 | /// Use the specified list of completion strings.
171 | case list(values: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
172 | /// Complete file names with the specified extensions.
173 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
174 | /// Complete directory names that match the specified pattern.
175 | case directory
176 | /// Call the given shell command to generate completions.
177 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
178 | /// Generate completions using the given three-parameter closure.
179 | case custom
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:31: error: 'Codable' is unavailable: unavailable in embedded Swift
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
:
189 |
190 | /// Argument should appear in help displays.
191 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
192 | /// Custom name of argument's section.
193 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
194 |
195 | /// Argument can be omitted.
196 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
197 | /// Argument can be specified multiple times.
198 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
199 |
200 | /// Parsing strategy of the ArgumentInfo.
:
202 |
203 | /// All names of the argument.
204 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
205 | /// The best name to use when referring to the argument in help displays.
206 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
207 |
208 | /// Name of argument's value.
209 | public var valueName: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
210 | /// Default value of the argument is none is specified on the command line.
211 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
212 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 | // breaking compatibility with the current serialized format.
:
215 | // This property is effectively deprecated.
216 | /// List of all valid values.
217 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
218 | /// List of all valid values.
219 | public var allValueStrings: [String]? {
:
222 | }
223 | /// Mapping of valid values to descriptions of the value.
224 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String : String]?' does not conform to 'Encodable'
225 |
226 | /// The type of completion to use for an argument or an option value.
227 | ///
228 | /// `nil` if the tool uses the default completion kind.
229 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Encodable' because 'CompletionKindV0?' does not conform to 'Encodable'
230 |
231 | /// Short description of the argument's functionality.
232 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
233 | /// Extended description of the argument's functionality.
234 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
235 |
236 | public init(
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:93:40: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
91 | public init(from decoder: any Decoder) throws {
92 | let container = try decoder.container(keyedBy: CodingKeys.self)
93 | self.superCommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:94:31: error: cannot infer contextual base in reference to member 'superCommands'
92 | let container = try decoder.container(keyedBy: CodingKeys.self)
93 | self.superCommands = try container.decodeIfPresent(
94 | [String].self, forKey: .superCommands)
| `- error: cannot infer contextual base in reference to member 'superCommands'
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
96 | self.aliases = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
93 | self.superCommands = try container.decodeIfPresent(
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:67: error: cannot infer contextual base in reference to member 'commandName'
93 | self.superCommands = try container.decodeIfPresent(
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: cannot infer contextual base in reference to member 'commandName'
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:96:34: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
96 | self.aliases = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
97 | [String].self, forKey: .aliases)
98 | self.abstract = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:31: error: cannot infer contextual base in reference to member 'aliases'
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
| `- error: cannot infer contextual base in reference to member 'aliases'
98 | self.abstract = try container.decodeIfPresent(
99 | String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:98:35: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
98 | self.abstract = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
99 | String.self, forKey: .abstract)
100 | self.discussion = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:99:29: error: cannot infer contextual base in reference to member 'abstract'
97 | [String].self, forKey: .aliases)
98 | self.abstract = try container.decodeIfPresent(
99 | String.self, forKey: .abstract)
| `- error: cannot infer contextual base in reference to member 'abstract'
100 | self.discussion = try container.decodeIfPresent(
101 | String.self, forKey: .discussion)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:100:37: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
98 | self.abstract = try container.decodeIfPresent(
99 | String.self, forKey: .abstract)
100 | self.discussion = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 | String.self, forKey: .discussion)
102 | self.shouldDisplay =
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:101:29: error: cannot infer contextual base in reference to member 'discussion'
99 | String.self, forKey: .abstract)
100 | self.discussion = try container.decodeIfPresent(
101 | String.self, forKey: .discussion)
| `- error: cannot infer contextual base in reference to member 'discussion'
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:21: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 | String.self, forKey: .discussion)
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:57: error: cannot infer contextual base in reference to member 'shouldDisplay'
101 | String.self, forKey: .discussion)
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: cannot infer contextual base in reference to member 'shouldDisplay'
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:104:44: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 | self.defaultSubcommand = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
105 | String.self, forKey: .defaultSubcommand)
106 | self.subcommands = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:105:29: error: cannot infer contextual base in reference to member 'defaultSubcommand'
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
| `- error: cannot infer contextual base in reference to member 'defaultSubcommand'
106 | self.subcommands = try container.decodeIfPresent(
107 | [CommandInfoV0].self, forKey: .subcommands)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:106:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
106 | self.subcommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
107 | [CommandInfoV0].self, forKey: .subcommands)
108 | self.arguments = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:107:38: error: cannot infer contextual base in reference to member 'subcommands'
105 | String.self, forKey: .defaultSubcommand)
106 | self.subcommands = try container.decodeIfPresent(
107 | [CommandInfoV0].self, forKey: .subcommands)
| `- error: cannot infer contextual base in reference to member 'subcommands'
108 | self.arguments = try container.decodeIfPresent(
109 | [ArgumentInfoV0].self, forKey: .arguments)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:108:36: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
106 | self.subcommands = try container.decodeIfPresent(
107 | [CommandInfoV0].self, forKey: .subcommands)
108 | self.arguments = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
109 | [ArgumentInfoV0].self, forKey: .arguments)
110 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:109:39: error: cannot infer contextual base in reference to member 'arguments'
107 | [CommandInfoV0].self, forKey: .subcommands)
108 | self.arguments = try container.decodeIfPresent(
109 | [ArgumentInfoV0].self, forKey: .arguments)
| `- error: cannot infer contextual base in reference to member 'arguments'
110 | }
111 | }
[15/29] Compiling ArgumentParserToolInfo ToolInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:15: error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
21 | public var serializationVersion: Int
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
22 |
23 | public init(serializationVersion: Int) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:31: error: 'Decodable' is unavailable: unavailable in embedded Swift
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
| `- note: 'Decodable' has been explicitly marked unavailable here
3 | init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:27: error: 'Codable' is unavailable: unavailable in embedded Swift
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
89 | }
90 |
91 | public init(from decoder: any Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
92 | let container = try decoder.container(keyedBy: CodingKeys.self)
93 | self.superCommands = try container.decodeIfPresent(
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:30: error: 'Codable' is unavailable: unavailable in embedded Swift
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
47 | /// Command should appear in help displays.
48 | public var shouldDisplay: Bool = true
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
49 |
50 | /// Name used to invoke the command.
51 | public var commandName: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
52 | /// List of command aliases.
53 | public var aliases: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
54 | /// Short description of the command's functionality.
55 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
56 | /// Extended description of the command's functionality.
57 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
58 |
59 | /// Optional name of the subcommand invoked when the command is invoked with
60 | /// no arguments.
61 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
62 | /// List of nested commands.
63 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
64 | /// List of supported arguments.
65 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
66 |
67 | public init(
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
:
189 |
190 | /// Argument should appear in help displays.
191 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
192 | /// Custom name of argument's section.
193 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
194 |
195 | /// Argument can be omitted.
196 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
197 | /// Argument can be specified multiple times.
198 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
199 |
200 | /// Parsing strategy of the ArgumentInfo.
:
202 |
203 | /// All names of the argument.
204 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
205 | /// The best name to use when referring to the argument in help displays.
206 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
207 |
208 | /// Name of argument's value.
209 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
210 | /// Default value of the argument is none is specified on the command line.
211 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
212 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 | // breaking compatibility with the current serialized format.
:
215 | // This property is effectively deprecated.
216 | /// List of all valid values.
217 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
218 | /// List of all valid values.
219 | public var allValueStrings: [String]? {
:
222 | }
223 | /// Mapping of valid values to descriptions of the value.
224 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String : String]?' does not conform to 'Decodable'
225 |
226 | /// The type of completion to use for an argument or an option value.
227 | ///
228 | /// `nil` if the tool uses the default completion kind.
229 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Decodable' because 'CompletionKindV0?' does not conform to 'Decodable'
230 |
231 | /// Short description of the argument's functionality.
232 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
233 | /// Extended description of the argument's functionality.
234 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
235 |
236 | public init(
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
:
129 | public var kind: KindV0
130 | /// Single or multi-character name of the argument.
131 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
132 |
133 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:119:33: error: 'Codable' is unavailable: unavailable in embedded Swift
117 | public struct NameInfoV0: Codable, Hashable {
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
120 | /// A multi-character name preceded by two dashes.
121 | case long
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:29: error: 'Codable' is unavailable: unavailable in embedded Swift
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:117:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
115 | public struct ArgumentInfoV0: Codable, Hashable {
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
118 | /// Kind of prefix of an argument's name.
119 | public enum KindV0: String, Codable, Hashable {
:
129 | public var kind: KindV0
130 | /// Single or multi-character name of the argument.
131 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
132 |
133 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:140:31: error: 'Codable' is unavailable: unavailable in embedded Swift
138 |
139 | /// Kind of argument.
140 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
141 | /// Argument specified as a bare value on the command line.
142 | case positional
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:149:42: error: 'Codable' is unavailable: unavailable in embedded Swift
147 | }
148 |
149 | public enum ParsingStrategyV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
150 | /// Expect the next `SplitArguments.Element` to be a value and parse it.
151 | /// Will fail if the next input is an option.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:33: error: 'Codable' is unavailable: unavailable in embedded Swift
167 | }
168 |
169 | public enum CompletionKindV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
170 | /// Use the specified list of completion strings.
171 | case list(values: [String])
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
167 | }
168 |
169 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
170 | /// Use the specified list of completion strings.
171 | case list(values: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
172 | /// Complete file names with the specified extensions.
173 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
174 | /// Complete directory names that match the specified pattern.
175 | case directory
176 | /// Call the given shell command to generate completions.
177 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
178 | /// Generate completions using the given three-parameter closure.
179 | case custom
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:169:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
167 | }
168 |
169 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
170 | /// Use the specified list of completion strings.
171 | case list(values: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
172 | /// Complete file names with the specified extensions.
173 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
174 | /// Complete directory names that match the specified pattern.
175 | case directory
176 | /// Call the given shell command to generate completions.
177 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
178 | /// Generate completions using the given three-parameter closure.
179 | case custom
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:31: error: 'Codable' is unavailable: unavailable in embedded Swift
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:115:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
113 | /// All information about a particular argument, including display names and
114 | /// options.
115 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
116 | /// Information about an argument's name.
117 | public struct NameInfoV0: Codable, Hashable {
:
189 |
190 | /// Argument should appear in help displays.
191 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
192 | /// Custom name of argument's section.
193 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
194 |
195 | /// Argument can be omitted.
196 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
197 | /// Argument can be specified multiple times.
198 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
199 |
200 | /// Parsing strategy of the ArgumentInfo.
:
202 |
203 | /// All names of the argument.
204 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
205 | /// The best name to use when referring to the argument in help displays.
206 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
207 |
208 | /// Name of argument's value.
209 | public var valueName: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
210 | /// Default value of the argument is none is specified on the command line.
211 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
212 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
213 | // breaking compatibility with the current serialized format.
:
215 | // This property is effectively deprecated.
216 | /// List of all valid values.
217 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
218 | /// List of all valid values.
219 | public var allValueStrings: [String]? {
:
222 | }
223 | /// Mapping of valid values to descriptions of the value.
224 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String : String]?' does not conform to 'Encodable'
225 |
226 | /// The type of completion to use for an argument or an option value.
227 | ///
228 | /// `nil` if the tool uses the default completion kind.
229 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Encodable' because 'CompletionKindV0?' does not conform to 'Encodable'
230 |
231 | /// Short description of the argument's functionality.
232 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
233 | /// Extended description of the argument's functionality.
234 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
235 |
236 | public init(
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:93:40: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
91 | public init(from decoder: any Decoder) throws {
92 | let container = try decoder.container(keyedBy: CodingKeys.self)
93 | self.superCommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:94:31: error: cannot infer contextual base in reference to member 'superCommands'
92 | let container = try decoder.container(keyedBy: CodingKeys.self)
93 | self.superCommands = try container.decodeIfPresent(
94 | [String].self, forKey: .superCommands)
| `- error: cannot infer contextual base in reference to member 'superCommands'
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
96 | self.aliases = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
93 | self.superCommands = try container.decodeIfPresent(
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:67: error: cannot infer contextual base in reference to member 'commandName'
93 | self.superCommands = try container.decodeIfPresent(
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: cannot infer contextual base in reference to member 'commandName'
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:96:34: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
94 | [String].self, forKey: .superCommands)
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
96 | self.aliases = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
97 | [String].self, forKey: .aliases)
98 | self.abstract = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:31: error: cannot infer contextual base in reference to member 'aliases'
95 | self.commandName = try container.decode(String.self, forKey: .commandName)
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
| `- error: cannot infer contextual base in reference to member 'aliases'
98 | self.abstract = try container.decodeIfPresent(
99 | String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:98:35: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
96 | self.aliases = try container.decodeIfPresent(
97 | [String].self, forKey: .aliases)
98 | self.abstract = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
99 | String.self, forKey: .abstract)
100 | self.discussion = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:99:29: error: cannot infer contextual base in reference to member 'abstract'
97 | [String].self, forKey: .aliases)
98 | self.abstract = try container.decodeIfPresent(
99 | String.self, forKey: .abstract)
| `- error: cannot infer contextual base in reference to member 'abstract'
100 | self.discussion = try container.decodeIfPresent(
101 | String.self, forKey: .discussion)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:100:37: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
98 | self.abstract = try container.decodeIfPresent(
99 | String.self, forKey: .abstract)
100 | self.discussion = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 | String.self, forKey: .discussion)
102 | self.shouldDisplay =
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:101:29: error: cannot infer contextual base in reference to member 'discussion'
99 | String.self, forKey: .abstract)
100 | self.discussion = try container.decodeIfPresent(
101 | String.self, forKey: .discussion)
| `- error: cannot infer contextual base in reference to member 'discussion'
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:21: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 | String.self, forKey: .discussion)
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:57: error: cannot infer contextual base in reference to member 'shouldDisplay'
101 | String.self, forKey: .discussion)
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: cannot infer contextual base in reference to member 'shouldDisplay'
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:104:44: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
102 | self.shouldDisplay =
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 | self.defaultSubcommand = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
105 | String.self, forKey: .defaultSubcommand)
106 | self.subcommands = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:105:29: error: cannot infer contextual base in reference to member 'defaultSubcommand'
103 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
| `- error: cannot infer contextual base in reference to member 'defaultSubcommand'
106 | self.subcommands = try container.decodeIfPresent(
107 | [CommandInfoV0].self, forKey: .subcommands)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:106:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
104 | self.defaultSubcommand = try container.decodeIfPresent(
105 | String.self, forKey: .defaultSubcommand)
106 | self.subcommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
107 | [CommandInfoV0].self, forKey: .subcommands)
108 | self.arguments = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:107:38: error: cannot infer contextual base in reference to member 'subcommands'
105 | String.self, forKey: .defaultSubcommand)
106 | self.subcommands = try container.decodeIfPresent(
107 | [CommandInfoV0].self, forKey: .subcommands)
| `- error: cannot infer contextual base in reference to member 'subcommands'
108 | self.arguments = try container.decodeIfPresent(
109 | [ArgumentInfoV0].self, forKey: .arguments)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:108:36: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
106 | self.subcommands = try container.decodeIfPresent(
107 | [CommandInfoV0].self, forKey: .subcommands)
108 | self.arguments = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
109 | [ArgumentInfoV0].self, forKey: .arguments)
110 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:109:39: error: cannot infer contextual base in reference to member 'arguments'
107 | [CommandInfoV0].self, forKey: .subcommands)
108 | self.arguments = try container.decodeIfPresent(
109 | [ArgumentInfoV0].self, forKey: .arguments)
| `- error: cannot infer contextual base in reference to member 'arguments'
110 | }
111 | }
BUILD FAILURE 6.2 wasm