The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PlaydateKit, reference main (7a2888), with Swift 6.0 for Linux on 6 May 2025 01:39:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0
Building package at path:  $PWD
https://github.com/finnvoor/PlaydateKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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-4x-table-13-10.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-notice-bubble-4x.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-8x.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-2x.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-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/Plugins/PDCPlugin/PDCPlugin.swift:271:25: warning: immutable value 'path' was never used; consider replacing with '_' or removing it
269 |                 if case let .clang(publicHeaders, _) = module.type {
270 |                     guard module.sourcefiles.isEmpty == false else { continue }
271 |                     for path in publicHeaders {
    |                         `- warning: immutable value 'path' was never used; consider replacing with '_' or removing it
272 |                         linkedLibraries.append("-l\(module.moduleName(for: destination))")
273 |                     }
/host/spi-builder-workspace/Plugins/PDCPlugin/PDCPlugin.swift:284:25: warning: immutable value 'path' was never used; consider replacing with '_' or removing it
282 |                 if case let .clang(publicHeaders, _) = module.type {
283 |                     guard module.sourcefiles.isEmpty == false else { continue }
284 |                     for path in publicHeaders {
    |                         `- warning: immutable value 'path' was never used; consider replacing with '_' or removing it
285 |                         let url = modulesURL.appending(path: module.moduleName(for: destination))
286 |                         do {
[1/1] Compiling plugin PDCPlugin
Building for debugging...
[1/8] Write sources
[2/8] Compiling UnicodeWord.cpp
[3/8] Compiling UnicodeData.cpp
[4/8] Compiling UnicodeGrapheme.cpp
[5/8] Compiling UnicodeNormalization.cpp
[6/8] Write swift-version-24593BA9C3E375BF.txt
[7/8] Compiling UnicodeScalarProps.cpp
warning: ignoring '-enable-batch-mode' because '-whole-module-optimization' was also specified
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] 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.
[10/10] 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.0 linux