The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bariloche, reference 1.0.4 (507f41), with Swift 6.1 for Wasm on 27 May 2025 09:08:56 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/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.1
Building package at path:  $PWD
https://github.com/subito-it/bariloche.git
https://github.com/subito-it/bariloche.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    }
  ],
  "manifest_display_name" : "Bariloche",
  "name" : "Bariloche",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Bariloche",
      "targets" : [
        "Bariloche"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BarilocheExample",
      "targets" : [
        "BarilocheExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BarilocheTests",
      "module_type" : "SwiftTarget",
      "name" : "BarilocheTests",
      "path" : "Tests/BarilocheTests",
      "sources" : [
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Bariloche"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BarilocheExample",
      "module_type" : "SwiftTarget",
      "name" : "BarilocheExample",
      "path" : "Sources/BarilocheExample",
      "product_memberships" : [
        "BarilocheExample"
      ],
      "sources" : [
        "Cat-Like/CatCommand.swift",
        "CocoaPods-Like/CacheCommand.swift",
        "CocoaPods-Like/CocoaPodsCommand.swift",
        "CocoaPods-Like/SearchCommand.swift",
        "CocoaPods-Like/TestCommand.swift",
        "CocoaPods-Like/TestSub1Command.swift",
        "CocoaPods-Like/TestSub2Command.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Bariloche"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Bariloche",
      "module_type" : "SwiftTarget",
      "name" : "Bariloche",
      "path" : "Sources/Bariloche",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "Bariloche",
        "BarilocheExample"
      ],
      "sources" : [
        "Argument.swift",
        "Autocomplete.swift",
        "Bariloche.swift",
        "BaseArgument.swift",
        "Command.swift",
        "Flag.swift",
        "Internal/AutocompleteWriter.swift",
        "Internal/Command+Assertions.swift",
        "Internal/Command+Mirror.swift",
        "Internal/OutputStreamer.swift",
        "Internal/Parser.swift",
        "Internal/Process+Shell.swift",
        "Internal/StringTypeConverter.swift",
        "Internal/UsagePrinter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.25s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (2.15s)
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] Emitting module Rainbow
[6/21] Compiling Rainbow StringGenerator.swift
[7/21] Compiling Rainbow Style.swift
[8/21] Compiling Rainbow String+Rainbow.swift
[9/21] Compiling Rainbow XcodeColorsSupport.swift
[10/21] Compiling Rainbow ModesExtractor.swift
[11/21] Compiling Rainbow OutputTarget.swift
[12/21] Compiling Rainbow Color.swift
[13/21] Compiling Rainbow ControlCode.swift
[14/21] Compiling Rainbow Rainbow.swift
[15/21] Compiling Rainbow BackgroundColor.swift
[16/21] Compiling Rainbow CodesParser.swift
[17/22] Wrapping AST for Rainbow for debugging
[19/36] Compiling Bariloche StringTypeConverter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/37] Compiling Bariloche Command.swift
/host/spi-builder-workspace/Sources/Bariloche/Flag.swift:48:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public class Flag: Equatable, CustomStringConvertible {
   |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 9 |     public let short: String?
10 |     public let long: String?
   :
46 |
47 | extension Flag {
48 |     static let help = Flag(short: "h", long: "help", help: "Show help banner of specified command")
   |                |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
[21/37] Compiling Bariloche Flag.swift
/host/spi-builder-workspace/Sources/Bariloche/Flag.swift:48:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public class Flag: Equatable, CustomStringConvertible {
   |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 9 |     public let short: String?
10 |     public let long: String?
   :
46 |
47 | extension Flag {
48 |     static let help = Flag(short: "h", long: "help", help: "Show help banner of specified command")
   |                |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
[22/37] Emitting module Bariloche
/host/spi-builder-workspace/Sources/Bariloche/Flag.swift:48:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public class Flag: Equatable, CustomStringConvertible {
   |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 9 |     public let short: String?
10 |     public let long: String?
   :
46 |
47 | extension Flag {
48 |     static let help = Flag(short: "h", long: "help", help: "Show help banner of specified command")
   |                |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
/host/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:13:14: warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 11 |     enum Error: Swift.Error {
 12 |         case invalidArgument(String)
 13 |         case missingArgument([BaseArgument])
    |              `- warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 14 |     }
 15 |
/host/spi-builder-workspace/Sources/Bariloche/BaseArgument.swift:8:14: note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  6 | //
  7 |
  8 | public class BaseArgument: Equatable, CustomStringConvertible {
    |              `- note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  9 |     public enum Kind: Equatable {
 10 |         case positional
/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"
[23/37] 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 {
[24/37] 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 {
[25/37] Compiling Bariloche Command+Mirror.swift
[26/37] Compiling Bariloche OutputStreamer.swift
[27/37] Compiling Bariloche Argument.swift
[28/37] Compiling Bariloche Autocomplete.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:13:14: warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 11 |     enum Error: Swift.Error {
 12 |         case invalidArgument(String)
 13 |         case missingArgument([BaseArgument])
    |              `- warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 14 |     }
 15 |
/host/spi-builder-workspace/Sources/Bariloche/BaseArgument.swift:8:14: note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  6 | //
  7 |
  8 | public class BaseArgument: Equatable, CustomStringConvertible {
    |              `- note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  9 |     public enum Kind: Equatable {
 10 |         case positional
/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:13:14: warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 11 |     enum Error: Swift.Error {
 12 |         case invalidArgument(String)
 13 |         case missingArgument([BaseArgument])
    |              `- warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 14 |     }
 15 |
/host/spi-builder-workspace/Sources/Bariloche/BaseArgument.swift:8:14: note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  6 | //
  7 |
  8 | public class BaseArgument: Equatable, CustomStringConvertible {
    |              `- note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  9 |     public enum Kind: Equatable {
 10 |         case positional
/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
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/6] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling Rainbow Rainbow.swift
[3/18] Compiling Rainbow Style.swift
[4/18] Compiling Rainbow StringGenerator.swift
[5/18] Compiling Rainbow String+Rainbow.swift
[6/18] Compiling Rainbow Color.swift
[7/18] Compiling Rainbow ControlCode.swift
[8/18] Compiling Rainbow BackgroundColor.swift
[9/18] Compiling Rainbow CodesParser.swift
[10/18] Emitting module Rainbow
[11/18] Compiling Rainbow ModesExtractor.swift
[12/18] Compiling Rainbow OutputTarget.swift
[13/18] Compiling Rainbow XcodeColorsSupport.swift
[15/32] Compiling Bariloche Command+Mirror.swift
[16/32] Compiling Bariloche OutputStreamer.swift
[17/33] Compiling Bariloche StringTypeConverter.swift
[18/33] 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 |
[19/33] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/33] Compiling Bariloche Command.swift
[21/33] Compiling Bariloche Flag.swift
[22/33] Compiling Bariloche Argument.swift
[23/33] Compiling Bariloche Autocomplete.swift
[24/33] 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"
[25/33] 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 {
[26/33] 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 {
[27/33] 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
[28/33] 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
[29/33] Compiling Bariloche UsagePrinter.swift
BUILD FAILURE 6.1 wasm