Build Information
Failed to build swift-docker-cli, reference 0.4.0 (8c48fb
), with Swift 6.1 for Wasm on 27 May 2025 13:07:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iainsmith/swift-docker.git
Reference: 0.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/iainsmith/swift-docker
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 8c48fbc Add a repl command
Cloned https://github.com/iainsmith/swift-docker.git
Revision (git rev-parse @):
8c48fbc44d7ff44a06d44d2b338e279d8d8e1cde
SUCCESS checkout https://github.com/iainsmith/swift-docker.git at 0.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/iainsmith/swift-docker.git
https://github.com/iainsmith/swift-docker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-tools-support-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "swift-docker-cli",
"name" : "swift-docker-cli",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "swift-docker",
"targets" : [
"SwiftDocker"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftDocker",
"targets" : [
"SwiftDocker"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftDockerLibTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDockerLibTests",
"path" : "Tests/SwiftDockerLibTests",
"sources" : [
"BuildImageCommandUnitTests.swift",
"CLIOptionTests.swift",
"CleanupCommandUnitTests.swift",
"DockerCommandTests.swift",
"Mocks.swift",
"TestCommandUnitTests.swift",
"URLArgumentTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftDockerLib"
],
"type" : "test"
},
{
"c99name" : "SwiftDockerLib",
"module_type" : "SwiftTarget",
"name" : "SwiftDockerLib",
"path" : "Sources/SwiftDockerLib",
"product_dependencies" : [
"SwiftToolsSupport-auto",
"ArgumentParser"
],
"product_memberships" : [
"swift-docker",
"SwiftDocker"
],
"sources" : [
"ArgumentParserExtensions.swift",
"BuildCommand.swift",
"BuildImageCommand.swift",
"CLI.swift",
"CLIOptions.swift",
"CleanupCommand.swift",
"DocExamples.swift",
"DockerCommand.swift",
"DockerCommandsLegacy.swift",
"DockerHub.swift",
"DockerLabel.swift",
"DockerOutputRewriter.swift",
"DockerTag.swift",
"Dockerfile.swift",
"Errors.swift",
"Indent.swift",
"OutputDestination.swift",
"PackageMetadata.swift",
"ReplyCommand.swift",
"RunCommand.swift",
"ShellRunner.swift",
"SquareBracketsLineRewriter.swift",
"TSCLibExtensions.swift",
"TemporaryFile.swift",
"TestCommand.swift",
"VaporCommand.swift",
"WriteDockerfileCommand.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftDocker",
"module_type" : "SwiftTarget",
"name" : "SwiftDocker",
"path" : "Sources/SwiftDocker",
"product_memberships" : [
"swift-docker",
"SwiftDocker"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftDockerLib"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-tools-support-core
[1/15351] Fetching swift-argument-parser
[9980/22114] Fetching swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-argument-parser from cache (1.05s)
Fetched https://github.com/apple/swift-tools-support-core from cache (1.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (2.10s)
Computing version for https://github.com/apple/swift-tools-support-core
Computed https://github.com/apple/swift-tools-support-core at 0.1.12 (0.59s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
Creating working copy for https://github.com/apple/swift-tools-support-core
Working copy of https://github.com/apple/swift-tools-support-core resolved at 0.1.12
Building for debugging...
[0/17] Write sources
[6/17] Compiling TSCclibc process.c
[7/17] Compiling TSCclibc libc.c
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/47] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
62 | }
63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 | ) -> Never {
164 | guard let error = error else {
165 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
166 | }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 | }
175 | }
176 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
177 | }
178 |
[11/47] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
62 | }
63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 | ) -> Never {
164 | guard let error = error else {
165 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
166 | }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 | }
175 | }
176 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
177 | }
178 |
[12/47] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
62 | }
63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 | ) -> Never {
164 | guard let error = error else {
165 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
166 | }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 | }
175 | }
176 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
177 | }
178 |
[13/47] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:31: error: cannot find 'putc' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:55: error: cannot find 'stderr' in scope
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
62 | }
63 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:61:36: error: generic parameter 'U' could not be inferred
59 | struct StandardError: TextOutputStream {
60 | mutating func write(_ string: String) {
61 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
62 | }
63 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:165:7: error: cannot find '_exit' in scope
163 | ) -> Never {
164 | guard let error = error else {
165 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
166 | }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:176:5: error: cannot find '_exit' in scope
174 | }
175 | }
176 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
177 | }
178 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/50] Compiling ArgumentParser NameSpecification.swift
[15/50] Compiling ArgumentParser Option.swift
[16/50] Compiling ArgumentParser OptionGroup.swift
[17/50] Compiling ArgumentParser CommandConfiguration.swift
[18/50] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[19/50] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[20/50] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[21/50] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[22/50] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[23/50] Compiling ArgumentParser ArgumentSetSequence.swift
[24/50] Compiling ArgumentParser CommandParser.swift
[25/50] Compiling ArgumentParser InputOrigin.swift
[26/50] Compiling ArgumentParser Name.swift
[27/50] Compiling ArgumentParser ParsableCommand.swift
[28/50] Compiling ArgumentParser ArgumentDecoder.swift
[29/50] Compiling ArgumentParser ArgumentDefinition.swift
[30/50] Compiling ArgumentParser ArgumentSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/50] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
[32/50] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/39] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/39] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
15 | @_exported import WinSDK
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | #endif
19 |
BUILD FAILURE 6.1 wasm