Build Information
Failed to build SwiftAndroid, reference master (59001d
), with Swift 6.1 for Wasm on 14 Jul 2025 06:13:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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: 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-2":/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/5576] Fetching swift-java
Fetched https://github.com/PureSwift/swift-java.git from cache (0.54s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.8JZ6Kd/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.0DqNmA/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 0x7f3dd90bb788... done ***
*** Program crashed: Illegal instruction at 0x00007f3dd90bb788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007f3dd90bb788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x00005639ed06acfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x00005639ed06c231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x0000563c8d03f280 94818063872640
rsi 0x80005639ed076aa0 9223466843644586656
rdi 0x00005639ee9be010 05 00 02 00 03 00 05 00 01 00 02 00 01 00 00 00 ················
rbp 0x00007ffd5ea09200 70 95 a0 5e fd 7f 00 00 fd ac 06 ed 39 56 00 00 p· ^ý···ý¬·í9V··
rsp 0x00007ffd5ea09190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x00005639ee9d0be0 80 f2 03 8d 3c 56 00 00 88 d0 c0 f7 4a 7f ee b0 ·ò··<V···ÐÀ÷J·î°
r9 0x00007ffd5ea08e70 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0xb0ee7f4af7c0d088 12749267555093368968
r12 0x00005639ee9d0a60 c0 cc 03 8d 3c 56 00 00 88 d0 c0 f7 4a 7f ee b0 ÀÌ··<V···ÐÀ÷J·î°
r13 0x00007ffd5ea09530 10 00 00 00 00 00 00 f0 f0 13 9d ee 39 56 00 00 ·······ðð··î9V··
r14 0x00005639ed078c40 03 00 00 00 00 00 00 00 e8 8f 07 ed 39 56 00 00 ········è··í9V··
r15 0x00007f3dd9529040 e0 a2 52 d9 3d 7f 00 00 16 00 00 00 00 00 00 00 à¢RÙ=···········
rip 0x00007f3dd90bb788 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):
0x00005639ed066000–0x00005639ed0770a8 a2ef700abc14cab1e13f2b00ee3fdcd56a921ff7 swift-java-manifest /tmp/TemporaryDirectory.0DqNmA/swift-java-manifest
0x00007f3dd8ddf000–0x00007f3dd936d8c0 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-2":/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.15s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.g6gVem/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.TPlLQT/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 0x7face0aa8788... done ***
*** Program crashed: Illegal instruction at 0x00007face0aa8788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007face0aa8788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x00005558d45e4cfd findJavaHome() + 2348 in swift-java-manifest
2 [ra] 0x00005558d45e6231 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x00000005558d6461 22910166113
rsi 0x80005558d45f0aa0 9223465876863257248
rdi 0x00005558d644f010 05 00 02 00 03 00 05 00 01 00 01 00 01 00 00 00 ················
rbp 0x00007fffd69e4720 90 4a 9e d6 ff 7f 00 00 fd 4c 5e d4 58 55 00 00 ·J·Öÿ···ýL^ÔXU··
rsp 0x00007fffd69e46b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x00005558d6461be0 61 64 8d 55 05 00 00 00 16 bf 23 4d 26 1a 9e bd ad·U·····¿#M&··½
r9 0x00007fffd69e4390 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0xbd9e1a264d23bf16 13663387071293931286
r12 0x00005558d6462530 c2 50 cb 83 5d 55 00 00 16 bf 23 4d 26 1a 9e bd ÂPË·]U···¿#M&··½
r13 0x00007fffd69e4a50 10 00 00 00 00 00 00 f0 d0 23 46 d6 58 55 00 00 ·······ðÐ#FÖXU··
r14 0x00005558d45f2c40 03 00 00 00 00 00 00 00 e8 2f 5f d4 58 55 00 00 ········è/_ÔXU··
r15 0x00007face0f16040 e0 72 f1 e0 ac 7f 00 00 16 00 00 00 00 00 00 00 àrñଷ··········
rip 0x00007face0aa8788 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):
0x00005558d45e0000–0x00005558d45f10a8 0939198860cbaac125fd4b88bd7eefbb10196476 swift-java-manifest /tmp/TemporaryDirectory.TPlLQT/swift-java-manifest
0x00007face07cc000–0x00007face0d5a8c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s in https://github.com/PureSwift/swift-java.git
BUILD FAILURE 6.1 wasm