Build Information
Failed to build Capriccio, reference master (12aac7), with Swift 6.3 for Wasm on 21 Apr 2026 07:21:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shibapm/capriccio.git
Reference: master
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/shibapm/capriccio
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 12aac7b Unhide dependencies
Cloned https://github.com/shibapm/capriccio.git
Revision (git rev-parse @):
12aac7b3dfd0747e73ce347b5b6c914d56c23101
SUCCESS checkout https://github.com/shibapm/capriccio.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/shibapm/capriccio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/f-meloni/TestSpy
Fetching https://github.com/shibapm/Rocket
[1/2048] Fetching testspy
[63/3434] Fetching testspy, rocket
[507/20858] Fetching testspy, rocket, swift-argument-parser
[2146/32409] Fetching testspy, rocket, swift-argument-parser, yams
[5803/52232] Fetching testspy, rocket, swift-argument-parser, yams, nimble
Fetched https://github.com/shibapm/Rocket from cache (0.74s)
[9288/50846] Fetching testspy, swift-argument-parser, yams, nimble
Fetching https://github.com/stencilproject/Stencil
[19110/66911] Fetching testspy, swift-argument-parser, yams, nimble, swift-snapshot-testing
[28471/72195] Fetching testspy, swift-argument-parser, yams, nimble, swift-snapshot-testing, stencil
Fetched https://github.com/apple/swift-argument-parser from cache (2.24s)
[15500/54771] Fetching testspy, yams, nimble, swift-snapshot-testing, stencil
Fetching https://github.com/iainsmith/SwiftGherkin
Fetched https://github.com/stencilproject/Stencil from cache (1.82s)
[23505/49487] Fetching testspy, yams, nimble, swift-snapshot-testing
[23604/50043] Fetching testspy, yams, nimble, swift-snapshot-testing, swiftgherkin
Fetched https://github.com/iainsmith/SwiftGherkin from cache (0.52s)
[24758/49487] Fetching testspy, yams, nimble, swift-snapshot-testing
Fetched https://github.com/Quick/Nimble from cache (7.12s)
Fetched https://github.com/jpsim/Yams.git from cache (7.14s)
Fetched https://github.com/f-meloni/TestSpy from cache (7.15s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (7.20s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (7.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.1.0 (0.51s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.13.1 (2.31s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1452] Fetching pathkit
[858/2473] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.30s)
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Computing version for https://github.com/iainsmith/SwiftGherkin
Computed https://github.com/iainsmith/SwiftGherkin at 0.2.0 (0.84s)
Fetching https://github.com/nicklockwood/Consumer.git
[1/591] Fetching consumer
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.27s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.5 (2.52s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 0.9.2 (4.70s)
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/f-meloni/Logger
[1/116] Fetching logger
[2/5007] Fetching logger, swiftshell
[3/5587] Fetching logger, swiftshell, packageconfig
Fetched https://github.com/f-meloni/Logger from cache (1.25s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (1.25s)
[1566/4891] Fetching swiftshell
Fetched https://github.com/kareman/SwiftShell from cache (1.42s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.3 (1.90s)
Computing version for https://github.com/f-meloni/TestSpy
Computed https://github.com/f-meloni/TestSpy at 0.5.0 (0.74s)
Fetching https://github.com/Quick/Quick
[1/14902] Fetching quick
Fetched https://github.com/Quick/Quick from cache (0.82s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (1.36s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.86s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.48s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.48s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (0.46s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 0.13.0 (0.45s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.45s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
[5465/80445] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (8.25s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.33s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (8.89s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.81s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (1.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.44s)
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.13.1
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 0.9.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.5
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Creating working copy for https://github.com/iainsmith/SwiftGherkin
Working copy of https://github.com/iainsmith/SwiftGherkin resolved at 0.2.0
Creating working copy for https://github.com/f-meloni/Logger
Working copy of https://github.com/f-meloni/Logger resolved at 0.2.3
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.1.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for https://github.com/f-meloni/TestSpy
Working copy of https://github.com/f-meloni/TestSpy resolved at 0.5.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.58s)
Building for debugging...
[0/25] Write sources
[8/25] Compiling reader.c
[9/25] Write swift-version-24593BA9C3E375BF.txt
[10/25] Compiling parser.c
[10/25] Compiling writer.c
[12/25] Compiling api.c
[13/25] Compiling emitter.c
[14/57] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/72] 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 |
[17/75] Emitting module Yams
[18/77] Compiling Yams Constructor.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 |
[19/77] Compiling Yams Decoder.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/77] Compiling Yams Emitter.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/77] Compiling Yams Encoder.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/77] Compiling Yams Mark.swift
[23/77] Compiling Yams Node.Mapping.swift
[24/77] Compiling ArgumentParser ArgumentSetSequence.swift
[25/77] Compiling ArgumentParser CommandParser.swift
[26/77] Compiling ArgumentParser InputOrigin.swift
[27/77] Compiling ArgumentParser Name.swift
[28/77] Compiling ArgumentParser ParsableCommand.swift
[29/77] Compiling ArgumentParser ArgumentDecoder.swift
[30/77] Compiling ArgumentParser ArgumentDefinition.swift
[31/77] Compiling ArgumentParser ArgumentSet.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 |
/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 |
[34/77] Compiling Yams Node.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 |
[35/77] Compiling Yams Parser.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 |
[36/77] Compiling Yams Node.Scalar.swift
[37/77] Compiling Yams Node.Sequence.swift
[38/77] Compiling Yams Representer.swift
[39/77] Compiling Yams Resolver.swift
[40/77] Compiling Yams String+Yams.swift
[41/77] Compiling Yams Tag.swift
[42/77] Compiling Yams YamlError.swift
[43/77] Compiling Yams shim.swift
[46/77] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:300:11: error: cannot find 'winsize' in scope
298 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
299 | #else
300 | var w = winsize()
| `- error: cannot find 'winsize' in scope
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
302 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:13: error: cannot find 'ioctl' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:19: error: cannot find 'STDOUT_FILENO' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:34: error: cannot find 'TIOCGWINSZ' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/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: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 |
[47/77] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:300:11: error: cannot find 'winsize' in scope
298 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
299 | #else
300 | var w = winsize()
| `- error: cannot find 'winsize' in scope
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
302 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:13: error: cannot find 'ioctl' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:19: error: cannot find 'STDOUT_FILENO' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:34: error: cannot find 'TIOCGWINSZ' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/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: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 |
[48/77] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:300:11: error: cannot find 'winsize' in scope
298 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
299 | #else
300 | var w = winsize()
| `- error: cannot find 'winsize' in scope
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
302 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:13: error: cannot find 'ioctl' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:19: error: cannot find 'STDOUT_FILENO' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:301:34: error: cannot find 'TIOCGWINSZ' in scope
299 | #else
300 | var w = winsize()
301 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
302 | let width = Int(w.ws_col)
303 | let height = Int(w.ws_row)
/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: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 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 | // it uses with `String(format:...)`
297 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 | // "%*.g" does not use scientific notation if the exponent is less than –4.
299 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 | // it uses with `String(format:...)`
297 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 | // "%*.g" does not use scientific notation if the exponent is less than –4.
299 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[57/77] Compiling ArgumentParser UsageGenerator.swift
[58/77] Compiling ArgumentParser StringExtensions.swift
[59/77] Compiling ArgumentParser Tree.swift
[60/77] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/77] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[62/77] Emitting module Consumer
BUILD FAILURE 6.3 wasm