Build Information
Failed to build SwiftAndroid, reference master (59001d
), with Swift 6.1 for Linux on 14 Jul 2025 06:13:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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.53s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.NgTR8Z/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.S16zUF/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 0x7f21aba16788... done ***
*** Program crashed: Illegal instruction at 0x00007f21aba16788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007f21aba16788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x0000555bf3e39cfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x0000555bf3e3b231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x0000555ea079a4ee 93864907613422
rsi 0x8000555bf3e45aa0 9223465890276989600
rdi 0x0000555bf5c5c010 05 00 02 00 03 00 05 00 01 00 02 00 01 00 00 00 ················
rbp 0x00007fffbc0d62f0 60 66 0d bc ff 7f 00 00 fd 9c e3 f3 5b 55 00 00 `f·¼ÿ···ý·ãó[U··
rsp 0x00007fffbc0d6280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x0000555bf5c6ebe0 ee a4 79 a0 5e 55 00 00 1b 02 87 a1 96 05 d4 c2 î¤y ^U·····¡··ÔÂ
r9 0x00007fffbc0d5f60 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0xc2d40596a187021b 14038852082933891611
r12 0x0000555bf5c6f500 7f 59 78 a0 5e 55 00 00 1b 02 87 a1 96 05 d4 c2 ·Yx ^U·····¡··ÔÂ
r13 0x00007fffbc0d6620 10 00 00 00 00 00 00 f0 d0 f3 c6 f5 5b 55 00 00 ·······ðÐóÆõ[U··
r14 0x0000555bf3e47c40 03 00 00 00 00 00 00 00 e8 7f e4 f3 5b 55 00 00 ········è·äó[U··
r15 0x00007f21abe84040 e0 52 e8 ab 21 7f 00 00 16 00 00 00 00 00 00 00 àRè«!···········
rip 0x00007f21aba16788 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):
0x0000555bf3e35000–0x0000555bf3e460a8 3ebef2e0d167d3c0da1df445db6533c9342bd28d swift-java-manifest /tmp/TemporaryDirectory.S16zUF/swift-java-manifest
0x00007f21ab73a000–0x00007f21abcc88c0 75d6677a6d78e3edb298be997d0496314a39dbd5 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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Updating https://github.com/PureSwift/swift-java.git
Updated https://github.com/PureSwift/swift-java.git (0.15s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.kAADCn/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.pImeaK/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 0x7f19965be788... done ***
*** Program crashed: Illegal instruction at 0x00007f19965be788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007f19965be788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x000055f257aa8cfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x000055f257aaa231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x000055f707b62fd9 94519474663385
rsi 0x800055f257ab4aa0 9223466536196065952
rdi 0x000055f258927010 05 00 02 00 03 00 05 00 01 00 02 00 01 00 00 00 ················
rbp 0x00007ffd890f04f0 60 08 0f 89 fd 7f 00 00 fd 8c aa 57 f2 55 00 00 `···ý···ý·ªWòU··
rsp 0x00007ffd890f0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000055f258939be0 d9 2f b6 07 f7 55 00 00 ff f3 51 9d 27 a6 c7 1d Ù/¶·÷U··ÿóQ·'¦Ç·
r9 0x00007ffd890f0160 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0x1dc7a6279d51f3ff 2145866436538659839
r12 0x000055f25893a500 2a 3c b6 07 f7 55 00 00 ff f3 51 9d 27 a6 c7 1d *<¶·÷U··ÿóQ·'¦Ç·
r13 0x00007ffd890f0820 10 00 00 00 00 00 00 f0 d0 a3 93 58 f2 55 00 00 ·······ðУ·XòU··
r14 0x000055f257ab6c40 03 00 00 00 00 00 00 00 e8 6f ab 57 f2 55 00 00 ········èo«WòU··
r15 0x00007f1996a2c040 e0 d2 a2 96 19 7f 00 00 16 00 00 00 00 00 00 00 àÒ¢·············
rip 0x00007f19965be788 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):
0x000055f257aa4000–0x000055f257ab50a8 3c52359471a70aa355fe5e43b81c9e83e9a22bff swift-java-manifest /tmp/TemporaryDirectory.pImeaK/swift-java-manifest
0x00007f19962e2000–0x00007f19968708c0 75d6677a6d78e3edb298be997d0496314a39dbd5 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s in https://github.com/PureSwift/swift-java.git
BUILD FAILURE 6.1 linux