Build Information
Failed to build swift-playdate-examples, reference main (ff15c7
), with Swift 6.1 for Wasm on 5 Jun 2025 06:40:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-playdate-examples.git
Reference: main
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/swiftlang/swift-playdate-examples
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ff15c7d Update README.md (#26)
Cloned https://github.com/swiftlang/swift-playdate-examples.git
Revision (git rev-parse @):
ff15c7d4824dfea97acb4c25316d2b393bef680d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-playdate-examples.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-playdate-examples.git
https://github.com/swiftlang/swift-playdate-examples.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.O7qcHg/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.90T9iO/spi-builder-workspace-manifest"])
main/Package.swift:8: Fatal error: could not determine home directory
*** Signal 4: Backtracing from 0x7fdd47542a0f... done ***
*** Program crashed: Illegal instruction at 0x00007fdd47542a0f ***
Thread 0 "spi-builder-wor" crashed:
0 0x00007fdd47542a0f _assertionFailure(_:_:file:line:flags:) + 351 in libswiftCore.so
1 [ra] 0x00005573d81620ee main + 6749 in spi-builder-workspace-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x00005573d81622dd 46 61 74 61 6c 20 65 72 72 6f 72 00 45 6d 62 65 Fatal error·Embe
rcx 0x0000000000000002 2
rbx 0x000055768f44bc63 93967698148451
rsi 0x80005573d8162180 9223465992889704832
rdi 0x00005573d8780010 02 00 02 00 02 00 04 00 03 00 01 00 01 00 02 00 ················
rbp 0x00007fff8797dfc0 30 e5 97 87 ff 7f 00 00 ee 20 16 d8 73 55 00 00 0å··ÿ···î ·ØsU··
rsp 0x00007fff8797df20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x00005573d8793590 63 bc 44 8f 76 55 00 00 75 6f f9 50 d0 b4 6b a2 c¼D·vU··uoùPдk¢
r9 0x00007fff8797dc90 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 63 6f 75 Fatal error: cou
r10 0x0000000000000000 0
r11 0xa26bb4d050f96f75 11703646863457087349
r12 0x00005573d8162180 6d 61 69 6e 2f 50 61 63 6b 61 67 65 2e 73 77 69 main/Package.swi
r13 0x0000000000000022 34
r14 0x80005573d8162180 9223465992889704832
r15 0x000000000000000b 11
rip 0x00007fdd47542a0f 0f 0b 48 83 ec 08 48 8d 05 94 a8 2e 00 48 8d 3d ··H·ì·H···¨.·H·=
rflags 0x0000000000010282 SF
cs 0x0033 fs 0x0000 gs 0x0000
Images (19 omitted):
0x00005573d815e000–0x00005573d81625d0 <no build ID> spi-builder-workspace-manifest /tmp/TemporaryDirectory.90T9iO/spi-builder-workspace-manifest
0x00007fdd47260000–0x00007fdd477f4ac8 c51192efcf3d046b4eccd29cbc4a02a48194fe47 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
/host/spi-builder-workspace/Sources/CPlaydate/playdate.c:1:10: fatal error: 'pd_api.h' file not found
1 | #include "pd_api.h"
| ^~~~~~~~~~
1 error generated.
[1/3] Compiling CPlaydate playdate.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/CPlaydate/playdate.c:1:10: fatal error: 'pd_api.h' file not found
1 | #include "pd_api.h"
| ^~~~~~~~~~
1 error generated.
[0/2] Compiling CPlaydate playdate.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm