Build Information
Failed to build swift-event, reference main (dadae6), with Swift 6.2 for Android on 26 Jun 2026 17:45:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/21-DOT-DEV/swift-event.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/21-DOT-DEV/swift-event
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dadae68 ci(subtree): drop scheduled trigger from check-subtree-updates (#15)
Cloned https://github.com/21-DOT-DEV/swift-event.git
Revision (git rev-parse @):
dadae68cf92003935d96fadf3c2d9f9b1a347a0f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-event.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/21-DOT-DEV/swift-event.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2299] Fetching swift-docc-plugin
[93/2363] Fetching swift-docc-plugin, swift-plugin-subtree
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.54s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.55s)
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.13 (0.69s)
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.38s)
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 (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.72s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/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/21-DOT-DEV/swift-artifact-parser
Working copy of https://github.com/21-DOT-DEV/swift-artifact-parser resolved at 0.0.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.13
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip
[1369/44642150] Downloading https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip
Downloaded https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip (3.82s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
/host/spi-builder-workspace/Sources/libevent/src/strlcpy.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
48 | event_strlcpy_(dst, src, siz)
| ^
1 warning generated.
[3/67] Compiling strlcpy.c
[4/67] Compiling evthread_pthread.c
[5/67] Compiling evthread.c
[6/67] Compiling bufferevent_pair.c
[7/67] Compiling epoll.c
[7/67] Write swift-version--11D90AFD9DD3AB2.txt
[9/67] Compiling bufferevent_sock.c
[10/67] Compiling kqueue.c
[11/67] Compiling signal.c
[12/67] Compiling log.c
[13/67] Compiling select.c
[14/67] Compiling bufferevent_ratelim.c
[15/67] Compiling poll.c
[15/67] Compiling listener.c
[17/67] Compiling evutil_time.c
In file included from /host/spi-builder-workspace/Sources/libevent/src/evutil_rand.c:134:
/host/spi-builder-workspace/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.2-RELEASE-android-0.1.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.
[18/67] Compiling evutil_rand.c
[18/67] Compiling event.c
[18/67] Compiling evdns.c
[18/67] Compiling evrpc.c
[18/67] Compiling evutil.c
[18/67] Compiling http.c
[18/67] Compiling event_tagging.c
[18/67] Compiling evmap.c
BUILD FAILURE 6.2 android