The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ChaosTesting, reference main (acf622), with Swift 6.1 for Android on 17 Oct 2026 08:50:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/ChaosTesting.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/elegantchaos/ChaosTesting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/ChaosTesting.git
https://github.com/elegantchaos/ChaosTesting.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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.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 saguaro1/spi-images
Digest: sha256:639806e3270a7d76362a869fc7a464db4368085eea7ecdf63d02ce60a0298950
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling ChaosTesting WaitUntil.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module ChaosTesting
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 {
[5/8] Compiling ChaosTesting TestScratchDirectory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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 TestingSupport.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/8] Compiling ChaosTesting URL+SystemPaths.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/8] Compiling ChaosTesting TestSettings.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:639806e3270a7d76362a869fc7a464db4368085eea7ecdf63d02ce60a0298950
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling ChaosTesting WaitUntil.swift
[3/7] Compiling ChaosTesting TestingSupport.swift
[4/7] Compiling ChaosTesting URL+SystemPaths.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling ChaosTesting TestSettings.swift
[6/7] 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 {
[7/7] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1 android