Build Information
Failed to build ChaosTesting, reference v1.1.0 (acf622), with Swift 6.3 for Android on 17 Oct 2026 08:56:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/ChaosTesting.git
Reference: v1.1.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/elegantchaos/ChaosTesting
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at acf6222 Merge pull request #1 from elegantchaos/feature/scratch-directory
Cloned https://github.com/elegantchaos/ChaosTesting.git
Revision (git rev-parse @):
acf62226583bf35d94537730087a25f95ca8d296
SUCCESS checkout https://github.com/elegantchaos/ChaosTesting.git at v1.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/elegantchaos/ChaosTesting.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:ec170ed262d75c9e928493cd00a486dad2d4f04db1b55d884efec7db42d0226b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-272D24FF697CF451.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module ChaosTesting
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:23:42: error: cannot find 'getpid' in scope
21 | let parent = URL.temporaryDirectory.appending(path: name, directoryHint: .isDirectory)
22 | removeAbandonedFolders(in: parent)
23 | let root = parent.appending(path: "\(getpid())", directoryHint: .isDirectory)
| `- error: cannot find 'getpid' in scope
24 | try? FileManager.default.createDirectory(at: root, withIntermediateDirectories: true)
25 | atexit {
/host/spi-builder-workspace/Sources/ChaosTesting/TestSettings.swift:30:59: warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
28 | ///
29 | /// Tests that need any of that should use ``persistentSuite(prefix:)`` instead.
30 | public final class TestSettings: UserDefaults, @unchecked Sendable {
| | `- warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
| `- note: 'TestSettings' inherits conformance to protocol 'Sendable' from superclass here
31 | /// The suite every instance is nominally attached to. Nothing is ever written to it.
32 | public static let suiteName = "ChaosTesting.TestSettings"
[4/8] Compiling ChaosTesting WaitUntil.swift
[5/8] Compiling ChaosTesting TestScratchDirectory.swift
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:23:42: error: cannot find 'getpid' in scope
21 | let parent = URL.temporaryDirectory.appending(path: name, directoryHint: .isDirectory)
22 | removeAbandonedFolders(in: parent)
23 | let root = parent.appending(path: "\(getpid())", directoryHint: .isDirectory)
| `- error: cannot find 'getpid' in scope
24 | try? FileManager.default.createDirectory(at: root, withIntermediateDirectories: true)
25 | atexit {
/host/spi-builder-workspace/Sources/ChaosTesting/TestScratchDirectory.swift:49:26: error: cannot find 'errno' in scope
47 | /// Whether a process with this identifier is still running.
48 | private static func isRunning(_ pid: pid_t) -> Bool {
49 | kill(pid, 0) == 0 || errno != ESRCH
| `- error: cannot find 'errno' in scope
50 | }
51 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[6/8] Compiling ChaosTesting URL+SystemPaths.swift
[7/8] Compiling ChaosTesting TestingSupport.swift
[8/8] Compiling ChaosTesting TestSettings.swift
/host/spi-builder-workspace/Sources/ChaosTesting/TestSettings.swift:30:59: warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
28 | ///
29 | /// Tests that need any of that should use ``persistentSuite(prefix:)`` instead.
30 | public final class TestSettings: UserDefaults, @unchecked Sendable {
| | `- warning: conformance of 'TestSettings' to protocol 'Sendable' is already unavailable
| `- note: 'TestSettings' inherits conformance to protocol 'Sendable' from superclass here
31 | /// The suite every instance is nominally attached to. Nothing is ever written to it.
32 | public static let suiteName = "ChaosTesting.TestSettings"
BUILD FAILURE 6.3 android