The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProcessEnv, reference 1.0.1 (552f61), with Swift 6.3 for Wasm on 21 Apr 2026 19:09:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/ChimeHQ/ProcessEnv.git
Reference: 1.0.1
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/ChimeHQ/ProcessEnv
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 552f611 more badges
Cloned https://github.com/ChimeHQ/ProcessEnv.git
Revision (git rev-parse @):
552f611479a4f28243a1ef2a7376a216d6899f42
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ProcessEnv.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ChimeHQ/ProcessEnv.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling ProcessEnv Process+Parameters.swift
[4/6] Emitting module ProcessEnv
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:3:18: error: cannot find type 'Process' in scope
 1 | import Foundation
 2 |
 3 | public extension Process {
   |                  `- error: cannot find type 'Process' in scope
 4 |     static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
 5 |         let task = Process(parameters: parameters)
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:10:18: error: cannot find type 'Process' in scope
  8 | import Foundation
  9 |
 10 | public extension Process {
    |                  `- error: cannot find type 'Process' in scope
 11 | 	@available(*, deprecated, renamed: "Environment")
 12 | 	typealias Envrionment = [String : String]
[5/6] Compiling ProcessEnv Process+Output.swift
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:3:18: error: cannot find type 'Process' in scope
 1 | import Foundation
 2 |
 3 | public extension Process {
   |                  `- error: cannot find type 'Process' in scope
 4 |     static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
 5 |         let task = Process(parameters: parameters)
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:4:39: error: cannot find type 'Process' in scope
 2 |
 3 | public extension Process {
 4 |     static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
   |                                       `- error: cannot find type 'Process' in scope
 5 |         let task = Process(parameters: parameters)
 6 |
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:10:45: error: cannot find type 'Process' in scope
 8 |     }
 9 |
10 |     static func executeAsUser(_ parameters: Process.ExecutionParameters) throws -> Data? {
   |                                             `- error: cannot find type 'Process' in scope
11 |         let userParams = parameters.userShellInvocation()
12 |
[6/6] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:10:18: error: cannot find type 'Process' in scope
  8 | import Foundation
  9 |
 10 | public extension Process {
    |                  `- error: cannot find type 'Process' in scope
 11 | 	@available(*, deprecated, renamed: "Environment")
 12 | 	typealias Envrionment = [String : String]
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:36:28: error: cannot find 'getpwuid' in scope
 34 |
 35 |     public var pwShell: String? {
 36 |         guard let passwd = getpwuid(getuid()) else {
    |                            `- error: cannot find 'getpwuid' in scope
 37 |             return nil
 38 |         }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:36:37: error: cannot find 'getuid' in scope
 34 |
 35 |     public var pwShell: String? {
 36 |         guard let passwd = getpwuid(getuid()) else {
    |                                     `- error: cannot find 'getuid' in scope
 37 |             return nil
 38 |         }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:48:28: error: cannot find 'getpwuid' in scope
 46 |
 47 |     public var pwUserName: String? {
 48 |         guard let passwd = getpwuid(getuid()) else {
    |                            `- error: cannot find 'getpwuid' in scope
 49 |             return nil
 50 |         }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:48:37: error: cannot find 'getuid' in scope
 46 |
 47 |     public var pwUserName: String? {
 48 |         guard let passwd = getpwuid(getuid()) else {
    |                                     `- error: cannot find 'getuid' in scope
 49 |             return nil
 50 |         }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:60:28: error: cannot find 'getpwuid' in scope
 58 |
 59 |     public var pwDir: String? {
 60 |         guard let passwd = getpwuid(getuid()) else {
    |                            `- error: cannot find 'getpwuid' in scope
 61 |             return nil
 62 |         }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:60:37: error: cannot find 'getuid' in scope
 58 |
 59 |     public var pwDir: String? {
 60 |         guard let passwd = getpwuid(getuid()) else {
    |                                     `- error: cannot find 'getuid' in scope
 61 |             return nil
 62 |         }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:115:31: error: cannot find 'Process' in scope
113 |     /// a terminal session.
114 |     public var userEnvironment: [String : String] {
115 |         guard let data = try? Process.executeAsUser(Process.ExecutionParameters(path: "/usr/bin/env", environment: environment)) else {
    |                               `- error: cannot find 'Process' in scope
116 |             return environment
117 |         }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:115:53: error: cannot find 'Process' in scope
113 |     /// a terminal session.
114 |     public var userEnvironment: [String : String] {
115 |         guard let data = try? Process.executeAsUser(Process.ExecutionParameters(path: "/usr/bin/env", environment: environment)) else {
    |                                                     `- error: cannot find 'Process' in scope
116 |             return environment
117 |         }
BUILD FAILURE 6.3 wasm