Build Information
Failed to build Java, reference master (e94491), with Swift 6.3 for Wasm on 10 Apr 2026 14:24:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readdle/swift-java.git
Reference: master
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/readdle/swift-java
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e944916 Dev: support Swift 5.7
Cloned https://github.com/readdle/swift-java.git
Revision (git rev-parse @):
e9449162891ce8e9687e9ff87d44c0752556df49
SUCCESS checkout https://github.com/readdle/swift-java.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/readdle/swift-java.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/readdle/java_swift.git
Fetching https://github.com/readdle/swift-java-coder.git
[1/353] Fetching swift-java-coder
[305/673] Fetching swift-java-coder, java_swift
Fetched https://github.com/readdle/java_swift.git from cache (0.43s)
Fetched https://github.com/readdle/swift-java-coder.git from cache (0.43s)
Computing version for https://github.com/readdle/swift-java-coder.git
Computed https://github.com/readdle/swift-java-coder.git at 1.1.2 (1.15s)
Fetching https://github.com/readdle/swift-anycodable.git
[1/92] Fetching swift-anycodable
Fetched https://github.com/readdle/swift-anycodable.git from cache (0.30s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (0.83s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.2.3 (0.53s)
Fetching https://github.com/readdle/swift-android-ndk.git
[1/80] Fetching swift-android-ndk
Fetched https://github.com/readdle/swift-android-ndk.git from cache (0.29s)
Computing version for https://github.com/readdle/swift-android-ndk.git
Computed https://github.com/readdle/swift-android-ndk.git at 1.1.4 (4.16s)
Creating working copy for https://github.com/readdle/swift-android-ndk.git
Working copy of https://github.com/readdle/swift-android-ndk.git resolved at 1.1.4
Creating working copy for https://github.com/readdle/swift-anycodable.git
Working copy of https://github.com/readdle/swift-anycodable.git resolved at 1.0.3
Creating working copy for https://github.com/readdle/swift-java-coder.git
Working copy of https://github.com/readdle/swift-java-coder.git resolved at 1.1.2
Creating working copy for https://github.com/readdle/java_swift.git
Working copy of https://github.com/readdle/java_swift.git resolved at 2.2.3
Building for debugging...
[0/7] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/MainRunLoop.c:1:
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidNDK.h:4:10: fatal error: 'jni.h' file not found
4 | #include <jni.h>
| ^~~~~~~
1 error generated.
[5/7] Compiling CAndroidNDK MainRunLoop.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm