The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftAndroid, reference master (9a484b), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 07:09:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-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: 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 9a484ba Merge pull request #16 from zunda-pixel/update-gitignore
Cloned https://github.com/pureswift/android.git
Revision (git rev-parse @):
9a484bafd509cf700b3c73013c1634cc21a2281a
SUCCESS checkout https://github.com/pureswift/android.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pureswift/android.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.kATqwd/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.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.BqJBgU/spi-builder-workspace-manifest"])
main/Package.swift:29: Fatal error: Please set the JAVA_HOME environment variable to point to where Java is installed.
*** Signal 4: Backtracing from 0x7ff3a6020f68... done ***
*** Program crashed: Illegal instruction at 0x00007ff3a6020f68 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "spi-builder-wor" crashed:
  0      0x00007ff3a6020f68 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
  1 [ra] 0x000056092577c536 findJavaHome() + 1653 in spi-builder-workspace-manifest
  2 [ra] 0x000056092577cb4a main + 473 in spi-builder-workspace-manifest
...
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000002  2
rcx 0x0000000000000005  5
rbx 0x0000000560927685  23095047813
rsi 0x80005609257825b0  9223466634138101168
rdi 0x0000560927673010  06 00 02 00 02 00 02 00 02 00 01 00 01 00 00 00  ················
rbp 0x00007fff9a9e6560  20 68 9e 9a ff 7f 00 00 36 c5 77 25 09 56 00 00   h··ÿ···6Åw%·V··
rsp 0x00007fff9a9e64f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x0000560927685bf0  85 76 92 60 05 00 00 00 1d 44 5d 0f 97 6c a3 d6  ·v·`·····D]··l£Ö
 r9 0x00007fff9a9e6260  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65  Fatal error: Ple
r10 0x0000000000000000  0
r11 0xd6a36c970f5d441d  15466324941374047261
r12 0x0000560927685a70  65 1c fa 47 0c 56 00 00 1d 44 5d 0f 97 6c a3 d6  e·úG·V···D]··l£Ö
r13 0x00007fff9a9e67e0  10 00 00 00 00 00 00 f0 90 69 68 27 09 56 00 00  ·······ð·ih'·V··
r14 0x0000560925783c68  03 00 00 00 00 00 00 00 e8 3f 78 25 09 56 00 00  ········è?x%·V··
r15 0x00007ff3a64b8040  e0 92 4b a6 f3 7f 00 00 16 00 00 00 00 00 00 00  à·K¦ó···········
rip 0x00007ff3a6020f68  0f 0b 48 8d 35 4f 0f 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):
0x0000560925779000–0x00005609257828e8 63d4392291a0ebf59eb447d2a537edc8dbe445c0 spi-builder-workspace-manifest /tmp/TemporaryDirectory.BqJBgU/spi-builder-workspace-manifest
0x00007ff3a5d3f000–0x00007ff3a62f5738 ea415297c2418b4eb4feb8edcc649464dcb14bc6 libswiftCore.so                /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.01s
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.ZvHzKe/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.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.d5WU7E/spi-builder-workspace-manifest"])
main/Package.swift:29: Fatal error: Please set the JAVA_HOME environment variable to point to where Java is installed.
*** Signal 4: Backtracing from 0x7f58c7980f68... done ***
*** Program crashed: Illegal instruction at 0x00007f58c7980f68 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "spi-builder-wor" crashed:
  0      0x00007f58c7980f68 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
  1 [ra] 0x000055bba3786536 findJavaHome() + 1653 in spi-builder-workspace-manifest
  2 [ra] 0x000055bba3786b4a main + 473 in spi-builder-workspace-manifest
...
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000002  2
rcx 0x0000000000000005  5
rbx 0x000000055bba439c  23013770140
rsi 0x800055bba378c5b0  9223466301244622256
rdi 0x000055bba438a010  06 00 02 00 02 00 02 00 02 00 01 00 01 00 00 00  ················
rbp 0x00007ffde5a07920  e0 7b a0 e5 fd 7f 00 00 36 65 78 a3 bb 55 00 00  à{ åý···6ex£»U··
rsp 0x00007ffde5a078b0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x000055bba439cbf0  9c 43 ba 5b 05 00 00 00 34 ba ed 4a 6c 6f f7 ba  ·Cº[····4ºíJlo÷º
 r9 0x00007ffde5a07620  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65  Fatal error: Ple
r10 0x0000000000000000  0
r11 0xbaf76f6c4aedba34  13472359321206372916
r12 0x000055bba439ca70  7c 99 83 ff be 55 00 00 34 ba ed 4a 6c 6f f7 ba  |··ÿ¾U··4ºíJlo÷º
r13 0x00007ffde5a07ba0  10 00 00 00 00 00 00 f0 90 d9 39 a4 bb 55 00 00  ·······ð·Ù9¤»U··
r14 0x000055bba378dc68  03 00 00 00 00 00 00 00 e8 df 78 a3 bb 55 00 00  ········èßx£»U··
r15 0x00007f58c7e18040  e0 92 e1 c7 58 7f 00 00 16 00 00 00 00 00 00 00  à·áÇX···········
rip 0x00007f58c7980f68  0f 0b 48 8d 35 4f 0f 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):
0x000055bba3783000–0x000055bba378c8e8 03f60cf772deace23df0d1bbd724a7f5511be2a9 spi-builder-workspace-manifest /tmp/TemporaryDirectory.d5WU7E/spi-builder-workspace-manifest
0x00007f58c769f000–0x00007f58c7c55738 ea415297c2418b4eb4feb8edcc649464dcb14bc6 libswiftCore.so                /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.01s
BUILD FAILURE 6.2 wasm