Build Information
Failed to build mio, reference main (32abc0), with Swift 6.2 for Android on 2 Oct 2026 20:38:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/akvilary/mio.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/akvilary/mio
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 32abc0f Infra: CI gate (debug/TSan/release), TimerFd contract tests, README 0.3.0
Cloned https://github.com/akvilary/mio.git
Revision (git rev-parse @):
32abc0fe757023bd9defc87041cd51c9ccd1ab2b
SUCCESS checkout https://github.com/akvilary/mio.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/akvilary/mio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:f47b2a33897778fb58ca39c1139e193fa7f391fa362fe0d23c00db9747030994
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
/host/spi-builder-workspace/Sources/CMIO/wrapper.c:71:13: error: call to undeclared function 'epoll_pwait2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
71 | int n = epoll_pwait2(
| ^
/host/spi-builder-workspace/Sources/CMIO/wrapper.c:71:13: note: did you mean 'epoll_pwait'?
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/sys/epoll.h:84:5: note: 'epoll_pwait' declared here
84 | int epoll_pwait(int __epoll_fd, struct epoll_event* _Nonnull __events, int __event_count, int __timeout_ms, const sigset_t* _Nullable __mask);
| ^
1 error generated.
[1/3] Compiling CMIO wrapper.c
[1/3] Write swift-version--11D90AFD9DD3AB2.txt
BUILD FAILURE 6.2 android