Build Information
Failed to build ProcessEnv, reference main (552f61
), with Swift 6.1 for Android on 31 May 2025 00:05:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/ChimeHQ/ProcessEnv.git
https://github.com/ChimeHQ/ProcessEnv.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ProcessEnv",
"name" : "ProcessEnv",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "ProcessEnv",
"targets" : [
"ProcessEnv"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProcessEnvTests",
"module_type" : "SwiftTarget",
"name" : "ProcessEnvTests",
"path" : "Tests/ProcessEnvTests",
"sources" : [
"ProcessEnvTests.swift"
],
"target_dependencies" : [
"ProcessEnv"
],
"type" : "test"
},
{
"c99name" : "ProcessEnv",
"module_type" : "SwiftTarget",
"name" : "ProcessEnv",
"path" : "Sources/ProcessEnv",
"product_memberships" : [
"ProcessEnv"
],
"sources" : [
"Process+Output.swift",
"Process+Parameters.swift",
"ProcessInfo+UserEnvironment.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling ProcessEnv Process+Parameters.swift
[5/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 }
[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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling ProcessEnv Process+Parameters.swift
[3/5] 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/5] 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/5] 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.1 android