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 Shaft, reference main (87a704), with Swift 6.1 for Linux on 5 May 2025 12:29:43 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/ShaftUI/Shaft.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/ShaftUI/Shaft
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 87a7047 Add 'visible' property to DesktopView protocol and implement it in SDLView class
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
87a704764f2380ac7ce941b1a3570a6e05ef9990
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShaftUI/Shaft.git
https://github.com/ShaftUI/Shaft.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.maDP3E/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.66FAt3/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:216:9: error: unexpected ',' separator
214 |             //     )
215 |             // ]
216 |         ),
    |         `- error: unexpected ',' separator
217 |
218 |         .target(
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
Fetching https://github.com/ShaftUI/SwiftSDL3
[1/1787] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (0.62s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.25s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/151] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.26s)
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[1197/6387] Fetching rainbow, zipfoundationmodern
[1405/17158] Fetching rainbow, zipfoundationmodern, swift-collections
[3461/40491] Fetching rainbow, zipfoundationmodern, swift-collections, javascriptkit
Fetched https://github.com/onevcat/Rainbow from cache (0.38s)
[3270/39295] Fetching zipfoundationmodern, swift-collections, javascriptkit
Fetching https://github.com/ShaftUI/SwiftMath
[7148/49744] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams
[19227/50517] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams, swiftmath
[22880/120863] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams, swiftmath, swift-syntax
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.32s)
[40011/120090] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams, swift-syntax
Fetched https://github.com/ShaftUI/swift-collections from cache (1.15s)
[51790/109319] Fetching zipfoundationmodern, javascriptkit, yams, swift-syntax
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (1.50s)
[48703/85986] Fetching zipfoundationmodern, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.52s)
[41771/75537] Fetching zipfoundationmodern, swift-syntax
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (4.37s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.41s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.13s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.74s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.54s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.14s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.55s)
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/apple/swift-system
[1/239] Fetching csprogress
[240/280] Fetching csprogress, zlib
[280/4647] Fetching csprogress, zlib, swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.35s)
Fetched https://github.com/the-swift-collective/zlib from cache (0.35s)
Fetched https://github.com/apple/swift-system from cache (0.35s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.1 (0.92s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.52s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.28.0 (0.59s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.47s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.53s)
Creating working copy for https://github.com/ShaftUI/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (587b067)
Creating working copy for https://github.com/gregcotten/ZIPFoundationModern
Working copy of https://github.com/gregcotten/ZIPFoundationModern resolved at 0.0.5
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.1
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.28.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/ShaftUI/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
warning: couldn't find pc file for libdrm
warning: couldn't find pc file for ibus-1.0
warning: couldn't find pc file for dbus-1
warning: couldn't find pc file for libdecor-0
warning: couldn't find pc file for libdrm
warning: couldn't find pc file for ibus-1.0
warning: couldn't find pc file for dbus-1
warning: couldn't find pc file for libdecor-0
/host/spi-builder-workspace/Plugins/BuilderPlugin/main.swift:33:13: warning: default will never be executed
31 |             case .copy(let input):
32 |                 executeCopyStep(input, context: context)
33 |             default:
   |             `- warning: default will never be executed
34 |                 print("Unknown step type: \(step)")
35 |             }
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/419] Write sources
[10/419] Compiling ZLibC uncompr.c
[11/419] Compiling ZLibC inffast.c
[12/419] Write sources
[13/419] Compiling ZLibC inftrees.c
[14/419] Compiling _SwiftSyntaxCShims dummy.c
[15/419] Compiling ZLibC infback.c
[16/419] Compiling ZLibC inflate.c
[17/419] Compiling ZLibC trees.c
[18/419] Compiling ZLibC gzwrite.c
[18/419] Compiling ZLibC gzclose.c
[18/419] Compiling ZLibC gzread.c
[21/419] Compiling ZLibC gzlib.c
[22/419] Compiling ZLibC zutil.c
[23/419] Compiling ZLibC compress.c
[24/419] Compiling ZLibC uncompr.c
[25/419] Compiling ZLibC crc32.c
[26/419] Compiling ZLibC adler32.c
[27/419] Compiling ZLibC deflate.c
[28/419] Compiling ZLibC inffast.c
[28/419] Compiling ZLibC inftrees.c
[30/419] Compiling ZLibC infback.c
[31/419] Compiling ZLibC trees.c
[32/419] Compiling ZLibC zutil.c
[33/419] Write swift-version-24593BA9C3E375BF.txt
[34/419] Compiling ZLibC gzwrite.c
[35/419] Compiling ZLibC inflate.c
[36/419] Write sources
[37/419] Compiling ZLibC gzlib.c
[38/419] Write sources
[43/419] Compiling ZLibC gzclose.c
[44/419] Write sources
[48/419] Compiling ZLibC gzread.c
[49/419] Write sources
[50/419] Compiling ZLibC compress.c
[51/419] Write sources
[52/419] Compiling ZLibC adler32.c
[52/419] Compiling ZLibC crc32.c
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-toplevel-icon-v1-protocol.c:29:10: fatal error: 'wayland-util.h' file not found
   29 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[54/419] Compiling xdg-toplevel-icon-v1-protocol.c
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-shell-protocol.c:33:10: fatal error: 'wayland-util.h' file not found
   33 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[54/419] Compiling xdg-shell-protocol.c
[54/419] Compiling ZLibC deflate.c
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-output-unstable-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
   28 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[54/419] Compiling xdg-output-unstable-v1-protocol.c
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: couldn't find pc file for libdrm
warning: couldn't find pc file for ibus-1.0
warning: couldn't find pc file for dbus-1
warning: couldn't find pc file for libdecor-0
warning: couldn't find pc file for libdrm
warning: couldn't find pc file for ibus-1.0
warning: couldn't find pc file for dbus-1
warning: couldn't find pc file for libdecor-0
[0/1] Planning build
/host/spi-builder-workspace/Plugins/BuilderPlugin/main.swift:33:13: warning: default will never be executed
31 |             case .copy(let input):
32 |                 executeCopyStep(input, context: context)
33 |             default:
   |             `- warning: default will never be executed
34 |                 print("Unknown step type: \(step)")
35 |             }
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/370] Write sources
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-foreign-unstable-v2-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
   28 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[11/371] Compiling xdg-foreign-unstable-v2-protocol.c
[11/371] Compiling ZLibC deflate.c
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-shell-protocol.c:33:10: fatal error: 'wayland-util.h' file not found
   33 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-output-unstable-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
   28 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[11/371] Compiling xdg-shell-protocol.c
[11/371] Compiling xdg-output-unstable-v1-protocol.c
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-dialog-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
   28 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-decoration-unstable-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
   28 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[11/371] Compiling xdg-dialog-v1-protocol.c
[11/371] Compiling xdg-decoration-unstable-v1-protocol.c
[11/371] Compiling xdg-activation-v1-protocol.c
/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/wayland-generated-protocols/xdg-toplevel-icon-v1-protocol.c:29:10: fatal error: 'wayland-util.h' file not found
   29 | #include "wayland-util.h"
      |          ^~~~~~~~~~~~~~~~
[11/371] Compiling xdg-toplevel-icon-v1-protocol.c
BUILD FAILURE 6.1 linux