Build Information
Failed to build SwiftGodot, reference v0.70.0 (0c2b1c), with Swift 6.2 for Wasm on 13 Dec 2025 23:25:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SwiftGodot.git
Reference: v0.70.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/migueldeicaza/SwiftGodot
* tag v0.70.0 -> FETCH_HEAD
HEAD is now at 0c2b1cc Returning null for a strings was always wrong, remove incorrect sample code
Cloned https://github.com/migueldeicaza/SwiftGodot.git
Revision (git rev-parse @):
0c2b1cc0dd32af21f6bd33110420cf3382683483
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/migueldeicaza/SwiftGodot.git at v0.70.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/migueldeicaza/SwiftGodot.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/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/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax
[1/16921] Fetching swift-argument-parser
[340/19079] Fetching swift-argument-parser, swift-docc-plugin
[19080/92191] Fetching swift-argument-parser, swift-docc-plugin, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
[10932/75270] Fetching swift-docc-plugin, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (6.04s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.11s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (9.22s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3596] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (2.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (1.29s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.71s)
Found unhandled resource at /host/spi-builder-workspace/Tests/SwiftGodotMacrosTests/Resources
[0/20] Write sources
[8/20] Compiling _SwiftSyntaxCShims dummy.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/28] Emitting module SwiftSyntax600
[12/28] Compiling SwiftSyntax600 Empty.swift
[13/29] Wrapping AST for SwiftSyntax600 for debugging
[15/29] Emitting module SwiftSyntax510
[16/29] Compiling SwiftSyntax510 Empty.swift
[17/30] Emitting module SwiftSyntax509
[18/30] Compiling SwiftSyntax509 Empty.swift
[20/31] Wrapping AST for SwiftSyntax510 for debugging
[21/31] Wrapping AST for SwiftSyntax509 for debugging
[23/95] Emitting module ArgumentParserToolInfo
[24/95] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/96] Wrapping AST for ArgumentParserToolInfo for debugging
[27/140] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/140] Compiling ArgumentParser CompletionsGenerator.swift
[29/140] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/140] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/140] Compiling ArgumentParser Argument.swift
[32/140] Compiling ArgumentParser ArgumentDiscussion.swift
[33/140] Compiling ArgumentParser ArgumentHelp.swift
[34/140] Compiling ArgumentParser ArgumentVisibility.swift
[35/140] Compiling ArgumentParser CompletionKind.swift
[36/140] Compiling ArgumentParser Errors.swift
[37/140] Compiling ArgumentParser Flag.swift
[38/140] Compiling ArgumentParser NameSpecification.swift
[39/140] Compiling ArgumentParser Option.swift
[40/140] Compiling ArgumentParser OptionGroup.swift
[41/140] Compiling ArgumentParser AsyncParsableCommand.swift
[42/140] Compiling ArgumentParser CommandConfiguration.swift
[43/140] Compiling ArgumentParser CommandGroup.swift
[44/140] Compiling ArgumentParser EnumerableFlag.swift
[45/148] Emitting module ArgumentParser
[59/154] Compiling ArgumentParser CollectionExtensions.swift
[60/154] Compiling ArgumentParser Mutex.swift
[61/154] Compiling ArgumentParser Platform.swift
[62/154] Compiling ArgumentParser SequenceExtensions.swift
[63/154] Compiling ArgumentParser StringExtensions.swift
[64/154] Compiling ArgumentParser SwiftExtensions.swift
[65/154] Compiling ArgumentParser Tree.swift
[66/154] Compiling ArgumentParser CodingKeyValidator.swift
[67/154] Compiling ArgumentParser NonsenseFlagsValidator.swift
[68/154] Compiling ArgumentParser ParsableArgumentsValidation.swift
[69/154] Compiling ArgumentParser PositionalArgumentsValidator.swift
[70/154] Compiling ArgumentParser UniqueNamesValidator.swift
[76/154] Compiling ArgumentParser ExpressibleByArgument.swift
[77/154] Compiling ArgumentParser ParsableArguments.swift
[78/154] Compiling ArgumentParser ParsableCommand.swift
[79/154] Compiling ArgumentParser ArgumentDecoder.swift
[80/154] Compiling ArgumentParser ArgumentDefinition.swift
[81/154] Compiling ArgumentParser ArgumentSet.swift
[82/154] Compiling ArgumentParser CommandParser.swift
[83/154] Compiling ArgumentParser InputKey.swift
[84/154] Compiling ArgumentParser InputOrigin.swift
[85/154] Compiling ArgumentParser Name.swift
[86/154] Compiling ArgumentParser Parsed.swift
[87/154] Compiling ArgumentParser ParsedValues.swift
[88/154] Compiling ArgumentParser ParserError.swift
[89/154] Compiling ArgumentParser SplitArguments.swift
[90/154] Compiling ArgumentParser DumpHelpGenerator.swift
[91/154] Compiling ArgumentParser HelpCommand.swift
[92/154] Compiling ArgumentParser HelpGenerator.swift
[93/154] Compiling ArgumentParser MessageInfo.swift
[94/154] Compiling ArgumentParser UsageGenerator.swift
[95/155] Wrapping AST for ArgumentParser for debugging
[97/155] Emitting module SwiftSyntax
[102/155] Compiling SwiftSyntax TokenKind.swift
[103/155] Compiling SwiftSyntax Tokens.swift
[104/155] Compiling SwiftSyntax TriviaPieces.swift
[105/155] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[106/155] Compiling SwiftSyntax RawSyntaxNodesC.swift
[107/155] Compiling SwiftSyntax SourcePresence.swift
[108/155] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[109/155] Compiling SwiftSyntax Syntax.swift
[110/155] Compiling SwiftSyntax SyntaxArena.swift
[111/155] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[112/155] Compiling SwiftSyntax SyntaxChildren.swift
[113/155] Compiling SwiftSyntax SyntaxCollection.swift
[114/155] Compiling SwiftSyntax SyntaxHashable.swift
[115/155] Compiling SwiftSyntax SyntaxIdentifier.swift
[143/155] Compiling SwiftSyntax SyntaxNodesC.swift
[144/155] Compiling SwiftSyntax SyntaxNodesD.swift
[145/155] Compiling SwiftSyntax SyntaxNodesEF.swift
[146/155] Compiling SwiftSyntax SyntaxNodesGHI.swift
[147/155] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[148/155] Compiling SwiftSyntax SyntaxNodesOP.swift
[149/155] Compiling SwiftSyntax SyntaxNodesQRS.swift
[150/155] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[151/156] Wrapping AST for SwiftSyntax for debugging
[153/197] Compiling SwiftParser SwiftParserCompatibility.swift
[154/197] Compiling SwiftParser SwiftVersion.swift
[155/197] Compiling SwiftParser SyntaxUtils.swift
[156/197] Compiling SwiftParser TokenConsumer.swift
[157/197] Compiling SwiftParser TokenPrecedence.swift
[158/202] Compiling SwiftParser Modifiers.swift
[159/202] Compiling SwiftParser Names.swift
[160/202] Compiling SwiftParser Nominals.swift
[161/202] Compiling SwiftParser Parameters.swift
[162/202] Compiling SwiftParser ParseSourceFile.swift
[163/202] Compiling SwiftParser Parser.swift
[164/202] Compiling SwiftParser LexemeSequence.swift
[165/202] Compiling SwiftParser Lexer.swift
[166/202] Compiling SwiftParser RegexLiteralLexer.swift
[167/202] Compiling SwiftParser UnicodeScalarExtensions.swift
[168/202] Compiling SwiftParser Lookahead.swift
[169/202] Compiling SwiftParser LoopProgressCondition.swift
[170/202] Emitting module SwiftParser
[171/202] Compiling SwiftParser TokenSpec.swift
[172/202] Compiling SwiftParser TokenSpecSet.swift
[173/202] Compiling SwiftParser TopLevel.swift
[174/202] Compiling SwiftParser TriviaParser.swift
[175/202] Compiling SwiftParser Types.swift
[176/202] Compiling SwiftParser Patterns.swift
[177/202] Compiling SwiftParser Recovery.swift
[178/202] Compiling SwiftParser Specifiers.swift
[179/202] Compiling SwiftParser Statements.swift
[180/202] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[181/202] Compiling SwiftParser StringLiterals.swift
[182/202] Compiling SwiftParser Attributes.swift
[183/202] Compiling SwiftParser Availability.swift
[184/202] Compiling SwiftParser CharacterInfo.swift
[185/202] Compiling SwiftParser CollectionNodes+Parsable.swift
[186/202] Compiling SwiftParser Declarations.swift
[187/202] Compiling SwiftParser Directives.swift
[188/202] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[189/202] Compiling SwiftParser Expressions.swift
[190/202] Compiling SwiftParser IncrementalParseTransition.swift
[191/202] Compiling SwiftParser IsValidIdentifier.swift
[192/202] Compiling SwiftParser Cursor.swift
[193/202] Compiling SwiftParser Lexeme.swift
[194/202] Compiling SwiftParser ExperimentalFeatures.swift
[195/202] Compiling SwiftParser IsLexerClassified.swift
[196/202] Compiling SwiftParser LayoutNodes+Parsable.swift
[197/202] Compiling SwiftParser Parser+TokenSpecSet.swift
[198/202] Compiling SwiftParser TokenSpecStaticMembers.swift
[199/203] Wrapping AST for SwiftParser for debugging
[201/206] Compiling EntryPointGenerator GodotMacroSearchingVisitor.swift
[202/206] Emitting module EntryPointGenerator
[203/206] Compiling EntryPointGenerator EntryPointGenerator.swift
[204/207] Wrapping AST for EntryPointGenerator for debugging
[205/207] Write Objects.LinkFileList
[206/207] Linking EntryPointGenerator-tool
[207/227] Write sources
[213/227] Write swift-version-24593BA9C3E375BF.txt
[215/241] Compiling SwiftDiagnostics Message.swift
[216/241] Compiling SwiftDiagnostics FixIt.swift
[217/242] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[218/242] Compiling SwiftBasicFormat Syntax+Extensions.swift
[219/242] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[220/242] Compiling SwiftDiagnostics Note.swift
[221/242] Emitting module ExtensionApi
[222/242] Compiling SwiftBasicFormat InferIndentation.swift
[223/242] Compiling SwiftDiagnostics Convenience.swift
[224/242] Compiling SwiftDiagnostics Diagnostic.swift
[225/242] Emitting module SwiftDiagnostics
[226/242] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[227/242] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[228/242] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[229/242] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[230/242] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[231/243] Wrapping AST for SwiftDiagnostics for debugging
[233/243] Emitting module SwiftBasicFormat
[234/243] Compiling SwiftBasicFormat BasicFormat.swift
[235/244] Wrapping AST for SwiftBasicFormat for debugging
[237/257] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[238/258] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[239/258] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[240/258] Compiling SwiftParserDiagnostics Utils.swift
[241/258] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[242/258] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[243/258] Compiling SwiftParserDiagnostics PresenceUtils.swift
[244/258] Compiling ExtensionApi ApiJsonModel.swift
[245/258] Compiling ExtensionApi ApiJsonModel+Extra.swift
[246/259] Wrapping AST for ExtensionApi for debugging
[248/259] Compiling SwiftParserDiagnostics MissingNodesError.swift
[249/259] Compiling SwiftParserDiagnostics MissingTokenError.swift
[250/259] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[251/259] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[252/259] Emitting module SwiftParserDiagnostics
[253/259] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[254/259] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[255/260] Wrapping AST for SwiftParserDiagnostics for debugging
[257/275] Compiling SwiftSyntaxBuilder Indenter.swift
[258/275] Compiling SwiftSyntaxBuilder ListBuilder.swift
[259/275] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[260/275] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[261/276] Emitting module SwiftSyntaxBuilder
[262/276] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[263/276] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[264/276] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[265/276] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[266/276] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[267/276] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[268/276] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[269/276] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[270/276] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[271/276] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[272/276] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[273/277] Wrapping AST for SwiftSyntaxBuilder for debugging
[275/292] Compiling Generator UnsafePointerHelpers.swift
[276/292] Compiling Generator UtilityGen.swift
[277/293] Compiling Generator NativeStructures.swift
[278/293] Compiling Generator Printer.swift
[279/293] Compiling Generator main.swift
[280/293] Compiling Generator StringOperations.swift
[281/293] Compiling Generator TypeHelpers.swift
[282/293] Compiling Generator DocModel.swift
[283/293] Compiling Generator Enums.swift
[284/293] Compiling Generator GenerationSettings.swift
[285/293] Compiling Generator MethodGen.swift
[286/293] Compiling Generator ClassGen.swift
[287/293] Compiling Generator Data.swift
[288/293] Emitting module Generator
[289/293] Compiling Generator Arguments.swift
[290/293] Compiling Generator BuiltinGen.swift
[291/294] Wrapping AST for Generator for debugging
[292/294] Write Objects.LinkFileList
[293/294] Linking Generator-tool
[1/1] Compiling plugin EntryPointGeneratorPlugin
[2/2] Compiling plugin CodeGeneratorPlugin
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/106] Write sources
[38/106] Copying extension_api.json
[40/106] Compiling GDExtension GDExtensionSupport.c
[41/106] Compiling _SwiftSyntaxCShims dummy.c
[43/106] Compiling GDExtension GDExtensionSupport.c
[43/106] Write swift-version-24593BA9C3E375BF.txt
[46/115] Emitting module SwiftSyntax510
[48/135] Emitting module SwiftSyntax600
[49/136] Emitting module SwiftSyntax509
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/137] Emitting module ExtensionApiJson
/host/spi-builder-workspace/Sources/ExtensionApi/ExtensionApiJson.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension URL {
[53/137] Compiling ExtensionApiJson ExtensionApiJson.swift
[54/137] Compiling ExtensionApiJson resource_bundle_accessor.swift
[55/137] Emitting module ExtensionApiJson
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/138] Emitting module ExtensionApi
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:6:8: error: no such module 'Foundation'
4 | // let jGodotExtensionAPI = try? JSONDecoder().decode(JGodotExtensionAPI.self, from: jsonData)
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | // MARK: - JGodotExtensionAPI
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/140] 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:87:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
85 | }
86 |
87 | public init(from decoder: any Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
88 | let container = try decoder.container(keyedBy: CodingKeys.self)
89 | 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 | /// Short description of the command's functionality.
53 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
54 | /// Extended description of the command's functionality.
55 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
56 |
57 | /// Optional name of the subcommand invoked when the command is invoked with
58 | /// no arguments.
59 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
60 | /// List of nested commands.
61 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
62 | /// List of supported arguments.
63 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
64 |
65 | 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:109:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
107 | /// All information about a particular argument, including display names and
108 | /// options.
109 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
:
183 |
184 | /// Argument should appear in help displays.
185 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
186 | /// Custom name of argument's section.
187 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
188 |
189 | /// Argument can be omitted.
190 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
191 | /// Argument can be specified multiple times.
192 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
193 |
194 | /// Parsing strategy of the ArgumentInfo.
:
196 |
197 | /// All names of the argument.
198 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
199 | /// The best name to use when referring to the argument in help displays.
200 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
201 |
202 | /// Name of argument's value.
203 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
204 | /// Default value of the argument is none is specified on the command line.
205 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
206 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
207 | // breaking compatibility with the current serialized format.
:
209 | // This property is effectively deprecated.
210 | /// List of all valid values.
211 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
212 | /// List of all valid values.
213 | public var allValueStrings: [String]? {
:
216 | }
217 | /// Mapping of valid values to descriptions of the value.
218 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String : String]?' does not conform to 'Decodable'
219 |
220 | /// The type of completion to use for an argument or an option value.
221 | ///
222 | /// `nil` if the tool uses the default completion kind.
223 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Decodable' because 'CompletionKindV0?' does not conform to 'Decodable'
224 |
225 | /// Short description of the argument's functionality.
226 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
227 | /// Extended description of the argument's functionality.
228 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
229 |
230 | 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:111:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
109 | public struct ArgumentInfoV0: Codable, Hashable {
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
112 | /// Kind of prefix of an argument's name.
113 | public enum KindV0: String, Codable, Hashable {
:
123 | public var kind: KindV0
124 | /// Single or multi-character name of the argument.
125 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
126 |
127 | 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:113:33: error: 'Codable' is unavailable: unavailable in embedded Swift
111 | public struct NameInfoV0: Codable, Hashable {
112 | /// Kind of prefix of an argument's name.
113 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
114 | /// A multi-character name preceded by two dashes.
115 | 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:111:29: error: 'Codable' is unavailable: unavailable in embedded Swift
109 | public struct ArgumentInfoV0: Codable, Hashable {
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
112 | /// Kind of prefix of an argument's name.
113 | 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:111:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
109 | public struct ArgumentInfoV0: Codable, Hashable {
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
112 | /// Kind of prefix of an argument's name.
113 | public enum KindV0: String, Codable, Hashable {
:
123 | public var kind: KindV0
124 | /// Single or multi-character name of the argument.
125 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
126 |
127 | 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:134:31: error: 'Codable' is unavailable: unavailable in embedded Swift
132 |
133 | /// Kind of argument.
134 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
135 | /// Argument specified as a bare value on the command line.
136 | 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:143:42: error: 'Codable' is unavailable: unavailable in embedded Swift
141 | }
142 |
143 | public enum ParsingStrategyV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
144 | /// Expect the next `SplitArguments.Element` to be a value and parse it.
145 | /// 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:163:33: error: 'Codable' is unavailable: unavailable in embedded Swift
161 | }
162 |
163 | public enum CompletionKindV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
164 | /// Use the specified list of completion strings.
165 | 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:163:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
161 | }
162 |
163 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
164 | /// Use the specified list of completion strings.
165 | case list(values: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
166 | /// Complete file names with the specified extensions.
167 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
168 | /// Complete directory names that match the specified pattern.
169 | case directory
170 | /// Call the given shell command to generate completions.
171 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
172 | /// Generate completions using the given three-parameter closure.
173 | 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:163:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
161 | }
162 |
163 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
164 | /// Use the specified list of completion strings.
165 | case list(values: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
166 | /// Complete file names with the specified extensions.
167 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
168 | /// Complete directory names that match the specified pattern.
169 | case directory
170 | /// Call the given shell command to generate completions.
171 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
172 | /// Generate completions using the given three-parameter closure.
173 | 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:109:31: error: 'Codable' is unavailable: unavailable in embedded Swift
107 | /// All information about a particular argument, including display names and
108 | /// options.
109 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
110 | /// Information about an argument's name.
111 | 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:109:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
107 | /// All information about a particular argument, including display names and
108 | /// options.
109 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
:
183 |
184 | /// Argument should appear in help displays.
185 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
186 | /// Custom name of argument's section.
187 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
188 |
189 | /// Argument can be omitted.
190 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
191 | /// Argument can be specified multiple times.
192 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
193 |
194 | /// Parsing strategy of the ArgumentInfo.
:
196 |
197 | /// All names of the argument.
198 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
199 | /// The best name to use when referring to the argument in help displays.
200 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
201 |
202 | /// Name of argument's value.
203 | public var valueName: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
204 | /// Default value of the argument is none is specified on the command line.
205 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
206 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
207 | // breaking compatibility with the current serialized format.
:
209 | // This property is effectively deprecated.
210 | /// List of all valid values.
211 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
212 | /// List of all valid values.
213 | public var allValueStrings: [String]? {
:
216 | }
217 | /// Mapping of valid values to descriptions of the value.
218 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String : String]?' does not conform to 'Encodable'
219 |
220 | /// The type of completion to use for an argument or an option value.
221 | ///
222 | /// `nil` if the tool uses the default completion kind.
223 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Encodable' because 'CompletionKindV0?' does not conform to 'Encodable'
224 |
225 | /// Short description of the argument's functionality.
226 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
227 | /// Extended description of the argument's functionality.
228 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
229 |
230 | 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:89:40: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
87 | public init(from decoder: any Decoder) throws {
88 | let container = try decoder.container(keyedBy: CodingKeys.self)
89 | self.superCommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:90:31: error: cannot infer contextual base in reference to member 'superCommands'
88 | let container = try decoder.container(keyedBy: CodingKeys.self)
89 | self.superCommands = try container.decodeIfPresent(
90 | [String].self, forKey: .superCommands)
| `- error: cannot infer contextual base in reference to member 'superCommands'
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
92 | self.abstract = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
89 | self.superCommands = try container.decodeIfPresent(
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:67: error: cannot infer contextual base in reference to member 'commandName'
89 | self.superCommands = try container.decodeIfPresent(
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: cannot infer contextual base in reference to member 'commandName'
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:92:35: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
92 | self.abstract = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
93 | String.self, forKey: .abstract)
94 | self.discussion = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:93:29: error: cannot infer contextual base in reference to member 'abstract'
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
| `- error: cannot infer contextual base in reference to member 'abstract'
94 | self.discussion = try container.decodeIfPresent(
95 | String.self, forKey: .discussion)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:94:37: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
94 | self.discussion = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
95 | String.self, forKey: .discussion)
96 | self.shouldDisplay =
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:29: error: cannot infer contextual base in reference to member 'discussion'
93 | String.self, forKey: .abstract)
94 | self.discussion = try container.decodeIfPresent(
95 | String.self, forKey: .discussion)
| `- error: cannot infer contextual base in reference to member 'discussion'
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:21: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
95 | String.self, forKey: .discussion)
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:57: error: cannot infer contextual base in reference to member 'shouldDisplay'
95 | String.self, forKey: .discussion)
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: cannot infer contextual base in reference to member 'shouldDisplay'
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:98:44: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
98 | self.defaultSubcommand = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
99 | String.self, forKey: .defaultSubcommand)
100 | self.subcommands = 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 'defaultSubcommand'
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
| `- error: cannot infer contextual base in reference to member 'defaultSubcommand'
100 | self.subcommands = try container.decodeIfPresent(
101 | [CommandInfoV0].self, forKey: .subcommands)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:100:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
100 | self.subcommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 | [CommandInfoV0].self, forKey: .subcommands)
102 | self.arguments = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:101:38: error: cannot infer contextual base in reference to member 'subcommands'
99 | String.self, forKey: .defaultSubcommand)
100 | self.subcommands = try container.decodeIfPresent(
101 | [CommandInfoV0].self, forKey: .subcommands)
| `- error: cannot infer contextual base in reference to member 'subcommands'
102 | self.arguments = try container.decodeIfPresent(
103 | [ArgumentInfoV0].self, forKey: .arguments)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:102:36: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
100 | self.subcommands = try container.decodeIfPresent(
101 | [CommandInfoV0].self, forKey: .subcommands)
102 | self.arguments = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
103 | [ArgumentInfoV0].self, forKey: .arguments)
104 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:103:39: error: cannot infer contextual base in reference to member 'arguments'
101 | [CommandInfoV0].self, forKey: .subcommands)
102 | self.arguments = try container.decodeIfPresent(
103 | [ArgumentInfoV0].self, forKey: .arguments)
| `- error: cannot infer contextual base in reference to member 'arguments'
104 | }
105 | }
[59/140] Emitting module SwiftGodotMacroLibrary
[60/141] Compiling SwiftGodotMacroLibrary SignalMacro.swift
[61/141] Compiling SwiftGodotMacroLibrary SwiftSyntaxExtensions.swift
[62/141] Compiling SwiftGodotMacroLibrary NativeHandleDiscardingMacro.swift
[63/141] Compiling SwiftGodotMacroLibrary PickerNameProviderMacro.swift
[64/141] Compiling SwiftGodotMacroLibrary SceneTreeMacro.swift
[65/141] Compiling SwiftGodotMacroLibrary SignalAttachmentMacro.swift
[66/141] Compiling ExtensionApiJson ExtensionApiJson.swift
/host/spi-builder-workspace/Sources/ExtensionApi/ExtensionApiJson.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension URL {
/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:87:33: error: 'Decoder' is unavailable: unavailable in embedded Swift
85 | }
86 |
87 | public init(from decoder: any Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
88 | let container = try decoder.container(keyedBy: CodingKeys.self)
89 | 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 | /// Short description of the command's functionality.
53 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
54 | /// Extended description of the command's functionality.
55 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
56 |
57 | /// Optional name of the subcommand invoked when the command is invoked with
58 | /// no arguments.
59 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
60 | /// List of nested commands.
61 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
62 | /// List of supported arguments.
63 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
64 |
65 | 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:109:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
107 | /// All information about a particular argument, including display names and
108 | /// options.
109 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
:
183 |
184 | /// Argument should appear in help displays.
185 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
186 | /// Custom name of argument's section.
187 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
188 |
189 | /// Argument can be omitted.
190 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
191 | /// Argument can be specified multiple times.
192 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
193 |
194 | /// Parsing strategy of the ArgumentInfo.
:
196 |
197 | /// All names of the argument.
198 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
199 | /// The best name to use when referring to the argument in help displays.
200 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
201 |
202 | /// Name of argument's value.
203 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
204 | /// Default value of the argument is none is specified on the command line.
205 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
206 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
207 | // breaking compatibility with the current serialized format.
:
209 | // This property is effectively deprecated.
210 | /// List of all valid values.
211 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
212 | /// List of all valid values.
213 | public var allValueStrings: [String]? {
:
216 | }
217 | /// Mapping of valid values to descriptions of the value.
218 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String : String]?' does not conform to 'Decodable'
219 |
220 | /// The type of completion to use for an argument or an option value.
221 | ///
222 | /// `nil` if the tool uses the default completion kind.
223 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Decodable' because 'CompletionKindV0?' does not conform to 'Decodable'
224 |
225 | /// Short description of the argument's functionality.
226 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
227 | /// Extended description of the argument's functionality.
228 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
229 |
230 | 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:111:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
109 | public struct ArgumentInfoV0: Codable, Hashable {
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
112 | /// Kind of prefix of an argument's name.
113 | public enum KindV0: String, Codable, Hashable {
:
123 | public var kind: KindV0
124 | /// Single or multi-character name of the argument.
125 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
126 |
127 | 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:113:33: error: 'Codable' is unavailable: unavailable in embedded Swift
111 | public struct NameInfoV0: Codable, Hashable {
112 | /// Kind of prefix of an argument's name.
113 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
114 | /// A multi-character name preceded by two dashes.
115 | 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:111:29: error: 'Codable' is unavailable: unavailable in embedded Swift
109 | public struct ArgumentInfoV0: Codable, Hashable {
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
112 | /// Kind of prefix of an argument's name.
113 | 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:111:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
109 | public struct ArgumentInfoV0: Codable, Hashable {
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
112 | /// Kind of prefix of an argument's name.
113 | public enum KindV0: String, Codable, Hashable {
:
123 | public var kind: KindV0
124 | /// Single or multi-character name of the argument.
125 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
126 |
127 | 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:134:31: error: 'Codable' is unavailable: unavailable in embedded Swift
132 |
133 | /// Kind of argument.
134 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
135 | /// Argument specified as a bare value on the command line.
136 | 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:143:42: error: 'Codable' is unavailable: unavailable in embedded Swift
141 | }
142 |
143 | public enum ParsingStrategyV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
144 | /// Expect the next `SplitArguments.Element` to be a value and parse it.
145 | /// 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:163:33: error: 'Codable' is unavailable: unavailable in embedded Swift
161 | }
162 |
163 | public enum CompletionKindV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
164 | /// Use the specified list of completion strings.
165 | 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:163:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
161 | }
162 |
163 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Decodable'
164 | /// Use the specified list of completion strings.
165 | case list(values: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
166 | /// Complete file names with the specified extensions.
167 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Decodable' because '[String]' does not conform to 'Decodable'
168 | /// Complete directory names that match the specified pattern.
169 | case directory
170 | /// Call the given shell command to generate completions.
171 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
172 | /// Generate completions using the given three-parameter closure.
173 | 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:163:15: error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
161 | }
162 |
163 | public enum CompletionKindV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.CompletionKindV0' does not conform to protocol 'Encodable'
164 | /// Use the specified list of completion strings.
165 | case list(values: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
166 | /// Complete file names with the specified extensions.
167 | case file(extensions: [String])
| `- note: cannot automatically synthesize 'Encodable' because '[String]' does not conform to 'Encodable'
168 | /// Complete directory names that match the specified pattern.
169 | case directory
170 | /// Call the given shell command to generate completions.
171 | case shellCommand(command: String)
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
172 | /// Generate completions using the given three-parameter closure.
173 | 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:109:31: error: 'Codable' is unavailable: unavailable in embedded Swift
107 | /// All information about a particular argument, including display names and
108 | /// options.
109 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
110 | /// Information about an argument's name.
111 | 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:109:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
107 | /// All information about a particular argument, including display names and
108 | /// options.
109 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
110 | /// Information about an argument's name.
111 | public struct NameInfoV0: Codable, Hashable {
:
183 |
184 | /// Argument should appear in help displays.
185 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
186 | /// Custom name of argument's section.
187 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
188 |
189 | /// Argument can be omitted.
190 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
191 | /// Argument can be specified multiple times.
192 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
193 |
194 | /// Parsing strategy of the ArgumentInfo.
:
196 |
197 | /// All names of the argument.
198 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
199 | /// The best name to use when referring to the argument in help displays.
200 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
201 |
202 | /// Name of argument's value.
203 | public var valueName: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
204 | /// Default value of the argument is none is specified on the command line.
205 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
206 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
207 | // breaking compatibility with the current serialized format.
:
209 | // This property is effectively deprecated.
210 | /// List of all valid values.
211 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
212 | /// List of all valid values.
213 | public var allValueStrings: [String]? {
:
216 | }
217 | /// Mapping of valid values to descriptions of the value.
218 | public var allValueDescriptions: [String: String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String : String]?' does not conform to 'Encodable'
219 |
220 | /// The type of completion to use for an argument or an option value.
221 | ///
222 | /// `nil` if the tool uses the default completion kind.
223 | public var completionKind: CompletionKindV0?
| `- note: cannot automatically synthesize 'Encodable' because 'CompletionKindV0?' does not conform to 'Encodable'
224 |
225 | /// Short description of the argument's functionality.
226 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
227 | /// Extended description of the argument's functionality.
228 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
229 |
230 | 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:89:40: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
87 | public init(from decoder: any Decoder) throws {
88 | let container = try decoder.container(keyedBy: CodingKeys.self)
89 | self.superCommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:90:31: error: cannot infer contextual base in reference to member 'superCommands'
88 | let container = try decoder.container(keyedBy: CodingKeys.self)
89 | self.superCommands = try container.decodeIfPresent(
90 | [String].self, forKey: .superCommands)
| `- error: cannot infer contextual base in reference to member 'superCommands'
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
92 | self.abstract = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
89 | self.superCommands = try container.decodeIfPresent(
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decode'
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:91:67: error: cannot infer contextual base in reference to member 'commandName'
89 | self.superCommands = try container.decodeIfPresent(
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
| `- error: cannot infer contextual base in reference to member 'commandName'
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:92:35: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
90 | [String].self, forKey: .superCommands)
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
92 | self.abstract = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
93 | String.self, forKey: .abstract)
94 | self.discussion = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:93:29: error: cannot infer contextual base in reference to member 'abstract'
91 | self.commandName = try container.decode(String.self, forKey: .commandName)
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
| `- error: cannot infer contextual base in reference to member 'abstract'
94 | self.discussion = try container.decodeIfPresent(
95 | String.self, forKey: .discussion)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:94:37: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
92 | self.abstract = try container.decodeIfPresent(
93 | String.self, forKey: .abstract)
94 | self.discussion = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
95 | String.self, forKey: .discussion)
96 | self.shouldDisplay =
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:95:29: error: cannot infer contextual base in reference to member 'discussion'
93 | String.self, forKey: .abstract)
94 | self.discussion = try container.decodeIfPresent(
95 | String.self, forKey: .discussion)
| `- error: cannot infer contextual base in reference to member 'discussion'
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:21: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
95 | String.self, forKey: .discussion)
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:97:57: error: cannot infer contextual base in reference to member 'shouldDisplay'
95 | String.self, forKey: .discussion)
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
| `- error: cannot infer contextual base in reference to member 'shouldDisplay'
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:98:44: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
96 | self.shouldDisplay =
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
98 | self.defaultSubcommand = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
99 | String.self, forKey: .defaultSubcommand)
100 | self.subcommands = 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 'defaultSubcommand'
97 | try container.decodeIfPresent(Bool.self, forKey: .shouldDisplay) ?? true
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
| `- error: cannot infer contextual base in reference to member 'defaultSubcommand'
100 | self.subcommands = try container.decodeIfPresent(
101 | [CommandInfoV0].self, forKey: .subcommands)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:100:38: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
98 | self.defaultSubcommand = try container.decodeIfPresent(
99 | String.self, forKey: .defaultSubcommand)
100 | self.subcommands = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
101 | [CommandInfoV0].self, forKey: .subcommands)
102 | self.arguments = try container.decodeIfPresent(
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:101:38: error: cannot infer contextual base in reference to member 'subcommands'
99 | String.self, forKey: .defaultSubcommand)
100 | self.subcommands = try container.decodeIfPresent(
101 | [CommandInfoV0].self, forKey: .subcommands)
| `- error: cannot infer contextual base in reference to member 'subcommands'
102 | self.arguments = try container.decodeIfPresent(
103 | [ArgumentInfoV0].self, forKey: .arguments)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:102:36: error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
100 | self.subcommands = try container.decodeIfPresent(
101 | [CommandInfoV0].self, forKey: .subcommands)
102 | self.arguments = try container.decodeIfPresent(
| `- error: value of type 'KeyedDecodingContainer<CommandInfoV0.CodingKeys>' has no member 'decodeIfPresent'
103 | [ArgumentInfoV0].self, forKey: .arguments)
104 | }
BUILD FAILURE 6.2 wasm