The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XCResource, reference 0.1.4 (a044a3), with Swift 6.3 for Wasm on 12 Apr 2026 11:36:25 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/faberNovel/xcresource-cli.git
Reference: 0.1.4
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/faberNovel/xcresource-cli
 * tag               0.1.4      -> FETCH_HEAD
HEAD is now at a044a32 Update changelog
Cloned https://github.com/faberNovel/xcresource-cli.git
Revision (git rev-parse @):
a044a3247f7fa07d8cef9ab0509505c59b166b1d
SUCCESS checkout https://github.com/faberNovel/xcresource-cli.git at 0.1.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/faberNovel/xcresource-cli.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/apple/swift-argument-parser
[1/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.12s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.79s)
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
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/44] Emitting module ArgumentParserToolInfo
[7/44] Emitting module XCResource
[8/48] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/49] Wrapping AST for ArgumentParserToolInfo for debugging
[11/83] Compiling ArgumentParser ParsableArguments.swift
[12/83] Compiling ArgumentParser ParsableArgumentsValidation.swift
[13/83] Compiling ArgumentParser ParsableCommand.swift
[14/83] Compiling ArgumentParser ArgumentDecoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/83] 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 |
[16/83] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[17/83] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[18/83] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[19/83] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[20/83] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[21/83] Compiling ArgumentParser ArgumentDefinition.swift
[22/83] Compiling ArgumentParser ArgumentHelp.swift
[23/83] Compiling ArgumentParser CompletionKind.swift
[24/83] Compiling ArgumentParser Errors.swift
[25/83] Compiling ArgumentParser ParserError.swift
[26/83] Compiling ArgumentParser SplitArguments.swift
[27/83] Compiling ArgumentParser DumpHelpGenerator.swift
[28/83] Compiling ArgumentParser ArgumentSet.swift
[29/83] Compiling ArgumentParser Flag.swift
[30/83] Compiling ArgumentParser NameSpecification.swift
[31/83] Compiling ArgumentParser Option.swift
[32/83] Compiling ArgumentParser OptionGroup.swift
[33/83] Compiling ArgumentParser CommandConfiguration.swift
[34/83] Compiling ArgumentParser EnumerableFlag.swift
[35/83] Compiling ArgumentParser ExpressibleByArgument.swift
[36/83] Compiling XCResource XCTemplatesDownloader.swift
[37/83] Compiling ArgumentParser CommandParser.swift
[38/83] Compiling ArgumentParser InputOrigin.swift
[39/83] Compiling ArgumentParser Name.swift
[40/83] Compiling ArgumentParser Parsed.swift
[41/87] Compiling ArgumentParser HelpCommand.swift
[42/87] Compiling ArgumentParser HelpGenerator.swift
[43/87] Compiling ArgumentParser MessageInfo.swift
[44/87] Compiling ArgumentParser UsageGenerator.swift
[45/87] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
BUILD FAILURE 6.3 wasm