Build Information
Failed to build SwiftAndroid, reference master (59001d
), with Swift 6.1 for Android on 14 Jul 2025 06:13:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/android.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/pureswift/android
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 59001d3 Merge pull request #20 from PureSwift/feature/jvm-shims
Cloned https://github.com/pureswift/android.git
Revision (git rev-parse @):
59001d339bbc8e0e71ff55771ce8a9309637ea3a
SUCCESS checkout https://github.com/pureswift/android.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/pureswift/android.git
https://github.com/pureswift/android.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/PureSwift/swift-java.git
[1/5576] Fetching swift-java
Fetched https://github.com/PureSwift/swift-java.git from cache (0.47s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.Exf6MH/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.1.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.qsjhl7/swift-java-manifest"])
main/Package.swift:33: Fatal error: Please set the JAVA_HOME environment variable to point to where Java is installed.
*** Signal 4: Backtracing from 0x7f1c26cac788... done ***
*** Program crashed: Illegal instruction at 0x00007f1c26cac788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007f1c26cac788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x0000561a11a1acfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x0000561a11a1c231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x0000561f728baa78 94693065730680
rsi 0x8000561a11a26aa0 9223466706819771040
rdi 0x0000561a13296010 05 00 02 00 03 00 05 00 01 00 02 00 01 00 00 00 ················
rbp 0x00007ffdf0cc5540 b0 58 cc f0 fd 7f 00 00 fd ac a1 11 1a 56 00 00 °XÌðý···ý¬¡··V··
rsp 0x00007ffdf0cc54d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x0000561a132a8be0 78 aa 8b 72 1f 56 00 00 28 5d db bf ec 4f e2 ac xª·r·V··(]Û¿ìOâ¬
r9 0x00007ffdf0cc51b0 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0xace24fecbfdb5d28 12457607397509913896
r12 0x0000561a132a95a0 b9 97 8b 72 1f 56 00 00 28 5d db bf ec 4f e2 ac ¹··r·V··(]Û¿ìOâ¬
r13 0x00007ffdf0cc5870 10 00 00 00 00 00 00 f0 e0 93 2a 13 1a 56 00 00 ·······ðà·*··V··
r14 0x0000561a11a28c40 03 00 00 00 00 00 00 00 e8 8f a2 11 1a 56 00 00 ········è·¢··V··
r15 0x00007f1c2711a040 e0 b2 11 27 1c 7f 00 00 16 00 00 00 00 00 00 00 ಷ'············
rip 0x00007f1c26cac788 0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4 ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010202
cs 0x0033 fs 0x0000 gs 0x0000
Images (19 omitted):
0x0000561a11a16000–0x0000561a11a270a8 b0e5c255a5089242dfb6627a20c5973006da0fec swift-java-manifest /tmp/TemporaryDirectory.qsjhl7/swift-java-manifest
0x00007f1c269d0000–0x00007f1c26f5e8c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s in https://github.com/PureSwift/swift-java.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Updating https://github.com/PureSwift/swift-java.git
Updated https://github.com/PureSwift/swift-java.git (0.13s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.1J2VhY/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.1.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.emR5SN/swift-java-manifest"])
main/Package.swift:33: Fatal error: Please set the JAVA_HOME environment variable to point to where Java is installed.
*** Signal 4: Backtracing from 0x7f0739aeb788... done ***
*** Program crashed: Illegal instruction at 0x00007f0739aeb788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007f0739aeb788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x000055bb5cc18cfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x000055bb5cc1a231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x000000055bb5ddb0 23013481904
rsi 0x800055bb5cc24aa0 9223466300058258080
rdi 0x000055bb5dd9e010 05 00 02 00 03 00 05 00 01 00 01 00 01 00 00 00 ················
rbp 0x00007ffe56c8ba80 f0 bd c8 56 fe 7f 00 00 fd 8c c1 5c bb 55 00 00 ð½ÈVþ···ý·Á\»U··
rsp 0x00007ffe56c8ba10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000055bb5ddb0be0 b0 dd b5 5b 05 00 00 00 29 23 f0 50 8b f1 31 62 °Ýµ[····)#ðP·ñ1b
r9 0x00007ffe56c8b6f0 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0x6231f18b50f02329 7075702070236422953
r12 0x000055bb5ddb1500 11 f9 6e 06 be 55 00 00 29 23 f0 50 8b f1 31 62 ·ùn·¾U··)#ðP·ñ1b
r13 0x00007ffe56c8bdb0 10 00 00 00 00 00 00 f0 d0 13 db 5d bb 55 00 00 ·······ðзÛ]»U··
r14 0x000055bb5cc26c40 03 00 00 00 00 00 00 00 e8 6f c2 5c bb 55 00 00 ········èoÂ\»U··
r15 0x00007f0739f59040 e0 a2 f5 39 07 7f 00 00 16 00 00 00 00 00 00 00 à¢õ9············
rip 0x00007f0739aeb788 0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4 ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010202
cs 0x0033 fs 0x0000 gs 0x0000
Images (19 omitted):
0x000055bb5cc14000–0x000055bb5cc250a8 04943373123999eab3801d615d1a62051bc6b578 swift-java-manifest /tmp/TemporaryDirectory.emR5SN/swift-java-manifest
0x00007f073980f000–0x00007f0739d9d8c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.02s in https://github.com/PureSwift/swift-java.git
BUILD FAILURE 6.1 android