The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ChaosTesting, reference v1.1.0 (acf622), with Swift 6.2 for Android on 17 Oct 2026 08:52:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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.2
Building package at path:  $PWD
https://github.com/elegantchaos/ChaosTesting.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:d84c435a77e30f1b4b40344b42d2ce7e8dc33d04eebdaebfb0e2bc42b4ff2af5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
[3/8] Compiling ChaosTesting WaitUntil.swift
[4/8] Compiling ChaosTesting TestingSupport.swift
[5/8] Compiling ChaosTesting URL+SystemPaths.swift
[6/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"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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"
[8/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.2-RELEASE-android-0.1.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
BUILD FAILURE 6.2 android