Build Information
Failed to build XPkg, reference v2.4.0 (75ac7a), with Swift 6.2 for Wasm on 4 Dec 2025 18:05:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Xpkg.git
Reference: v2.4.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/elegantchaos/Xpkg
* tag v2.4.0 -> FETCH_HEAD
HEAD is now at 75ac7ad added header
Cloned https://github.com/elegantchaos/Xpkg.git
Revision (git rev-parse @):
75ac7ad3d413a00823163b771384406000f4c4b7
SUCCESS checkout https://github.com/elegantchaos/Xpkg.git at v2.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/elegantchaos/Xpkg.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/Files.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/XPkgPackage.git
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/Logger.git
[1/152] Fetching semanticversion
[153/839] Fetching semanticversion, files
[449/1549] Fetching semanticversion, files, runner
[1181/3761] Fetching semanticversion, files, runner, logger
[1596/4220] Fetching semanticversion, files, runner, logger, versionator
[3447/4449] Fetching semanticversion, files, runner, logger, versionator, xpkgpackage
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.38s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.38s)
Fetched https://github.com/elegantchaos/Files.git from cache (0.39s)
Fetched https://github.com/elegantchaos/XPkgPackage.git from cache (0.38s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.39s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.38s)
Fetching https://github.com/elegantchaos/Expressions.git
Fetching https://github.com/elegantchaos/CommandShell.git
[1/198] Fetching expressions
[97/552] Fetching expressions, commandshell
Fetched https://github.com/elegantchaos/Expressions.git from cache (0.22s)
Fetched https://github.com/elegantchaos/CommandShell.git from cache (0.23s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (1.10s)
Computing version for https://github.com/elegantchaos/XPkgPackage.git
Computed https://github.com/elegantchaos/XPkgPackage.git at 1.2.0 (0.52s)
Computing version for https://github.com/elegantchaos/Files.git
Computed https://github.com/elegantchaos/Files.git at 1.2.2 (0.57s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.25s)
Computing version for https://github.com/elegantchaos/Expressions.git
Computed https://github.com/elegantchaos/Expressions.git at 1.1.1 (0.67s)
Computing version for https://github.com/elegantchaos/CommandShell.git
Computed https://github.com/elegantchaos/CommandShell.git at 2.1.5 (0.50s)
Fetching https://github.com/apple/swift-argument-parser
[1/16877] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (1.32s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.47s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.57s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.50s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/166] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.23s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.49s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
Creating working copy for https://github.com/elegantchaos/CommandShell.git
Working copy of https://github.com/elegantchaos/CommandShell.git resolved at 2.1.5
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/Expressions.git
Working copy of https://github.com/elegantchaos/Expressions.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/Files.git
Working copy of https://github.com/elegantchaos/Files.git resolved at 1.2.2
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/XPkgPackage.git
Working copy of https://github.com/elegantchaos/XPkgPackage.git resolved at 1.2.0
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module Runner
[5/9] Compiling Runner Runner.swift
[6/11] Wrapping AST for Runner for debugging
[8/12] Emitting module VersionatorTool
[9/12] Compiling VersionatorTool VersionatorTool.swift
[10/13] Wrapping AST for VersionatorTool for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking VersionatorTool-tool
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/33] Write sources
[13/33] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/45] Emitting module Runner
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:7:8: error: no such module 'Foundation'
5 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | open class Runner {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/45] Emitting module Expressions
/host/spi-builder-workspace/.build/checkouts/Expressions/Sources/Expressions/Expressions.swift:6:8: error: no such module 'Foundation'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/45] Emitting module ArgumentParserToolInfo
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:15: error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
21 | public var serializationVersion: Int
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
22 |
23 | public init(serializationVersion: Int) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:31: error: 'Decodable' is unavailable: unavailable in embedded Swift
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
| `- note: 'Decodable' has been explicitly marked unavailable here
3 | init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:27: error: 'Codable' is unavailable: unavailable in embedded Swift
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Decodable'
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: type 'CommandInfoV0' does not conform to protocol 'Decodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
47 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[CommandInfoV0]?' does not conform to 'Decodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[ArgumentInfoV0]?' does not conform to 'Decodable'
62 |
63 | public init(
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:30: error: 'Codable' is unavailable: unavailable in embedded Swift
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
47 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
62 |
63 | public init(
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:86:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
:
122 |
123 | /// Argument should appear in help displays.
124 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
125 | /// Argument can be omitted.
126 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
127 | /// Argument can be specified multiple times.
128 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
129 |
130 | /// All names of the argument.
131 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
132 | /// The best name to use when referring to the argument in help displays.
133 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
134 |
135 | /// Name of argument's value.
136 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
137 | /// Default value of the argument is none is specified on the command line.
138 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
139 | /// List of all valid values.
140 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
141 |
142 | /// Short description of the argument's functionality.
143 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
144 | /// Extended description of the argument's functionality.
145 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
146 |
147 | public init(
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
103 |
104 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:90:33: error: 'Codable' is unavailable: unavailable in embedded Swift
88 | public struct NameInfoV0: Codable, Hashable {
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
91 | /// A multi-character name preceded by two dashes.
92 | case long
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:88:29: error: 'Codable' is unavailable: unavailable in embedded Swift
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
103 |
104 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:111:31: error: 'Codable' is unavailable: unavailable in embedded Swift
109 |
110 | /// Kind of argument.
111 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
112 | /// Argument specified as a bare value on the command line.
113 | case positional
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:86:31: error: 'Codable' is unavailable: unavailable in embedded Swift
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:86:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Encodable'
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
:
122 |
123 | /// Argument should appear in help displays.
124 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
125 | /// Argument can be omitted.
126 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
127 | /// Argument can be specified multiple times.
128 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Encodable' because 'Bool' does not conform to 'Encodable'
129 |
130 | /// All names of the argument.
131 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[NameInfoV0]?' does not conform to 'Encodable'
132 | /// The best name to use when referring to the argument in help displays.
133 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Encodable' because 'NameInfoV0?' does not conform to 'Encodable'
134 |
135 | /// Name of argument's value.
136 | public var valueName: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
137 | /// Default value of the argument is none is specified on the command line.
138 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
139 | /// List of all valid values.
140 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
141 |
142 | /// Short description of the argument's functionality.
143 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
144 | /// Extended description of the argument's functionality.
145 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
146 |
147 | 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 |
[17/45] Wrapping AST for Runner for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/45] Emitting module SemanticVersion
/host/spi-builder-workspace/.build/checkouts/SemanticVersion/Sources/SemanticVersion/SemanticVersion+Comparabl.swift:6:8: error: no such module 'Foundation'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | extension SemanticVersion: Comparable {
[19/45] Wrapping AST for VersionatorTool for debugging
[20/45] Write Objects.LinkFileList
[21/45] Linking VersionatorTool-tool
[22/45] Calculating Version
[23/45] Write sources
[25/45] Compiling Runner Runner.swift
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:7:8: error: no such module 'Foundation'
5 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 |
9 | open class Runner {
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:15: error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: type 'ToolInfoHeader' does not conform to protocol 'Decodable'
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
21 | public var serializationVersion: Int
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
22 |
23 | public init(serializationVersion: Int) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:18:31: error: 'Decodable' is unavailable: unavailable in embedded Swift
16 |
17 | /// Header used to validate serialization version of an encoded ToolInfo struct.
18 | public struct ToolInfoHeader: Decodable {
| `- error: 'Decodable' is unavailable: unavailable in embedded Swift
19 | /// A sentinel value indicating the version of the ToolInfo struct used to
20 | /// generate the serialized form.
Swift.Decodable:2:17: note: 'Decodable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decodable {
| `- note: 'Decodable' has been explicitly marked unavailable here
3 | init(from decoder: any Decoder) throws
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Decodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Decodable' because 'Int' does not conform to 'Decodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:27: error: 'Codable' is unavailable: unavailable in embedded Swift
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
28 | /// Top-level structure containing serialization version and information for all
29 | /// commands in a tool.
30 | public struct ToolInfoV0: Codable, Hashable {
| `- error: type 'ToolInfoV0' does not conform to protocol 'Encodable'
31 | /// A sentinel value indicating the version of the ToolInfo struct used to
32 | /// generate the serialized form.
33 | public var serializationVersion = 0
| `- note: cannot automatically synthesize 'Encodable' because 'Int' does not conform to 'Encodable'
34 | /// Root command of the tool.
35 | public var command: CommandInfoV0
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Decodable'
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: type 'CommandInfoV0' does not conform to protocol 'Decodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
47 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[CommandInfoV0]?' does not conform to 'Decodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[ArgumentInfoV0]?' does not conform to 'Decodable'
62 |
63 | public init(
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:30: error: 'Codable' is unavailable: unavailable in embedded Swift
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:44:15: error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
42 | /// All information about a particular command, including arguments and
43 | /// subcommands.
44 | public struct CommandInfoV0: Codable, Hashable {
| `- error: type 'CommandInfoV0' does not conform to protocol 'Encodable'
45 | /// Super commands and tools.
46 | public var superCommands: [String]?
| `- note: cannot automatically synthesize 'Encodable' because '[String]?' does not conform to 'Encodable'
47 |
48 | /// Name used to invoke the command.
49 | public var commandName: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
50 | /// Short description of the command's functionality.
51 | public var abstract: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
52 | /// Extended description of the command's functionality.
53 | public var discussion: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
54 |
55 | /// Optional name of the subcommand invoked when the command is invoked with
56 | /// no arguments.
57 | public var defaultSubcommand: String?
| `- note: cannot automatically synthesize 'Encodable' because 'String?' does not conform to 'Encodable'
58 | /// List of nested commands.
59 | public var subcommands: [CommandInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[CommandInfoV0]?' does not conform to 'Encodable'
60 | /// List of supported arguments.
61 | public var arguments: [ArgumentInfoV0]?
| `- note: cannot automatically synthesize 'Encodable' because '[ArgumentInfoV0]?' does not conform to 'Encodable'
62 |
63 | public init(
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:86:15: error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0' does not conform to protocol 'Decodable'
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
:
122 |
123 | /// Argument should appear in help displays.
124 | public var shouldDisplay: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
125 | /// Argument can be omitted.
126 | public var isOptional: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
127 | /// Argument can be specified multiple times.
128 | public var isRepeating: Bool
| `- note: cannot automatically synthesize 'Decodable' because 'Bool' does not conform to 'Decodable'
129 |
130 | /// All names of the argument.
131 | public var names: [NameInfoV0]?
| `- note: cannot automatically synthesize 'Decodable' because '[NameInfoV0]?' does not conform to 'Decodable'
132 | /// The best name to use when referring to the argument in help displays.
133 | public var preferredName: NameInfoV0?
| `- note: cannot automatically synthesize 'Decodable' because 'NameInfoV0?' does not conform to 'Decodable'
134 |
135 | /// Name of argument's value.
136 | public var valueName: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
137 | /// Default value of the argument is none is specified on the command line.
138 | public var defaultValue: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
139 | /// List of all valid values.
140 | public var allValues: [String]?
| `- note: cannot automatically synthesize 'Decodable' because '[String]?' does not conform to 'Decodable'
141 |
142 | /// Short description of the argument's functionality.
143 | public var abstract: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
144 | /// Extended description of the argument's functionality.
145 | public var discussion: String?
| `- note: cannot automatically synthesize 'Decodable' because 'String?' does not conform to 'Decodable'
146 |
147 | public init(
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Decodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
103 |
104 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:90:33: error: 'Codable' is unavailable: unavailable in embedded Swift
88 | public struct NameInfoV0: Codable, Hashable {
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
91 | /// A multi-character name preceded by two dashes.
92 | case long
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:88:29: error: 'Codable' is unavailable: unavailable in embedded Swift
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:88:17: error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
86 | public struct ArgumentInfoV0: Codable, Hashable {
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
| `- error: type 'ArgumentInfoV0.NameInfoV0' does not conform to protocol 'Encodable'
89 | /// Kind of prefix of an argument's name.
90 | public enum KindV0: String, Codable, Hashable {
:
100 | public var kind: KindV0
101 | /// Single or multi-character name of the argument.
102 | public var name: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
103 |
104 | public init(kind: NameInfoV0.KindV0, name: String) {
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:111:31: error: 'Codable' is unavailable: unavailable in embedded Swift
109 |
110 | /// Kind of argument.
111 | public enum KindV0: String, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
112 | /// Argument specified as a bare value on the command line.
113 | case positional
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift:86:31: error: 'Codable' is unavailable: unavailable in embedded Swift
84 | /// All information about a particular argument, including display names and
85 | /// options.
86 | public struct ArgumentInfoV0: Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
87 | /// Information about an argument's name.
88 | public struct NameInfoV0: Codable, Hashable {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/45] Emitting module Files
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files/FileManager+Directories.swift:6:8: error: no such module 'Foundation'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | public extension FileManager {
BUILD FAILURE 6.2 wasm