The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProcessEnv, reference main (552f61), with Swift 6.2 for Android on 23 Jun 2025 23:00:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/ProcessEnv.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChimeHQ/ProcessEnv.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module ProcessEnv
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:4:47: error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
 2 |
 3 | public extension Process {
 4 |     static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
   |                                               `- error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
 5 |         let task = Process(parameters: parameters)
 6 |
Foundation.Process:1:12: note: 'Process' declared here
 1 | open class Process : NSObject, @unchecked Sendable {
   |            `- note: 'Process' declared here
 2 |     override public init()
 3 |     open var executableURL: URL? { get set }
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:10:53: error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
 8 |     }
 9 |
10 |     static func executeAsUser(_ parameters: Process.ExecutionParameters) throws -> Data? {
   |                                                     `- error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
11 |         let userParams = parameters.userShellInvocation()
12 |
Foundation.Process:1:12: note: 'Process' declared here
 1 | open class Process : NSObject, @unchecked Sendable {
   |            `- note: 'Process' declared here
 2 |     override public init()
 3 |     open var executableURL: URL? { get set }
[4/6] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
/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/Process+Output.swift:10:53: error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
 8 |     }
 9 |
10 |     static func executeAsUser(_ parameters: Process.ExecutionParameters) throws -> Data? {
   |                                                     `- error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
11 |         let userParams = parameters.userShellInvocation()
12 |
Foundation.Process:1:12: note: 'Process' declared here
 1 | open class Process : NSObject, @unchecked Sendable {
   |            `- note: 'Process' declared here
 2 |     override public init()
 3 |     open var executableURL: URL? { get set }
/host/spi-builder-workspace/Sources/ProcessEnv/ProcessInfo+UserEnvironment.swift:115:61: error: type 'Process' has no member 'ExecutionParameters'
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: type 'Process' has no member 'ExecutionParameters'
116 |             return environment
117 |         }
[5/6] Compiling ProcessEnv Process+Parameters.swift
[6/6] Compiling ProcessEnv Process+Output.swift
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:4:47: error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
 2 |
 3 | public extension Process {
 4 |     static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
   |                                               `- error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
 5 |         let task = Process(parameters: parameters)
 6 |
Foundation.Process:1:12: note: 'Process' declared here
 1 | open class Process : NSObject, @unchecked Sendable {
   |            `- note: 'Process' declared here
 2 |     override public init()
 3 |     open var executableURL: URL? { get set }
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:10:53: error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
 8 |     }
 9 |
10 |     static func executeAsUser(_ parameters: Process.ExecutionParameters) throws -> Data? {
   |                                                     `- error: 'ExecutionParameters' is not a member type of class 'Foundation.Process'
11 |         let userParams = parameters.userShellInvocation()
12 |
Foundation.Process:1:12: note: 'Process' declared here
 1 | open class Process : NSObject, @unchecked Sendable {
   |            `- note: 'Process' declared here
 2 |     override public init()
 3 |     open var executableURL: URL? { get set }
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:5:40: error: argument passed to call that takes no arguments
 3 | public extension Process {
 4 |     static func execute(_ parameters: Process.ExecutionParameters) throws -> Data? {
 5 |         let task = Process(parameters: parameters)
   |                                        `- error: argument passed to call that takes no arguments
 6 |
 7 |         return try? task.runAndReadStdout()
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:13:40: error: argument passed to call that takes no arguments
11 |         let userParams = parameters.userShellInvocation()
12 |
13 |         let task = Process(parameters: userParams)
   |                                        `- error: argument passed to call that takes no arguments
14 |
15 |         return try? task.runAndReadStdout()
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Output.swift:19:30: error: type 'Process' has no member 'ExecutionParameters'
17 |
18 |     static func readOutput(from launchPath: String, arguments: [String] = [], environment: [String : String] = [:]) -> Data? {
19 |         let params = Process.ExecutionParameters(path: launchPath, arguments: arguments, environment: environment)
   |                              `- error: type 'Process' has no member 'ExecutionParameters'
20 |
21 |         return try? execute(params)
BUILD FAILURE 6.2 android