The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-event, reference 0.2.1 (969210), with Swift 6.2 for Android on 26 Jun 2026 18:02:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/21-DOT-DEV/swift-event.git
Reference: 0.2.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-event
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 9692104 fix(libevent): shim-header modulemap to unbreak Swift C++ interop consumers (#14)
Cloned https://github.com/21-DOT-DEV/swift-event.git
Revision (git rev-parse @):
9692104e590852d8237e510fc8f69206cbd992b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-event.git at 0.2.1
========================================
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-53886769-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/64] Fetching swift-plugin-subtree
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.36s)
[1/2299] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.53s)
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.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.36s)
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.20s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.17s)
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.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.71s)
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/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/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
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.13/subtree.artifactbundle.zip
[831/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 (2.61s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
[3/67] Compiling evthread.c
[4/67] Compiling bufferevent_pair.c
[4/67] Compiling event_tagging.c
[6/67] Compiling epoll.c
[7/67] Compiling bufferevent_sock.c
/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.
[8/67] Compiling strlcpy.c
[9/67] Compiling evmap.c
[10/67] Compiling evrpc.c
[11/67] Compiling bufferevent_ratelim.c
[12/67] Compiling kqueue.c
[13/67] Compiling select.c
[14/67] Compiling signal.c
[15/67] Compiling poll.c
[16/67] Write swift-version--11D90AFD9DD3AB2.txt
[17/67] Compiling log.c
[18/67] Compiling listener.c
[19/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.
[20/67] Compiling evutil_rand.c
[20/67] Compiling evdns.c
[20/67] Compiling event.c
[20/67] Compiling evutil.c
[20/67] Compiling http.c
[20/67] Compiling evthread_pthread.c
[20/67] Compiling bufferevent_filter.c
BUILD FAILURE 6.2 android