Build Information
Failed to build SwiftAndroid, reference 0.3.1 (65f935
), with Swift 6.1 for Wasm on 9 Jul 2025 13:37:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/android.git
Reference: 0.3.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/pureswift/android
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at 65f9359 Update minimum macOS version
Cloned https://github.com/pureswift/android.git
Revision (git rev-parse @):
65f93595fd15b3421490b666e6f5c268f63c278b
SUCCESS checkout https://github.com/pureswift/android.git at 0.3.1
========================================
Build
========================================
Selected platform: wasm
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/PureSwift/swift-java.git
[1/5322] Fetching swift-java
Fetched https://github.com/PureSwift/swift-java.git from cache (0.49s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.D7SMtu/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.8PnKd0/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 0x7fa1b1d8a788... done ***
*** Program crashed: Illegal instruction at 0x00007fa1b1d8a788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007fa1b1d8a788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x00005590bea3dcfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x00005590bea3f231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x00005595994defbd 94101010509757
rsi 0x80005590bea49aa0 9223466117016885920
rdi 0x00005590c040b010 05 00 02 00 03 00 05 00 01 00 02 00 01 00 00 00 ················
rbp 0x00007ffdde021500 70 18 02 de fd 7f 00 00 fd dc a3 be 90 55 00 00 p··Þý···ýÜ£¾·U··
rsp 0x00007ffdde021490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x00005590c041dbe0 bd ef 4d 99 95 55 00 00 7b 4b ad ca e1 0d c4 fb ½ïM··U··{KÊá·Äû
r9 0x00007ffdde021170 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0xfbc40de1caad4b7b 18141640462374357883
r12 0x00005590c041e5d0 0e f1 4d 99 95 55 00 00 7b 4b ad ca e1 0d c4 fb ·ñM··U··{KÊá·Äû
r13 0x00007ffdde021830 10 00 00 00 00 00 00 f0 e0 e3 41 c0 90 55 00 00 ·······ðàãAÀ·U··
r14 0x00005590bea4bc40 03 00 00 00 00 00 00 00 e8 bf a4 be 90 55 00 00 ········è¿¤¾·U··
r15 0x00007fa1b21f8040 e0 92 1f b2 a1 7f 00 00 16 00 00 00 00 00 00 00 à··²¡···········
rip 0x00007fa1b1d8a788 0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4 ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010206 PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (19 omitted):
0x00005590bea39000–0x00005590bea4a0a8 15ff6bdf3ffac05cec6b8924d7b1feff67e9fa36 swift-java-manifest /tmp/TemporaryDirectory.8PnKd0/swift-java-manifest
0x00007fa1b1aae000–0x00007fa1b203c8c0 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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Updating https://github.com/PureSwift/swift-java.git
Updated https://github.com/PureSwift/swift-java.git (0.18s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.b26Gea/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.tndBdB/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 0x7fcda75a8788... done ***
*** Program crashed: Illegal instruction at 0x00007fcda75a8788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007fcda75a8788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x000055fadaa4ccfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x000055fadaa4e231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x000000055fadba19 23080057369
rsi 0x800055fadaa58aa0 9223466572753242784
rdi 0x000055fadba07010 05 00 02 00 03 00 05 00 01 00 01 00 01 00 00 00 ················
rbp 0x00007ffe6bbb6010 80 63 bb 6b fe 7f 00 00 fd cc a4 da fa 55 00 00 ·c»kþ···ý̤ÚúU··
rsp 0x00007ffe6bbb5fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000055fadba19be0 19 ba ad 5f 05 00 00 00 47 22 bf 62 28 b2 fa 1f ·º_····G"¿b(²ú·
r9 0x00007ffe6bbb5c80 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0x1ffab22862bf2247 2304350045878559303
r12 0x000055fadba1a580 ba 0e 0c 84 ff 55 00 00 47 22 bf 62 28 b2 fa 1f º···ÿU··G"¿b(²ú·
r13 0x00007ffe6bbb6340 10 00 00 00 00 00 00 f0 e0 a3 a1 db fa 55 00 00 ·······ð࣡ÛúU··
r14 0x000055fadaa5ac40 03 00 00 00 00 00 00 00 e8 af a5 da fa 55 00 00 ········è¯¥ÚúU··
r15 0x00007fcda7a16040 e0 72 a1 a7 cd 7f 00 00 16 00 00 00 00 00 00 00 àr¡§Í···········
rip 0x00007fcda75a8788 0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4 ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010206 PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (19 omitted):
0x000055fadaa48000–0x000055fadaa590a8 936e0b52176fad27f5619965eef8e6aa0ca88603 swift-java-manifest /tmp/TemporaryDirectory.tndBdB/swift-java-manifest
0x00007fcda72cc000–0x00007fcda785a8c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.04s in https://github.com/PureSwift/swift-java.git
BUILD FAILURE 6.1 wasm