Build Information
Failed to build Diomede, reference 0.0.66 (836a57
), with Swift 6.2 (beta) for Android on 22 Jun 2025 09:53:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasei/diomede.git
Reference: 0.0.66
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/kasei/diomede
* tag 0.0.66 -> FETCH_HEAD
HEAD is now at 836a57f Update to align with Xcode 16.1.
Cloned https://github.com/kasei/diomede.git
Revision (git rev-parse @):
836a57f10e722e6add58da6d3a2c1eae34b67a16
SUCCESS checkout https://github.com/kasei/diomede.git at 0.0.66
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/kasei/diomede.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/kasei/swift-sparql-syntax.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/agisboye/CLMDB.git
[1/2483] Fetching swift-sparql-syntax
[1119/2528] Fetching swift-sparql-syntax, clmdb
[1910/15469] Fetching swift-sparql-syntax, clmdb, cryptoswift
Fetched https://github.com/agisboye/CLMDB.git from cache (0.36s)
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (0.36s)
[1942/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.81s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (2.70s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.85s)
Computing version for https://github.com/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.2.11 (0.78s)
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.33s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.83s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.33
Creating working copy for https://github.com/kasei/swift-sparql-syntax.git
Working copy of https://github.com/kasei/swift-sparql-syntax.git resolved at 0.2.11
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
Building for debugging...
[0/27] Write sources
[4/27] Compiling LMDB midl.c
[5/27] Compiling serd string.c
[6/27] Compiling serd writer.c
[7/27] Write swift-version-8C5A4AE7A8CE2BA.txt
[7/27] Compiling serd reader.c
[7/27] Write sources
[11/27] Compiling serd uri.c
[12/27] Compiling serd node.c
[13/27] Compiling serd env.c
[14/27] Compiling serd byte_source.c
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4977:17: error: call to undeclared function 'pthread_mutexattr_setrobust'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4977 | if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4977:53: error: use of undeclared identifier 'PTHREAD_MUTEX_ROBUST'
4977 | if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:10391:10: error: call to undeclared function 'pthread_mutex_consistent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
10391 | rc2 = mdb_mutex_consistent(mutex);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/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/LMDB/mdb.c:10391:10: note: did you mean 'pthread_mutex_init'?
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/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-DEVELOPMENT-SNAPSHOT-2025-05-15-a-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.
[15/27] Compiling LMDB mdb.c
[15/27] Compiling serd n3.c
BUILD FAILURE 6.2 android