Build Information
Failed to build Breeze, reference main (27c5a8), with Swift 6.2 for Wasm on 18 Oct 2025 04:09:27 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/swift-serverless/Breeze.git
Reference: main
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/swift-serverless/Breeze
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 27c5a85 Update to awslabs (#22)
Cloned https://github.com/swift-serverless/Breeze.git
Revision (git rev-parse @):
27c5a853e2d67039d29891a68ae2be4edd32ae7d
SUCCESS checkout https://github.com/swift-serverless/Breeze.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-serverless/Breeze.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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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/tuist/Noora.git
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swift-serverless/swift-sls-adapter
[1/219] Fetching swift-sls-adapter
[220/5512] Fetching swift-sls-adapter, stencil
[379/22194] Fetching swift-sls-adapter, stencil, swift-argument-parser
Fetched https://github.com/swift-serverless/swift-sls-adapter from cache (0.34s)
[213/21975] Fetching stencil, swift-argument-parser
[532/36490] Fetching stencil, swift-argument-parser, noora
Fetched https://github.com/stencilproject/Stencil.git from cache (1.14s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.16s)
[3837/14515] Fetching noora
Fetched https://github.com/tuist/Noora.git from cache (6.91s)
Computing version for https://github.com/swift-serverless/swift-sls-adapter
Computed https://github.com/swift-serverless/swift-sls-adapter at 0.2.1 (9.44s)
Fetching https://github.com/jpsim/Yams.git
[1/11269] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.41s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.90s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[165/2459] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.36s)
Fetched https://github.com/kylef/PathKit.git from cache (0.36s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.81s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.68s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.49.1 (0.40s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-log
[1/1339] Fetching rainbow
[537/5290] Fetching rainbow, swift-log
[1055/5664] Fetching rainbow, swift-log, path
Fetched https://github.com/tuist/path from cache (0.34s)
Fetched https://github.com/onevcat/Rainbow from cache (0.41s)
Fetched https://github.com/apple/swift-log from cache (0.41s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.90s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.48s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.95s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.45s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.42s)
Creating working copy for https://github.com/swift-serverless/swift-sls-adapter
Working copy of https://github.com/swift-serverless/swift-sls-adapter resolved at 0.2.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.49.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
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.6.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/36] Write sources
[13/36] Copying Resources
[14/36] Compiling reader.c
[15/36] Compiling writer.c
[16/36] Write swift-version-24593BA9C3E375BF.txt
[17/36] Compiling api.c
[18/38] Compiling parser.c
[19/46] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/46] 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 | }
[21/46] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/46] Emitting module Path
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:311:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
309 |
310 | extension AbsolutePath: Codable {
311 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
312 | var container = encoder.singleValueContainer()
313 | try container.encode(pathString)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:316:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
314 | }
315 |
316 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
317 | let container = try decoder.singleValueContainer()
318 | try self.init(validating: container.decode(String.self))
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/path/Sources/Path/Path.swift:310:25: error: 'Codable' is unavailable: unavailable in embedded Swift
308 | }
309 |
310 | extension AbsolutePath: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
311 | public func encode(to encoder: Encoder) throws {
312 | var container = encoder.singleValueContainer()
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/path/Sources/Path/Path.swift:323:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
321 |
322 | extension RelativePath: Codable {
323 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
324 | var container = encoder.singleValueContainer()
325 | try container.encode(pathString)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:328:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
326 | }
327 |
328 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
329 | let container = try decoder.singleValueContainer()
330 | try self.init(validating: container.decode(String.self))
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/path/Sources/Path/Path.swift:322:25: error: 'Codable' is unavailable: unavailable in embedded Swift
320 | }
321 |
322 | extension RelativePath: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
323 | public func encode(to encoder: Encoder) throws {
324 | var container = encoder.singleValueContainer()
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/path/Sources/Path/Path.swift:313:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
311 | public func encode(to encoder: Encoder) throws {
312 | var container = encoder.singleValueContainer()
313 | try container.encode(pathString)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
314 | }
315 |
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:318:45: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
316 | public init(from decoder: Decoder) throws {
317 | let container = try decoder.singleValueContainer()
318 | try self.init(validating: container.decode(String.self))
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
319 | }
320 | }
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:325:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
323 | public func encode(to encoder: Encoder) throws {
324 | var container = encoder.singleValueContainer()
325 | try container.encode(pathString)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
326 | }
327 |
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:330:45: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
328 | public init(from decoder: Decoder) throws {
329 | let container = try decoder.singleValueContainer()
330 | try self.init(validating: container.decode(String.self))
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
331 | }
332 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/46] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
40 | import Musl
41 | #else
42 | #error("Unsupported runtime")
| `- error: Unsupported runtime
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
56 | UnsafeMutablePointer.allocate(capacity: 1)
57 | #else
58 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 | fileprivate var shared: Bool = true
160 | #else
161 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
162 | UnsafeMutablePointer.allocate(capacity: 1)
163 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
67 | InitializeSRWLock(self.mutex)
68 | #else
69 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
68 | #else
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
83 | self.mutex.deallocate()
84 | #else
85 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
86 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
87 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
99 | AcquireSRWLockExclusive(self.mutex)
100 | #else
101 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
102 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 | ReleaseSRWLockExclusive(self.mutex)
115 | #else
116 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
117 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 | self.rwlock.deallocate()
183 | #else
184 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
185 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 | self.shared = true
200 | #else
201 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 | self.shared = false
216 | #else
217 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 | }
236 | #else
237 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
238 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// tracing the execution of a program.
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-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1550:48: error: 'description' is unavailable: unavailable in embedded Swift
1548 | return dict.mapValues { $0.description }.description
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1551 | case .string(let str):
1552 | return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/48] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/48] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[27/48] 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: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 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:42:8: error: Unsupported runtime
40 | import Musl
41 | #else
42 | #error("Unsupported runtime")
| `- error: Unsupported runtime
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:32:8: error: Unsupported runtime
30 | import WASILibc
31 | #else
32 | #error("Unsupported runtime")
| `- error: Unsupported runtime
33 | #endif
34 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1270:16: error: Unsupported runtime
1268 | let systemStderr = WASILibc.stderr!
1269 | #else
1270 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1290:16: error: Unsupported runtime
1288 | let systemStdout = WASILibc.stdout!
1289 | #else
1290 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:58:49: error: cannot find type 'pthread_mutex_t' in scope
56 | UnsafeMutablePointer.allocate(capacity: 1)
57 | #else
58 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:161:50: error: cannot find type 'pthread_rwlock_t' in scope
159 | fileprivate var shared: Bool = true
160 | #else
161 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
162 | UnsafeMutablePointer.allocate(capacity: 1)
163 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:69:20: error: cannot find 'pthread_mutexattr_t' in scope
67 | InitializeSRWLock(self.mutex)
68 | #else
69 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:70:9: error: cannot find 'pthread_mutexattr_init' in scope
68 | #else
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:9: error: cannot find 'pthread_mutexattr_settype' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:71:43: error: cannot infer contextual base in reference to member 'init'
69 | var attr = pthread_mutexattr_t()
70 | pthread_mutexattr_init(&attr)
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:73:19: error: cannot find 'pthread_mutex_init' in scope
71 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:85:19: error: cannot find 'pthread_mutex_destroy' in scope
83 | self.mutex.deallocate()
84 | #else
85 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
86 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
87 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_lock' in scope
99 | AcquireSRWLockExclusive(self.mutex)
100 | #else
101 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
102 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:116:19: error: cannot find 'pthread_mutex_unlock' in scope
114 | ReleaseSRWLockExclusive(self.mutex)
115 | #else
116 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
117 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
118 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:19: error: cannot find 'pthread_rwlock_init' in scope
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:172:52: error: 'nil' requires a contextual type
170 | InitializeSRWLock(self.rwlock)
171 | #else
172 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
173 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
174 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:184:19: error: cannot find 'pthread_rwlock_destroy' in scope
182 | self.rwlock.deallocate()
183 | #else
184 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
185 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
186 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_rdlock' in scope
199 | self.shared = true
200 | #else
201 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
202 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:217:19: error: cannot find 'pthread_rwlock_wrlock' in scope
215 | self.shared = false
216 | #else
217 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
218 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
219 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:237:19: error: cannot find 'pthread_rwlock_unlock' in scope
235 | }
236 | #else
237 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
238 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
239 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:847:32: error: 'Codable' is unavailable: unavailable in embedded Swift
845 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
846 | /// `.critical` being the most severe.
847 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
848 | /// Appropriate for messages that contain information normally of use only when
849 | /// tracing the execution of a program.
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-log/Sources/Logging/Logging.swift:1209:56: error: cannot find type 'FILE' in scope
1207 | internal typealias CFilePointer = OpaquePointer
1208 | #else
1209 | internal typealias CFilePointer = UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
1210 | #endif
1211 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:40: error: cannot find 'systemStderr' in scope
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot find 'systemStderr' in scope
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1272:66: error: cannot infer contextual base in reference to member 'always'
1270 | #error("Unsupported runtime")
1271 | #endif
1272 | return StdioOutputStream(file: systemStderr, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1273 | }()
1274 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:40: error: cannot find 'systemStdout' in scope
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot find 'systemStdout' in scope
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1292:66: error: cannot infer contextual base in reference to member 'always'
1290 | #error("Unsupported runtime")
1291 | #endif
1292 | return StdioOutputStream(file: systemStdout, flushMode: .always)
| `- error: cannot infer contextual base in reference to member 'always'
1293 | }()
1294 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1226:13: error: cannot find 'flockfile' in scope
1224 | // no file locking on WASI
1225 | #else
1226 | flockfile(self.file)
| `- error: cannot find 'flockfile' in scope
1227 | #endif
1228 | defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1237:17: error: cannot find 'fwrite' in scope
1235 | #endif
1236 | }
1237 | _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
| `- error: cannot find 'fwrite' in scope
1238 | if case .always = self.flushMode {
1239 | self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1246:13: error: cannot find 'fflush' in scope
1244 | /// Flush the underlying stream.
1245 | internal func flush() {
1246 | _ = fflush(self.file)
| `- error: cannot find 'fflush' in scope
1247 | }
1248 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:25: error: cannot find 'time' in scope
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1447:30: error: 'nil' requires a contextual type
1445 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1446 | #else
1447 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1448 | guard let localTime = localtime(×tamp) else {
1449 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1448:31: error: cannot find 'localtime' in scope
1446 | #else
1447 | var timestamp = time(nil)
1448 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1449 | return "<unknown>"
1450 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1451:9: error: cannot find 'strftime' in scope
1449 | return "<unknown>"
1450 | }
1451 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1452 | #endif
1453 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1548:54: error: 'description' is unavailable: unavailable in embedded Swift
1546 | switch self {
1547 | case .dictionary(let dict):
1548 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1549 | case .array(let list):
1550 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:311:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
309 |
310 | extension AbsolutePath: Codable {
311 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
312 | var container = encoder.singleValueContainer()
313 | try container.encode(pathString)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:316:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
314 | }
315 |
316 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
317 | let container = try decoder.singleValueContainer()
318 | try self.init(validating: container.decode(String.self))
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/path/Sources/Path/Path.swift:310:25: error: 'Codable' is unavailable: unavailable in embedded Swift
308 | }
309 |
310 | extension AbsolutePath: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
311 | public func encode(to encoder: Encoder) throws {
312 | var container = encoder.singleValueContainer()
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/path/Sources/Path/Path.swift:323:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
321 |
322 | extension RelativePath: Codable {
323 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
324 | var container = encoder.singleValueContainer()
325 | try container.encode(pathString)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:328:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
326 | }
327 |
328 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
329 | let container = try decoder.singleValueContainer()
330 | try self.init(validating: container.decode(String.self))
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/path/Sources/Path/Path.swift:322:25: error: 'Codable' is unavailable: unavailable in embedded Swift
320 | }
321 |
322 | extension RelativePath: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
323 | public func encode(to encoder: Encoder) throws {
324 | var container = encoder.singleValueContainer()
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/path/Sources/Path/Path.swift:313:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
311 | public func encode(to encoder: Encoder) throws {
312 | var container = encoder.singleValueContainer()
313 | try container.encode(pathString)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
314 | }
315 |
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:318:45: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
316 | public init(from decoder: Decoder) throws {
317 | let container = try decoder.singleValueContainer()
318 | try self.init(validating: container.decode(String.self))
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
319 | }
320 | }
/host/spi-builder-workspace/.build/checkouts/path/Sources/Path/Path.swift:325:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
323 | public func encode(to encoder: Encoder) throws {
324 | var container = encoder.singleValueContainer()
325 | try container.encode(pathString)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
326 | }
327 |
BUILD FAILURE 6.2 wasm