The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gir2swift, reference 18.0.0 (fc0802), with Swift 6.2 for Wasm on 11 Mar 2026 21:05:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/gir2swift.git
Reference: 18.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/rhx/gir2swift
 * tag               18.0.0     -> FETCH_HEAD
HEAD is now at fc08021 Pin SwiftLibXML to 3.0.1 for release
Cloned https://github.com/rhx/gir2swift.git
Revision (git rev-parse @):
fc080218679acca3be073f77485d6ac29ea11733
SUCCESS checkout https://github.com/rhx/gir2swift.git at 18.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rhx/gir2swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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/mipalgu/swift-docc-static
[1/577] Fetching swift-docc-static
Fetched https://github.com/mipalgu/swift-docc-static from cache (0.48s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/97710] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (5.43s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/7132] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.90s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10372] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (4.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3669] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git from cache (1.92s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18322] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.67s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/rhx/SwiftLibXML.git
[1/17202] Fetching swift-argument-parser
[1034/17583] Fetching swift-argument-parser, swiftlibxml
[2275/23184] Fetching swift-argument-parser, swiftlibxml, swift-system
[2448/25735] Fetching swift-argument-parser, swiftlibxml, swift-system, swift-subprocess
[2733/37240] Fetching swift-argument-parser, swiftlibxml, swift-system, swift-subprocess, yams
[15877/54486] Fetching swift-argument-parser, swiftlibxml, swift-system, swift-subprocess, yams, swift-crypto
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.60s)
[23527/54105] Fetching swift-argument-parser, swift-system, swift-subprocess, yams, swift-crypto
Fetching https://github.com/apple/swift-nio.git
[37952/136892] Fetching swift-argument-parser, swift-system, swift-subprocess, yams, swift-crypto, swift-nio
Fetched https://github.com/jpsim/Yams.git from cache (2.00s)
[64953/125387] Fetching swift-argument-parser, swift-system, swift-subprocess, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (2.51s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (2.51s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.52s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.55s)
[36427/82787] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.50s)
Computing version for https://github.com/rhx/SwiftLibXML.git
Computed https://github.com/rhx/SwiftLibXML.git at 3.0.1 (7.58s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.41s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (0.94s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[602/24113] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
[2007/22293] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.80s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.29s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (1.03s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.75s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.99s)
Creating working copy for https://github.com/swiftlang/swift-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (1047d41)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.95.0
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at 3.0.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit.git
Working copy of https://github.com/swiftlang/swift-docc-symbolkit.git resolved at main (4c4ff01)
Creating working copy for https://github.com/mipalgu/swift-docc-static
Working copy of https://github.com/mipalgu/swift-docc-static resolved at main (cf48b91)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (55d66d9)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.0
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.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (924936d)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (a4bc878)
[1/1] Compiling plugin gir2swift-plugin
[2/2] Compiling plugin GenerateStaticDocumentation
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/45] Write sources
[14/45] Compiling reader.c
[15/45] Compiling writer.c
[17/45] Compiling api.c
[18/45] Compiling parser.c
[19/45] Compiling reader.c
[20/45] Write sources
[22/45] Compiling emitter.c
[23/45] Write swift-version-24593BA9C3E375BF.txt
[24/45] Compiling parser.c
[25/56] Compiling scanner.c
[26/58] Compiling api.c
[27/58] Compiling emitter.c
[28/73] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/73] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/75] Emitting module SwiftLibXML
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2_bridging.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:16:12: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:16:
14 | //   <libxml/…>          — when pkg-config adds the libxml2/ dir itself (e.g. MSYS2)
15 | #if __has_include(<libxml2/libxml/xmlreader.h>)
16 | #  include <libxml2/libxml/xmlreader.h>
   |            `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:16:
17 | #  include <libxml2/libxml/parser.h>
18 | #  include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h:14:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h:14:
 12 |
 13 | #include <libxml/xmlversion.h>
 14 | #include <libxml/tree.h>
    |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h:14:
 15 | #include <libxml/xmlIO.h>
 16 | #ifdef LIBXML_SCHEMAS_ENABLED
/usr/include/libxml2/libxml/tree.h:1307:10: note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1305 | #endif
1306 | #ifndef __XML_PARSER_H__
1307 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1308 | #endif
1309 |
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:9:12: error: could not build C module 'CLibXML2'
 7 | //
 8 | #if !canImport(Darwin)
 9 |     import CLibXML2
   |            `- error: could not build C module 'CLibXML2'
10 | #else
11 |     import Darwin
[32/75] 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 | }
[33/75] Emitting module ArgumentParserToolInfo
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2_bridging.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:16:12: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:16:
14 | //   <libxml/…>          — when pkg-config adds the libxml2/ dir itself (e.g. MSYS2)
15 | #if __has_include(<libxml2/libxml/xmlreader.h>)
16 | #  include <libxml2/libxml/xmlreader.h>
   |            `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/CLibXML2/libxml2_bridging.h:16:
17 | #  include <libxml2/libxml/parser.h>
18 | #  include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h:14:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h:14:
 12 |
 13 | #include <libxml/xmlversion.h>
 14 | #include <libxml/tree.h>
    |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h:14:
 15 | #include <libxml/xmlIO.h>
 16 | #ifdef LIBXML_SCHEMAS_ENABLED
/usr/include/libxml2/libxml/tree.h:1307:10: note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1305 | #endif
1306 | #ifndef __XML_PARSER_H__
1307 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1308 | #endif
1309 |
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
BUILD FAILURE 6.2 wasm