Build Information
Failed to build SwiftAndroid, reference master (9a484b
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 07:10:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-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 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: linux
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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.8EQMuM/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.D4ubFZ/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 0x7f24058d6f68... done ***
*** Program crashed: Illegal instruction at 0x00007f24058d6f68 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "spi-builder-wor" crashed:
0 0x00007f24058d6f68 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x0000563540ca0536 findJavaHome() + 1653 in spi-builder-workspace-manifest
2 [ra] 0x0000563540ca0b4a main + 473 in spi-builder-workspace-manifest
...
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x000000056354264a 23141295690
rsi 0x8000563540ca65b0 9223466823575037360
rdi 0x0000563542638010 06 00 02 00 02 00 02 00 02 00 01 00 01 00 00 00 ················
rbp 0x00007fff85215bc0 80 5e 21 85 ff 7f 00 00 36 05 ca 40 35 56 00 00 ·^!·ÿ···6·Ê@5V··
rsp 0x00007fff85215b50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000056354264abf0 4a 26 54 63 05 00 00 00 76 30 88 02 d0 ef 8c 59 J&Tc····v0··Ðï·Y
r9 0x00007fff852158c0 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0x598cefd002883076 6452796042789793910
r12 0x000056354264aab0 aa 9f 30 21 30 56 00 00 76 30 88 02 d0 ef 8c 59 ª·0!0V··v0··Ðï·Y
r13 0x00007fff85215e40 10 00 00 00 00 00 00 f0 90 b8 64 42 35 56 00 00 ·······ð·¸dB5V··
r14 0x0000563540ca7c68 03 00 00 00 00 00 00 00 e8 7f ca 40 35 56 00 00 ········è·Ê@5V··
r15 0x00007f2405d6e040 e0 f2 d6 05 24 7f 00 00 16 00 00 00 00 00 00 00 àòÖ·$···········
rip 0x00007f24058d6f68 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):
0x0000563540c9d000–0x0000563540ca68e8 2d2e944c5b1ef7c0295ae127ca5b29c636cce854 spi-builder-workspace-manifest /tmp/TemporaryDirectory.D4ubFZ/spi-builder-workspace-manifest
0x00007f24055f5000–0x00007f2405bab738 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.KipJM1/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.Qs637R/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 0x7f4089b4af68... done ***
*** Program crashed: Illegal instruction at 0x00007f4089b4af68 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "spi-builder-wor" crashed:
0 0x00007f4089b4af68 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x0000558c792d4536 findJavaHome() + 1653 in spi-builder-workspace-manifest
2 [ra] 0x0000558c792d4b4a main + 473 in spi-builder-workspace-manifest
...
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x0000000558c7b1ee 22964318702
rsi 0x8000558c792da5b0 9223466098671592880
rdi 0x0000558c7b1dc010 06 00 02 00 02 00 02 00 02 00 01 00 01 00 00 00 ················
rbp 0x00007ffe4f7b1ca0 60 1f 7b 4f fe 7f 00 00 36 45 2d 79 8c 55 00 00 `·{Oþ···6E-y·U··
rsp 0x00007ffe4f7b1c30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x0000558c7b1eebf0 ee b1 c7 58 05 00 00 00 8f 95 c8 81 78 6e 9d e2 î±ÇX······È·xn·â
r9 0x00007ffe4f7b19a0 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0xe29d6e7881c8958f 16329329287767823759
r12 0x0000558c7b1eeab0 0e 48 d9 23 89 55 00 00 8f 95 c8 81 78 6e 9d e2 ·HÙ#·U····È·xn·â
r13 0x00007ffe4f7b1f20 10 00 00 00 00 00 00 f0 90 f8 1e 7b 8c 55 00 00 ·······ð·ø·{·U··
r14 0x0000558c792dbc68 03 00 00 00 00 00 00 00 e8 bf 2d 79 8c 55 00 00 ········è¿-y·U··
r15 0x00007f4089fe2040 e0 32 fe 89 40 7f 00 00 16 00 00 00 00 00 00 00 à2þ·@···········
rip 0x00007f4089b4af68 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):
0x0000558c792d1000–0x0000558c792da8e8 825a2fd2e5ceba55611752fff0cb80253f09e803 spi-builder-workspace-manifest /tmp/TemporaryDirectory.Qs637R/spi-builder-workspace-manifest
0x00007f4089869000–0x00007f4089e1f738 ea415297c2418b4eb4feb8edcc649464dcb14bc6 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.01s
BUILD FAILURE 6.2 linux