Build Information
Failed to build StringsLint, reference 0.1.10 (12ed25), with Swift 6.2 for Wasm on 9 Jan 2026 17:24:54 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/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/dral3x/stringslint.git
Reference: 0.1.10
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/dral3x/stringslint
* tag 0.1.10 -> FETCH_HEAD
HEAD is now at 12ed25b release 0.1.10
Cloned https://github.com/dral3x/stringslint.git
Revision (git rev-parse @):
12ed25bd52f533b0bbcdca6c9908876f8e073c82
SUCCESS checkout https://github.com/dral3x/stringslint.git at 0.1.10
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dral3x/stringslint.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/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:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
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/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/16993] Fetching swift-argument-parser
[3400/28266] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
[6764/11273] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (3.59s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.36s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/stringslint/Supporting Files/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/StringsLintFramework/Supporting Files/Info.plist
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[6/20] Compiling writer.c
[7/20] Compiling reader.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
[9/20] Compiling api.c
[10/20] Compiling parser.c
[11/22] Compiling emitter.c
[12/22] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/24] 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:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Decodable'
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 'Decodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
47 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[CommandInfoV0]?' does not conform to 'Decodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[ArgumentInfoV0]?' does not conform to 'Decodable'
62 |
63 | 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: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 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
62 |
63 | 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:86:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
:
122 |
123 | /// Argument should appear in help displays.
124 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
125 | /// Custom name of argument's section.
126 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
127 |
128 | /// Argument can be omitted.
129 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
130 | /// Argument can be specified multiple times.
131 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
132 |
133 | /// All names of the argument.
134 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
135 | /// The best name to use when referring to the argument in help displays.
136 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
137 |
138 | /// Name of argument's value.
139 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
140 | /// Default value of the argument is none is specified on the command line.
141 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
142 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
143 | // breaking compatibility with the current serialized format.
144 | /// List of all valid values.
145 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
146 | /// List of all valid values.
147 | public var allValueStrings: [String]? {
:
151 |
152 | /// Short description of the argument's functionality.
153 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
154 | /// Extended description of the argument's functionality.
155 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
156 |
157 | 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:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
103 |
104 | 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:90:33: error: 'Codable' is unavailable: unavailable in embedded Swift
88 | public struct NameInfoV0: Codable, Hashable {
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
91 | /// A multi-character name preceded by two dashes.
92 | 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:88:29: error: 'Codable' is unavailable: unavailable in embedded Swift
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
89 | /// Kind of prefix of an argument's name.
90 | 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:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
103 |
104 | 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:111:31: error: 'Codable' is unavailable: unavailable in embedded Swift
109 |
110 | /// Kind of argument.
111 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
112 | /// Argument specified as a bare value on the command line.
113 | 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:86:31: error: 'Codable' is unavailable: unavailable in embedded Swift
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
87 | /// Information about an argument's name.
88 | 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:86:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
:
122 |
123 | /// Argument should appear in help displays.
124 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
125 | /// Custom name of argument's section.
126 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
127 |
128 | /// Argument can be omitted.
129 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
130 | /// Argument can be specified multiple times.
131 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
132 |
133 | /// All names of the argument.
134 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
135 | /// The best name to use when referring to the argument in help displays.
136 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
137 |
138 | /// Name of argument's value.
139 | public var valueName: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
140 | /// Default value of the argument is none is specified on the command line.
141 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
142 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
143 | // breaking compatibility with the current serialized format.
144 | /// List of all valid values.
145 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
146 | /// List of all valid values.
147 | public var allValueStrings: [String]? {
:
151 |
152 | /// Short description of the argument's functionality.
153 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
154 | /// Extended description of the argument's functionality.
155 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
156 |
157 | 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 |
[15/24] 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:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Decodable'
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 'Decodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
47 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[CommandInfoV0]?' does not conform to 'Decodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[ArgumentInfoV0]?' does not conform to 'Decodable'
62 |
63 | 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: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 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
62 |
63 | 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:86:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
:
122 |
123 | /// Argument should appear in help displays.
124 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
125 | /// Custom name of argument's section.
126 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
127 |
128 | /// Argument can be omitted.
129 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
130 | /// Argument can be specified multiple times.
131 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
132 |
133 | /// All names of the argument.
134 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
135 | /// The best name to use when referring to the argument in help displays.
136 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
137 |
138 | /// Name of argument's value.
139 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
140 | /// Default value of the argument is none is specified on the command line.
141 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
142 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
143 | // breaking compatibility with the current serialized format.
144 | /// List of all valid values.
145 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
146 | /// List of all valid values.
147 | public var allValueStrings: [String]? {
:
151 |
152 | /// Short description of the argument's functionality.
153 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
154 | /// Extended description of the argument's functionality.
155 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
156 |
157 | 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:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
103 |
104 | 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:90:33: error: 'Codable' is unavailable: unavailable in embedded Swift
88 | public struct NameInfoV0: Codable, Hashable {
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
91 | /// A multi-character name preceded by two dashes.
92 | 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:88:29: error: 'Codable' is unavailable: unavailable in embedded Swift
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
89 | /// Kind of prefix of an argument's name.
90 | 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:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
103 |
104 | 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:111:31: error: 'Codable' is unavailable: unavailable in embedded Swift
109 |
110 | /// Kind of argument.
111 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
112 | /// Argument specified as a bare value on the command line.
113 | 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:86:31: error: 'Codable' is unavailable: unavailable in embedded Swift
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
87 | /// Information about an argument's name.
88 | 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:86:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
:
122 |
123 | /// Argument should appear in help displays.
124 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
125 | /// Custom name of argument's section.
126 | public var sectionTitle: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
127 |
128 | /// Argument can be omitted.
129 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
130 | /// Argument can be specified multiple times.
131 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
132 |
133 | /// All names of the argument.
134 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
135 | /// The best name to use when referring to the argument in help displays.
136 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
137 |
138 | /// Name of argument's value.
139 | public var valueName: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
140 | /// Default value of the argument is none is specified on the command line.
141 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
142 | // NOTE: this property will not be renamed to 'allValueStrings' to avoid
143 | // breaking compatibility with the current serialized format.
144 | /// List of all valid values.
145 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
146 | /// List of all valid values.
147 | public var allValueStrings: [String]? {
:
151 |
152 | /// Short description of the argument's functionality.
153 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
154 | /// Extended description of the argument's functionality.
155 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
156 |
157 | 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 |
BUILD FAILURE 6.2 wasm