Build Information
Failed to build QuickLMDB, reference master (2204a1), with Swift 6.2 for Android on 21 Oct 2025 01:32:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/QuickLMDB.git
Reference: master
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/tannerdsilva/QuickLMDB
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2204a12 v15.0.0 revised protocol requirements
Cloned https://github.com/tannerdsilva/QuickLMDB.git
Revision (git rev-parse @):
2204a1252f01b0a60657ea21cd6142b564fe562d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tannerdsilva/QuickLMDB.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/tannerdsilva/QuickLMDB.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/tannerdsilva/CLMDB.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/tannerdsilva/rawdog.git
Fetching https://github.com/apple/swift-system.git
[1/49] Fetching clmdb
[50/4007] Fetching clmdb, swift-log
[4008/5409] Fetching clmdb, swift-log, rawdog
[4247/10474] Fetching clmdb, swift-log, rawdog, swift-system
Fetched https://github.com/tannerdsilva/CLMDB.git from cache (0.52s)
[9402/10425] Fetching swift-log, rawdog, swift-system
[10426/83044] Fetching swift-log, rawdog, swift-system, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (0.61s)
[7194/79086] Fetching rawdog, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Fetched https://github.com/tannerdsilva/rawdog.git from cache (0.68s)
[3631/72619] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.19s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (8.83s)
Computing version for https://github.com/tannerdsilva/rawdog.git
Computed https://github.com/tannerdsilva/rawdog.git at 20.1.0 (0.52s)
Computing version for https://github.com/tannerdsilva/CLMDB.git
Computed https://github.com/tannerdsilva/CLMDB.git at 0.9.30 (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.42s)
Creating working copy for https://github.com/tannerdsilva/CLMDB.git
Working copy of https://github.com/tannerdsilva/CLMDB.git resolved at 0.9.30
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/tannerdsilva/rawdog.git
Working copy of https://github.com/tannerdsilva/rawdog.git resolved at 20.1.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.61s)
Building for debugging...
[0/18] Write sources
[6/18] Compiling CLMDB midl.c
[7/18] Compiling CRAW __craw.c
[8/18] Compiling CSystem shims.c
[9/18] Write swift-version--11D90AFD9DD3AB2.txt
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:4924:17: error: call to undeclared function 'pthread_mutexattr_setrobust'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4924 | if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:4924:53: error: use of undeclared identifier 'PTHREAD_MUTEX_ROBUST'
4924 | if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:10308:10: error: call to undeclared function 'pthread_mutex_consistent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
10308 | rc2 = mdb_mutex_consistent(mutex);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
374 | #define mdb_mutex_consistent(mutex) pthread_mutex_consistent(mutex)
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:10308:10: note: did you mean 'pthread_mutex_init'?
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:374:37: note: expanded from macro 'mdb_mutex_consistent'
374 | #define mdb_mutex_consistent(mutex) pthread_mutex_consistent(mutex)
| ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/pthread.h:242:5: note: 'pthread_mutex_init' declared here
242 | int pthread_mutex_init(pthread_mutex_t* _Nonnull __mutex, const pthread_mutexattr_t* _Nullable __attr);
| ^
3 errors generated.
[10/50] Compiling CLMDB mdb.c
BUILD FAILURE 6.2 android