Build Information
Failed to build SwiftSystemd, reference 1.0.0 (d343aa), with Swift 6.3 for Android on 15 Apr 2026 04:09:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MihaelIsaev/SwiftSystemd.git
Reference: 1.0.0
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/MihaelIsaev/SwiftSystemd
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at d343aa2 🧹 Cleanup
Cloned https://github.com/MihaelIsaev/SwiftSystemd.git
Revision (git rev-parse @):
d343aa249d7ea6c3cb56e822204143caa07dfa33
SUCCESS checkout https://github.com/MihaelIsaev/SwiftSystemd.git at 1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/MihaelIsaev/SwiftSystemd.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/vapor/console-kit
Fetching https://github.com/MihaelIsaev/SwiftBash
[1/15] Fetching swiftbash
[16/6686] Fetching swiftbash, console-kit
Fetched https://github.com/MihaelIsaev/SwiftBash from cache (0.23s)
[1401/6671] Fetching console-kit
Fetched https://github.com/vapor/console-kit from cache (0.36s)
Computing version for https://github.com/MihaelIsaev/SwiftBash
Computed https://github.com/MihaelIsaev/SwiftBash at 1.0.0 (2.74s)
Computing version for https://github.com/vapor/console-kit
Computed https://github.com/vapor/console-kit at 4.16.0 (0.43s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/6569] Fetching swift-log
[6570/89720] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (7.16s)
Fetched https://github.com/apple/swift-nio.git from cache (7.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (7.98s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1366/7421] Fetching swift-atomics, swift-system
[1661/30958] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.61s)
[7484/29138] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.79s)
Fetched https://github.com/apple/swift-collections.git from cache (1.82s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (2.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.64s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/MihaelIsaev/SwiftBash
Working copy of https://github.com/MihaelIsaev/SwiftBash resolved at 1.0.0
Creating working copy for https://github.com/vapor/console-kit
Working copy of https://github.com/vapor/console-kit resolved at 4.16.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/19] Write sources
[7/19] Write swift-version--4F562202D5529B1.txt
[8/27] Compiling c-nioatomics.c
[9/27] Compiling c-atomics.c
[11/34] Compiling NIOConcurrencyHelpers lock.swift
[12/34] Compiling NIOConcurrencyHelpers NIOLock.swift
[13/34] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[14/34] Compiling Logging LogEvent.swift
[15/34] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[16/34] Emitting module NIOConcurrencyHelpers
[17/34] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[18/34] Compiling NIOConcurrencyHelpers atomics.swift
[19/35] Wrapping AST for NIOConcurrencyHelpers for debugging
[21/35] Compiling Logging MetadataProvider.swift
[22/35] Emitting module Logging
[23/35] Compiling Logging Locks.swift
[24/35] Compiling Logging LogHandler.swift
[25/35] Compiling Logging Logging.swift
[27/36] Emitting module Bash
[28/36] Compiling Bash Bash.swift
[29/37] Wrapping AST for Logging for debugging
[30/38] Wrapping AST for Bash for debugging
[32/63] Compiling ConsoleKitTerminal Console+Wait.swift
[33/63] Compiling ConsoleKitTerminal ConsoleColor.swift
[34/63] Compiling ConsoleKitTerminal ConsoleStyle.swift
[35/66] Compiling ConsoleKitTerminal Console+Confirm.swift
[36/66] Compiling ConsoleKitTerminal Console+Input.swift
[37/66] Compiling ConsoleKitTerminal Console+Center.swift
[38/66] Compiling ConsoleKitTerminal Console+Output.swift
[39/66] Emitting module ConsoleKitTerminal
[40/66] Compiling ConsoleKitTerminal ActivityBar.swift
[41/66] Compiling ConsoleKitTerminal ActivityIndicator.swift
[42/66] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[43/66] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[44/66] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[45/66] Compiling ConsoleKitTerminal ConsoleClear.swift
[46/66] Compiling ConsoleKitTerminal Console+Ask.swift
[47/66] Compiling ConsoleKitTerminal Console+Choose.swift
[48/66] Compiling ConsoleKitTerminal CustomActivity.swift
[49/66] Compiling ConsoleKitTerminal LoadingBar.swift
[50/66] Compiling ConsoleKitTerminal ProgressBar.swift
[51/66] Compiling ConsoleKitTerminal Console+Clear.swift
[52/66] Compiling ConsoleKitTerminal ConsoleText.swift
[53/66] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[54/66] Compiling ConsoleKitTerminal ANSI.swift
[55/66] Compiling ConsoleKitTerminal Console.swift
[56/66] Compiling ConsoleKitTerminal Terminal.swift
[57/66] Compiling ConsoleKitTerminal readpassphrase_linux.swift
[58/66] Compiling ConsoleKitTerminal AnySendableHashable.swift
[59/66] Compiling ConsoleKitTerminal ConsoleLogger.swift
[60/66] Compiling ConsoleKitTerminal LoggerFragment.swift
[61/67] Wrapping AST for ConsoleKitTerminal for debugging
[63/89] Emitting module ConsoleKitCommands
[64/91] Compiling ConsoleKitCommands AsyncCommands.swift
[65/91] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[66/91] Compiling ConsoleKitCommands AnyCommand.swift
[67/91] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[68/91] Compiling ConsoleKitCommands AsyncCommand.swift
[69/91] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[70/91] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[71/91] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[72/91] Compiling ConsoleKitCommands Argument.swift
[73/91] Compiling ConsoleKitCommands CommandGroup.swift
[74/91] Compiling ConsoleKitCommands CommandInput.swift
[75/91] Compiling ConsoleKitCommands Commands.swift
[76/91] Compiling ConsoleKitCommands CommandSignature.swift
[77/91] Compiling ConsoleKitCommands Flag.swift
[78/91] Compiling ConsoleKitCommands Option.swift
[79/91] Compiling ConsoleKitCommands Command.swift
[80/91] Compiling ConsoleKitCommands CommandContext.swift
[81/91] Compiling ConsoleKitCommands CommandError.swift
[82/91] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[83/91] Compiling ConsoleKitCommands Utilities.swift
[84/91] Compiling ConsoleKitCommands Console+Run.swift
[85/91] Compiling ConsoleKitCommands ConsoleError.swift
[86/91] Compiling ConsoleKitCommands Completion.swift
[87/92] Wrapping AST for ConsoleKitCommands for debugging
[89/94] Emitting module ConsoleKit
[90/94] Compiling ConsoleKit Exports.swift
[91/95] Wrapping AST for ConsoleKit for debugging
[93/114] Compiling systemd VersionCommand.swift
[94/114] Compiling systemd Console+Abort.swift
[95/116] Compiling systemd ReloadDaemonCommand.swift
[96/116] Compiling systemd RestartCommand.swift
[97/116] Compiling systemd StartCommand.swift
[98/116] Compiling systemd DisableCommand.swift
[99/116] Compiling systemd EditCommand.swift
[100/116] Compiling systemd EnableCommand.swift
[101/116] Emitting module systemd
[102/116] Compiling systemd StatusCommand.swift
[103/116] Compiling systemd StopCommand.swift
[104/116] Compiling systemd UninstallCommand.swift
[105/116] Compiling systemd String+Fragment.swift
[106/116] Compiling systemd Journalctl.swift
[107/116] Compiling systemd InstallCommand.swift
[108/116] Compiling systemd KillCommand.swift
[109/116] Compiling systemd LogsCommand.swift
[110/116] Compiling systemd Swift.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:26:19: error: cannot find 'getcwd' in scope
24 |
25 | static func cwd(_ context: ConsoleKit.CommandContext? = nil) -> String? {
26 | let cwd = getcwd(nil, Int(PATH_MAX))
| `- error: cannot find 'getcwd' in scope
27 | defer {
28 | if let cwd = cwd {
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:26:26: error: 'nil' requires a contextual type
24 |
25 | static func cwd(_ context: ConsoleKit.CommandContext? = nil) -> String? {
26 | let cwd = getcwd(nil, Int(PATH_MAX))
| `- error: 'nil' requires a contextual type
27 | defer {
28 | if let cwd = cwd {
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:75:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
73 | group.leave()
74 | } else {
75 | resultData.append(data)
| `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
76 | }
77 | }
/host/spi-builder-workspace/Sources/systemd/Helpers/Systemctl.swift:199:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 | group.leave()
198 | } else {
199 | resultData.append(data)
| `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
200 | }
201 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[111/116] Compiling systemd Systemctl.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:26:19: error: cannot find 'getcwd' in scope
24 |
25 | static func cwd(_ context: ConsoleKit.CommandContext? = nil) -> String? {
26 | let cwd = getcwd(nil, Int(PATH_MAX))
| `- error: cannot find 'getcwd' in scope
27 | defer {
28 | if let cwd = cwd {
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:26:26: error: 'nil' requires a contextual type
24 |
25 | static func cwd(_ context: ConsoleKit.CommandContext? = nil) -> String? {
26 | let cwd = getcwd(nil, Int(PATH_MAX))
| `- error: 'nil' requires a contextual type
27 | defer {
28 | if let cwd = cwd {
/host/spi-builder-workspace/Sources/systemd/Helpers/Swift.swift:75:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
73 | group.leave()
74 | } else {
75 | resultData.append(data)
| `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
76 | }
77 | }
/host/spi-builder-workspace/Sources/systemd/Helpers/Systemctl.swift:199:17: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 | group.leave()
198 | } else {
199 | resultData.append(data)
| `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
200 | }
201 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[112/116] Compiling systemd Users.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:20:21: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
18 | let stderr = Pipe()
19 | let process = Process()
20 | process.launchPath = try Bash.which("awk")
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
| `- note: use 'executableURL' instead
21 | process.arguments = ["-F:", "\"{ print $1}\"", "/etc/passwd"]
22 | process.standardOutput = stdout
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:27:21: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
25 | let outHandle = stdout.fileHandleForReading
26 |
27 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
| `- note: use 'run' instead
28 | process.waitUntilExit()
29 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[113/116] Compiling systemd main.swift
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:20:21: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
18 | let stderr = Pipe()
19 | let process = Process()
20 | process.launchPath = try Bash.which("awk")
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
| `- note: use 'executableURL' instead
21 | process.arguments = ["-F:", "\"{ print $1}\"", "/etc/passwd"]
22 | process.standardOutput = stdout
/host/spi-builder-workspace/Sources/systemd/Helpers/Users.swift:27:21: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
25 | let outHandle = stdout.fileHandleForReading
26 |
27 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
| `- note: use 'run' instead
28 | process.waitUntilExit()
29 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 android