The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Shaft, reference main (3cfae9), with Swift 6.1 for Linux on 5 Sep 2025 18:28:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
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 3cfae97 Add DesktopView.requestFocus
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
3cfae9748c5fe257d8b695976b105eb69d82b539
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.kZwAJJ/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.ob2mRt/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-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
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.53s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.23s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/159] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.19s)
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/ShaftUI/swift-collections
[1/5191] Fetching zipfoundationmodern
[1403/16327] Fetching zipfoundationmodern, yams
[1626/27098] Fetching zipfoundationmodern, yams, swift-collections
[3368/98961] Fetching zipfoundationmodern, yams, swift-collections, swift-syntax
[10185/125152] Fetching zipfoundationmodern, yams, swift-collections, swift-syntax, javascriptkit
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (0.79s)
[40203/119961] Fetching yams, swift-collections, swift-syntax, javascriptkit
Fetching https://github.com/ShaftUI/SwiftMath
[61510/120734] Fetching yams, swift-collections, swift-syntax, javascriptkit, swiftmath
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.43s)
[67208/119961] Fetching yams, swift-collections, swift-syntax, javascriptkit
Fetched https://github.com/ShaftUI/swift-collections from cache (1.64s)
[65243/109190] Fetching yams, swift-syntax, javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (1.98s)
[48505/82999] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.43s)
[63240/71863] Fetching swift-syntax
Fetching https://github.com/onevcat/Rainbow
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.08s)
[1/1335] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.30s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (7.03s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.67s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.56s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.06s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.49s)
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/apple/swift-system
[1/48] Fetching zlib
[41/287] Fetching zlib, csprogress
Fetched https://github.com/the-swift-collective/zlib from cache (0.25s)
Fetched https://github.com/gregcotten/CSProgress from cache (0.25s)
[1/4941] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.42s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.94s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.51s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.49s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.55s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.35.0 (0.69s)
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/ShaftUI/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
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/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.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.35.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (cce1834)
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.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
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
[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] Compiling ZLibC zutil.c
[6/419] Compiling ZLibC uncompr.c
[6/419] Write sources
[8/419] Compiling ZLibC inffast.c
[9/419] Compiling ZLibC inftrees.c
[10/419] Compiling ZLibC inflate.c
[11/419] Compiling ZLibC infback.c
[12/419] Compiling _SwiftSyntaxCShims dummy.c
[13/419] Compiling ZLibC gzwrite.c
[14/419] Compiling ZLibC gzlib.c
[15/419] Compiling ZLibC gzclose.c
[16/419] Compiling ZLibC crc32.c
[17/419] Compiling ZLibC gzread.c
[18/419] Compiling ZLibC compress.c
[19/419] Compiling ZLibC deflate.c
[20/419] Compiling ZLibC trees.c
[21/419] Write swift-version-24593BA9C3E375BF.txt
[22/419] Compiling ZLibC adler32.c
[23/419] Compiling ZLibC uncompr.c
[24/419] Compiling ZLibC zutil.c
[25/419] Compiling ZLibC inffast.c
[26/419] Compiling ZLibC inftrees.c
[27/419] Compiling ZLibC infback.c
[27/419] Compiling ZLibC gzclose.c
[29/419] Compiling ZLibC trees.c
[30/419] Compiling ZLibC gzwrite.c
[31/419] Write sources
[32/419] Compiling ZLibC inflate.c
[32/419] Compiling ZLibC gzlib.c
[32/419] Write sources
[45/419] Compiling ZLibC gzread.c
[46/419] Compiling ZLibC adler32.c
[46/419] Compiling ZLibC crc32.c
[48/419] Compiling ZLibC compress.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.
[49/419] Compiling ZLibC deflate.c
[50/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.
[50/419] Compiling xdg-shell-protocol.c
[50/419] Compiling xdg-foreign-unstable-v2-protocol.c
[50/419] Compiling xdg-output-unstable-v1-protocol.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
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
[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/374] Write sources
/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.
[29/375] Copying icudtl.dat
[30/375] Compiling xdg-shell-protocol.c
[30/375] Compiling xdg-toplevel-icon-v1-protocol.c
[30/375] Compiling xdg-dialog-v1-protocol.c
[30/375] Compiling xdg-decoration-unstable-v1-protocol.c
[30/375] Compiling xdg-output-unstable-v1-protocol.c
[30/375] Compiling xdg-foreign-unstable-v2-protocol.c
[30/375] Write embedded_resources.swift
BUILD FAILURE 6.1 linux