Build Information
Failed to build BitcoinKernel, reference 0.1.1 (fd06af), with Swift 6.3 for Android on 18 Jul 2026 11:22:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/21-DOT-DEV/swift-bitcoinkernel.git
Reference: 0.1.1
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/21-DOT-DEV/swift-bitcoinkernel
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at fd06af6 Create .spi.yml (#33)
Cloned https://github.com/21-DOT-DEV/swift-bitcoinkernel.git
Revision (git rev-parse @):
fd06af6bc9776dbac27ff8fa9b3a009546c609a4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-bitcoinkernel.git at 0.1.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/21-DOT-DEV/swift-bitcoinkernel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:451958f7df55f9af673f8b0851dc526f2aee3222db374ae53b89fa21ad564bc8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/21-DOT-DEV/swift-boost
[1/14054] Fetching swift-boost
Fetched https://github.com/21-DOT-DEV/swift-boost from cache (1.36s)
Fetching https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/21-DOT-DEV/swift-event
Fetching https://github.com/21-DOT-DEV/swift-plugin-tuist.git
[1/64] Fetching swift-plugin-subtree
[65/732] Fetching swift-plugin-subtree, swift-event
[79/2188] Fetching swift-plugin-subtree, swift-event, swift-plugin-tuist
[1032/4513] Fetching swift-plugin-subtree, swift-event, swift-plugin-tuist, swift-docc-plugin
Fetched https://github.com/21-DOT-DEV/swift-plugin-tuist.git from cache (0.40s)
Fetched https://github.com/21-DOT-DEV/swift-event from cache (0.42s)
[320/2389] Fetching swift-plugin-subtree, swift-docc-plugin
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.49s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.49s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.62s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3756] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.52s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Computed https://github.com/21-DOT-DEV/swift-plugin-subtree.git at 0.0.15 (0.67s)
Fetching https://github.com/21-DOT-DEV/swift-artifact-parser
[1/28] Fetching swift-artifact-parser
Fetched https://github.com/21-DOT-DEV/swift-artifact-parser from cache (0.33s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Computed https://github.com/21-DOT-DEV/swift-plugin-tuist.git at 4.195.11 (0.60s)
Computing version for https://github.com/21-DOT-DEV/swift-event
Computed https://github.com/21-DOT-DEV/swift-event at 0.2.1 (0.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.22s)
Computing version for https://github.com/21-DOT-DEV/swift-artifact-parser
Computed https://github.com/21-DOT-DEV/swift-artifact-parser at 0.0.1 (0.21s)
Creating working copy for https://github.com/21-DOT-DEV/swift-event
Working copy of https://github.com/21-DOT-DEV/swift-event resolved at 0.2.1
Creating working copy for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-subtree.git resolved at 0.0.15
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/21-DOT-DEV/swift-plugin-tuist.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-tuist.git resolved at 4.195.11
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/21-DOT-DEV/swift-boost
Working copy of https://github.com/21-DOT-DEV/swift-boost resolved at 6d8c72c0f41a20ec47b25096e4c422ef34f67579
Creating working copy for https://github.com/21-DOT-DEV/swift-artifact-parser
Working copy of https://github.com/21-DOT-DEV/swift-artifact-parser resolved at 0.0.1
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip
Downloading binary artifact https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.195.11/tuist.artifactbundle.zip
[1369/59280871] Downloading https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.195.11/tuist.artifactbundle.zip
[59209/103952801] Downloading https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.195.11/tuist.artifactbundle.zip, https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip
Downloaded https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip (3.33s)
Downloaded https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.195.11/tuist.artifactbundle.zip (4.45s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
[4/4] Compiling plugin TuistPlugin
Building for debugging...
[4/372] Compiling type_traits.cpp
[4/372] Compiling utility.cpp
[4/372] Compiling variant.cpp
[4/372] Compiling type_index.cpp
[8/372] Compiling static_assert.cpp
[9/372] Compiling throw_exception.cpp
[10/372] Compiling smart_ptr.cpp
[11/372] Compiling signals2.cpp
[12/372] Compiling tuple.cpp
[13/372] Write swift-version-272D24FF697CF451.txt
[14/372] Compiling preprocessor.cpp
[15/372] Compiling optional.cpp
[16/372] Compiling precomputed_ecmult_gen.c
[17/372] Compiling multi_index.cpp
[18/372] Compiling mpl.cpp
[19/372] Compiling mp11.cpp
[20/372] Compiling move.cpp
[21/372] Compiling secp256k1.c
[22/372] Compiling bitcoin_hmac_sha256.cpp
[23/372] Compiling minisketch.cpp
[24/372] Compiling precomputed_ecmult.c
[25/372] Compiling bitcoin_socks_reset.cpp
[26/372] Compiling chainparams.cpp
[27/372] Compiling generic_8bytes.cpp
[28/372] Compiling bitcoin_rpc.cpp
[29/372] Compiling strlcpy.c
[30/372] Compiling generic_7bytes.cpp
[31/372] Compiling signal.c
[32/372] Compiling select.c
[33/372] Compiling poll.c
[34/372] Compiling log.c
[35/372] Compiling listener.c
[36/372] Compiling kqueue.c
[37/372] Compiling evutil_time.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-event/Sources/libevent/src/evutil_rand.c:134:
/host/spi-builder-workspace/.build/checkouts/swift-event/Sources/libevent/src/./arc4random.c:488:1: error: static declaration of 'arc4random_buf' follows non-static declaration
488 | arc4random_buf(void *buf_, size_t n)
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/stdlib.h:130:6: note: previous declaration is here
130 | void arc4random_buf(void* _Nonnull __buf, size_t __n);
| ^
1 error generated.
[38/372] Compiling evutil_rand.c
[38/372] Compiling http.c
[38/372] Compiling generic_1byte.cpp
[38/372] Compiling generic_2bytes.cpp
[38/372] Compiling generic_3bytes.cpp
[38/372] Compiling generic_5bytes.cpp
[38/372] Compiling generic_4bytes.cpp
[38/372] Compiling generic_6bytes.cpp
BUILD FAILURE 6.3 android