Build Information
Failed to build package-concurrency-helpers, reference main (8f5fdc), with Swift 6.4 for Android on 5 Nov 2026 15:52:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-concurrency-helpers.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/ordo-one/package-concurrency-helpers
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f5fdc2 ci: 🔄 synced local '.github/workflows/' with remote 'workflows/swift'
Cloned https://github.com/ordo-one/package-concurrency-helpers.git
Revision (git rev-parse @):
8f5fdc25bbcd2295c0a0672286f3061c581157d9
SUCCESS checkout https://github.com/ordo-one/package-concurrency-helpers.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/ordo-one/package-concurrency-helpers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6b43072510b376a3c4064be7d82ef70cb870a485f057a0e40e484dd4ba1d1fe3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
[1/1257] Fetching cwlpreconditiontesting
[1258/3602] Fetching cwlpreconditiontesting, swift-docc-plugin
[1470/5528] Fetching cwlpreconditiontesting, swift-docc-plugin, swift-atomics
Fetched https://github.com/mattgallagher/CwlPreconditionTesting (0.53s)
Fetched https://github.com/apple/swift-docc-plugin (0.53s)
Fetched https://github.com/apple/swift-atomics (0.55s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.2.2 (0.73s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.36s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.53s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3863] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.76s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[52 / 81] Atomics
[53 / 81] Atomics
[54 / 81] Atomics
[67 / 81] Helpers-product
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:17:12: [1;31merror: [1;39mUnsupported Platform[0;0m
[0;36m15 |[0;0m import Glibc
[0;36m16 |[0;0m #else
[0;36m17 |[0;0m #error([4;39m"Unsupported Platform"[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mUnsupported Platform[0;0m
[0;36m18 |[0;0m #endif
[0;36m19 |[0;0m
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:24:53: [1;31merror: [1;39mcannot find type 'pthread_mutex_t' in scope[0;0m
[0;36m22 |[0;0m fileprivate let mutex = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
[0;36m23 |[0;0m #else
[0;36m24 |[0;0m fileprivate let mutex: UnsafeMutablePointer<[4;39mpthread_mutex_t[0;0m> =
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'pthread_mutex_t' in scope[0;0m
[0;36m25 |[0;0m UnsafeMutablePointer.allocate(capacity: 1)
[0;36m26 |[0;0m #endif
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/ConcurrencyHelpers/ForBlockingCall.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lockable.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/NIOSendable.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/Protected.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/RunSync.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/Spinlock.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/UnsafeSendableWrapper.swift /host/spi-builder-workspace/Sources/ConcurrencyHelpers/YieldWithBackPressure.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/_PauseShims.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/Sources/_PauseShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PackageConcurrencyHelpers -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/Objects-normal/aarch64/PackageConcurrencyHelpers_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/Objects-normal/aarch64/Modules/PackageConcurrencyHelpers.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/Objects-normal/aarch64/Modules/PackageConcurrencyHelpers.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/Objects-normal/aarch64/PackageConcurrencyHelpers-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/Objects-normal/aarch64/PackageConcurrencyHelpers-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/Objects-normal/aarch64/PackageConcurrencyHelpers-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/package-concurrency-helpers.build/Debug-android-aarch64/PackageConcurrencyHelpers-t.build/Objects-normal/aarch64/Modules/PackageConcurrencyHelpers.swiftmodule
[73 / 91] PackageConcurrencyHelpers
error: Build failed
BUILD FAILURE 6.4 android