Build Information
Failed to build PlaydateKit, reference main (7a2888
), with Swift 6.1 for Linux on 6 May 2025 01:40:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finnvoor/PlaydateKit.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/finnvoor/PlaydateKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7a28880 Black color with alpha (#122)
Cloned https://github.com/finnvoor/PlaydateKit.git
Revision (git rev-parse @):
7a288807a7f37f4d467059c140e3d0c66307d7a2
SUCCESS checkout https://github.com/finnvoor/PlaydateKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/finnvoor/PlaydateKit.git
https://github.com/finnvoor/PlaydateKit.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.SzfLbg/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.bkkYcQ/spi-builder-workspace-manifest"])
main/Package.swift:28: Fatal error: Unexpectedly found nil while unwrapping an Optional value
*** Signal 4: Backtracing from 0x7fba11ce1bb4... done ***
*** Program crashed: Illegal instruction at 0x00007fba11ce1bb4 ***
Thread 0 "spi-builder-wor" crashed:
0 0x00007fba11ce1bb4 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 308 in libswiftCore.so
1 [ra] 0x00007fba11ce1962 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 257 in libswiftCore.so
2 [ra] 0x00007fba11ce181d closure #1 in _assertionFailure(_:_:file:line:flags:) + 380 in libswiftCore.so
3 [ra] 0x00007fba11e64d16 _assertionFailure(_:_:file:line:flags:) + 229 in libswiftCore.so
4 [ra] 0x00005652487f7ac3 main + 3586 in spi-builder-workspace-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000001 1
rcx 0x0000000000000003 3
rbx 0x000056572d8e281a 94932426434586
rsi 0x0000000000000007 7
rdi 0x0000565248a96010 02 00 02 00 02 00 03 00 03 00 01 00 01 00 02 00 ················
rbp 0x00007ffdeeaff080 c0 f0 af ee fd 7f 00 00 62 19 ce 11 ba 7f 00 00 Àð¯îý···b·Î·º···
rsp 0x00007ffdeeaff070 39 00 00 00 00 00 00 00 1c 00 00 00 00 00 00 00 9···············
r8 0x0000565248aaa300 1a 28 8e 2d 57 56 00 00 c7 1c 63 b7 f1 25 e9 d9 ·(·-WV··Ç·c·ñ%éÙ
r9 0x00007ffdeeafee60 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 55 6e 65 Fatal error: Une
r10 0x0000000000000000 0
r11 0xd9e925f1b7631cc7 15702123295898016967
r12 0x00007ffdeeaff998 77 0e b0 ee fd 7f 00 00 b5 0e b0 ee fd 7f 00 00 w·°îý···µ·°îý···
r13 0x00007ffdeeaff800 00 00 00 00 00 00 00 f0 90 9b aa 48 52 56 00 00 ·······ð··ªHRV··
r14 0x0000000000000001 1
r15 0x0000000000000001 1
rip 0x00007fba11ce1bb4 0f 0b 48 83 ec 08 48 8d 05 3f cb 46 00 48 8d 3d ··H·ì·H··?ËF·H·=
rflags 0x0000000000010202
cs 0x0033 fs 0x0000 gs 0x0000
Images (19 omitted):
0x00005652487f4000–0x00005652487f90d8 <no build ID> spi-builder-workspace-manifest /tmp/TemporaryDirectory.bkkYcQ/spi-builder-workspace-manifest
0x00007fba11b82000–0x00007fba12116ac8 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 11 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-1x-table-52-38.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-2x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-8x-table-6-5.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-text-1x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-8x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-text-2x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-1x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-4x-table-13-10.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-2x-table-26-19.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-4x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble.png
[1/1] Compiling plugin PDCPlugin
Building for debugging...
[1/8] Write sources
[2/8] Compiling UnicodeGrapheme.cpp
[3/8] Compiling UnicodeData.cpp
[4/8] Compiling UnicodeNormalization.cpp
[5/8] Compiling UnicodeWord.cpp
[6/8] Compiling UnicodeScalarProps.cpp
[6/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module PlaydateKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CPlaydate.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CPlaydate/include/CPlaydate.h:2:10: error: 'pd_api.h' file not found
1 | #pragma once
2 | #include "pd_api.h"
| `- error: 'pd_api.h' file not found
3 |
4 | int formatStringFloat(PlaydateAPI p, char **outstring, float number) {
/host/spi-builder-workspace/Sources/PlaydateKit/Core/Display.swift:1:15: error: could not build C module 'CPlaydate'
1 | public import CPlaydate
| `- error: could not build C module 'CPlaydate'
2 |
3 | /// Functions pertaining to Playdate’s screen.
[10/10] Compiling PlaydateKit Display.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CPlaydate.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CPlaydate/include/CPlaydate.h:2:10: error: 'pd_api.h' file not found
1 | #pragma once
2 | #include "pd_api.h"
| `- error: 'pd_api.h' file not found
3 |
4 | int formatStringFloat(PlaydateAPI p, char **outstring, float number) {
/host/spi-builder-workspace/Sources/PlaydateKit/Core/Display.swift:1:15: error: could not build C module 'CPlaydate'
1 | public import CPlaydate
| `- error: could not build C module 'CPlaydate'
2 |
3 | /// Functions pertaining to Playdate’s screen.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 11 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-2x-table-26-19.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-8x-table-6-5.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-1x-table-52-38.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-text-1x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-1x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-frames-4x-table-13-10.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-8x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-2x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-bubble-4x.png
/host/spi-builder-workspace/Sources/PlaydateKit/Resources/PlaydateKit/UI/Images/crank/crank-notice-text-2x.png
[0/1] Planning build
[1/1] Compiling plugin PDCPlugin
Building for debugging...
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module PlaydateKit
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CPlaydate.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CPlaydate/include/CPlaydate.h:2:10: error: 'pd_api.h' file not found
1 | #pragma once
2 | #include "pd_api.h"
| `- error: 'pd_api.h' file not found
3 |
4 | int formatStringFloat(PlaydateAPI p, char **outstring, float number) {
/host/spi-builder-workspace/Sources/PlaydateKit/Core/Display.swift:1:15: error: could not build C module 'CPlaydate'
1 | public import CPlaydate
| `- error: could not build C module 'CPlaydate'
2 |
3 | /// Functions pertaining to Playdate’s screen.
[4/4] Compiling PlaydateKit Display.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CPlaydate.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CPlaydate/include/CPlaydate.h:2:10: error: 'pd_api.h' file not found
1 | #pragma once
2 | #include "pd_api.h"
| `- error: 'pd_api.h' file not found
3 |
4 | int formatStringFloat(PlaydateAPI p, char **outstring, float number) {
/host/spi-builder-workspace/Sources/PlaydateKit/Core/Display.swift:1:15: error: could not build C module 'CPlaydate'
1 | public import CPlaydate
| `- error: could not build C module 'CPlaydate'
2 |
3 | /// Functions pertaining to Playdate’s screen.
BUILD FAILURE 6.1 linux