Build Information
Failed to build Bariloche, reference 1.0.4 (507f41), with Swift 6.3 for Wasm on 21 Apr 2026 06:45:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/subito-it/bariloche.git
Reference: 1.0.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/subito-it/bariloche
* tag 1.0.4 -> FETCH_HEAD
HEAD is now at 507f412 Show help when needed #2
Cloned https://github.com/subito-it/bariloche.git
Revision (git rev-parse @):
507f4121d2a7479522908dabf83aed78a6e5e268
SUCCESS checkout https://github.com/subito-it/bariloche.git at 1.0.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/subito-it/bariloche.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/onevcat/Rainbow
[1/1442] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.32s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (3.42s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/20] Compiling Rainbow Style.swift
[6/21] Compiling Rainbow StringGenerator.swift
[7/21] Compiling Rainbow XcodeColorsSupport.swift
[8/21] Compiling Rainbow String+Rainbow.swift
[9/21] Compiling Rainbow Rainbow.swift
[10/21] Compiling Rainbow Color.swift
[11/21] Compiling Rainbow ControlCode.swift
[12/21] Compiling Rainbow BackgroundColor.swift
[13/21] Compiling Rainbow CodesParser.swift
[14/21] Compiling Rainbow ModesExtractor.swift
[15/21] Compiling Rainbow OutputTarget.swift
[16/21] Emitting module Rainbow
[17/22] Wrapping AST for Rainbow for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/36] Emitting module Bariloche
/host/spi-builder-workspace/Sources/Bariloche/Internal/Process+Shell.swift:10:11: error: cannot find type 'Process' in scope
8 | import Foundation
9 |
10 | extension Process {
| `- error: cannot find type 'Process' in scope
11 | enum Shell: String {
12 | case bash = "/bin/bash"
[20/36] Compiling Bariloche Bariloche.swift
/host/spi-builder-workspace/Sources/Bariloche/Bariloche.swift:93:39: error: cannot find 'getpass' in scope
91 | private static func readLine(strippingNewline: Bool, secure: Bool) -> String? {
92 | if secure {
93 | let pwd = String(cString: getpass(""))
| `- error: cannot find 'getpass' in scope
94 | return pwd.count > 0 ? (pwd + "\n") : nil
95 | } else {
[21/36] Compiling Bariloche BaseArgument.swift
/host/spi-builder-workspace/Sources/Bariloche/Bariloche.swift:93:39: error: cannot find 'getpass' in scope
91 | private static func readLine(strippingNewline: Bool, secure: Bool) -> String? {
92 | if secure {
93 | let pwd = String(cString: getpass(""))
| `- error: cannot find 'getpass' in scope
94 | return pwd.count > 0 ? (pwd + "\n") : nil
95 | } else {
[22/37] Compiling Bariloche Command.swift
[23/37] Compiling Bariloche Flag.swift
[24/37] Compiling Bariloche StringTypeConverter.swift
[25/37] Compiling Bariloche Argument.swift
[26/37] Compiling Bariloche Autocomplete.swift
[27/37] Compiling Bariloche Command+Mirror.swift
[28/37] Compiling Bariloche OutputStreamer.swift
[29/37] Compiling Bariloche AutocompleteWriter.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/AutocompleteWriter.swift:38:37: error: cannot find 'Process' in scope
36 |
37 | private func autocompletionUrl() -> URL? {
38 | let autocompletePaths = Process().execute(command: "print -rl -- $fpath", shell: .zsh).components(separatedBy: "\n")
| `- error: cannot find 'Process' in scope
39 |
40 | let home = URL(fileURLWithPath: NSHomeDirectory()).path
/host/spi-builder-workspace/Sources/Bariloche/Internal/AutocompleteWriter.swift:38:95: error: cannot infer contextual base in reference to member 'zsh'
36 |
37 | private func autocompletionUrl() -> URL? {
38 | let autocompletePaths = Process().execute(command: "print -rl -- $fpath", shell: .zsh).components(separatedBy: "\n")
| `- error: cannot infer contextual base in reference to member 'zsh'
39 |
40 | let home = URL(fileURLWithPath: NSHomeDirectory()).path
[30/37] Compiling Bariloche Command+Assertions.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/AutocompleteWriter.swift:38:37: error: cannot find 'Process' in scope
36 |
37 | private func autocompletionUrl() -> URL? {
38 | let autocompletePaths = Process().execute(command: "print -rl -- $fpath", shell: .zsh).components(separatedBy: "\n")
| `- error: cannot find 'Process' in scope
39 |
40 | let home = URL(fileURLWithPath: NSHomeDirectory()).path
/host/spi-builder-workspace/Sources/Bariloche/Internal/AutocompleteWriter.swift:38:95: error: cannot infer contextual base in reference to member 'zsh'
36 |
37 | private func autocompletionUrl() -> URL? {
38 | let autocompletePaths = Process().execute(command: "print -rl -- $fpath", shell: .zsh).components(separatedBy: "\n")
| `- error: cannot infer contextual base in reference to member 'zsh'
39 |
40 | let home = URL(fileURLWithPath: NSHomeDirectory()).path
[31/37] Compiling Bariloche Parser.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: error: generic parameter 'Value' could not be inferred
118 | return argument
119 | case .variadic where !lineArguments[0].hasPrefix("-"):
120 | argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
121 | return argument
122 | default:
/host/spi-builder-workspace/Sources/Bariloche/Argument.swift:10:23: note: 'Value' declared as parameter to type 'Argument'
8 | import Foundation
9 |
10 | public class Argument<Value>: BaseArgument {
| `- note: 'Value' declared as parameter to type 'Argument'
11 | public var value: Value? {
12 | guard let stringValue = stringValue else { return nil }
/host/spi-builder-workspace/Sources/Bariloche/Internal/Process+Shell.swift:10:11: error: cannot find type 'Process' in scope
8 | import Foundation
9 |
10 | extension Process {
| `- error: cannot find type 'Process' in scope
11 | enum Shell: String {
12 | case bash = "/bin/bash"
/host/spi-builder-workspace/Sources/Bariloche/Internal/Process+Shell.swift:26:42: error: cannot find type 'Shell' in scope
24 |
25 | @discardableResult
26 | func execute(command: String, shell: Shell) -> String {
| `- error: cannot find type 'Shell' in scope
27 | arguments = ["-c", "\(shell.source) \(command)"]
28 |
[32/37] Compiling Bariloche Process+Shell.swift
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:120:71: error: generic parameter 'Value' could not be inferred
118 | return argument
119 | case .variadic where !lineArguments[0].hasPrefix("-"):
120 | argument.stringValue = (argument.stringValue ?? "") + Argument.Kind.variadicSeparator + (lineArguments.first ?? "")
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
121 | return argument
122 | default:
/host/spi-builder-workspace/Sources/Bariloche/Argument.swift:10:23: note: 'Value' declared as parameter to type 'Argument'
8 | import Foundation
9 |
10 | public class Argument<Value>: BaseArgument {
| `- note: 'Value' declared as parameter to type 'Argument'
11 | public var value: Value? {
12 | guard let stringValue = stringValue else { return nil }
/host/spi-builder-workspace/Sources/Bariloche/Internal/Process+Shell.swift:10:11: error: cannot find type 'Process' in scope
8 | import Foundation
9 |
10 | extension Process {
| `- error: cannot find type 'Process' in scope
11 | enum Shell: String {
12 | case bash = "/bin/bash"
/host/spi-builder-workspace/Sources/Bariloche/Internal/Process+Shell.swift:26:42: error: cannot find type 'Shell' in scope
24 |
25 | @discardableResult
26 | func execute(command: String, shell: Shell) -> String {
| `- error: cannot find type 'Shell' in scope
27 | arguments = ["-c", "\(shell.source) \(command)"]
28 |
[33/37] Compiling Bariloche UsagePrinter.swift
BUILD FAILURE 6.3 wasm