Build Information
Failed to build SwiftExecutionTimer, reference 0.2.0 (9b91dc), with Swift 6.3 for Android on 16 Apr 2026 06:45:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/MichK1/SwiftExecutionTimer.git
Reference: 0.2.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/MichK1/SwiftExecutionTimer
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 9b91dc9 Added examples
Cloned https://github.com/MichK1/SwiftExecutionTimer.git
Revision (git rev-parse @):
9b91dc9bb6fadde0c90bd8d53740290fa47c4bcf
SUCCESS checkout https://github.com/MichK1/SwiftExecutionTimer.git at 0.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/MichK1/SwiftExecutionTimer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/15] Write sources
[4/15] Write swift-version--4F562202D5529B1.txt
[6/25] Compiling SwiftExecutionTimer TimePoint.swift
[7/25] Compiling SwiftExecutionTimer TimePointsContainer.swift
[8/25] Compiling SwiftExecutionTimer CPUUtilizationTimePointSource.swift
/host/spi-builder-workspace/Sources/SwiftExecutionTimer/TimePointSource/CPUUtilizationTimePointSource.swift:14:21: error: cannot find 'rusage' in scope
12 | final class CPUUtilizationTimePointSource: TimePointSource {
13 | var timePointNow: Double {
14 | var usage = rusage()
| `- error: cannot find 'rusage' in scope
15 | #if os(Linux)
16 | getrusage(RUSAGE_SELF.rawValue, &usage)
/host/spi-builder-workspace/Sources/SwiftExecutionTimer/TimePointSource/CPUUtilizationTimePointSource.swift:18:9: error: cannot find 'getrusage' in scope
16 | getrusage(RUSAGE_SELF.rawValue, &usage)
17 | #else
18 | getrusage(RUSAGE_SELF, &usage)
| `- error: cannot find 'getrusage' in scope
19 | #endif
20 | return Double(usage.ru_utime.tv_sec) + Double(usage.ru_utime.tv_usec) / 1_000_000
/host/spi-builder-workspace/Sources/SwiftExecutionTimer/TimePointSource/CPUUtilizationTimePointSource.swift:18:19: error: cannot find 'RUSAGE_SELF' in scope
16 | getrusage(RUSAGE_SELF.rawValue, &usage)
17 | #else
18 | getrusage(RUSAGE_SELF, &usage)
| `- error: cannot find 'RUSAGE_SELF' in scope
19 | #endif
20 | return Double(usage.ru_utime.tv_sec) + Double(usage.ru_utime.tv_usec) / 1_000_000
[9/25] Compiling SwiftExecutionTimer MonotonicTimePointSource.swift
[10/26] Compiling SwiftExecutionTimer Helpers.swift
[11/26] Compiling SwiftExecutionTimer Duration.swift
[12/26] Compiling SwiftExecutionTimer ExecutionTimer.swift
[13/26] Compiling SwiftExecutionTimer ExecutionTimerDependencies.swift
[14/26] Emitting module SwiftExecutionTimer
[15/26] Compiling SwiftExecutionTimer DurationFilter.swift
[16/26] Compiling SwiftExecutionTimer TimePointSource.swift
BUILD FAILURE 6.3 android