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 SwiftSDL3, reference main (64fb16), with Swift 6.0 for Linux on 4 Nov 2025 22:24:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/SwiftSDL3.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/SwiftSDL3
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 64fb16e Add patch
Cloned https://github.com/ShaftUI/SwiftSDL3.git
Revision (git rev-parse @):
64fb16e7b2546cc33aefdad2304f909e08a5e54e
SUCCESS checkout https://github.com/ShaftUI/SwiftSDL3.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ShaftUI/SwiftSDL3.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/Sources/SwiftSDL3/src/joystick/steam': File not found.
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/Sources/SwiftSDL3/src/render/SDL_d3dmath.c': File not found.
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
Building for debugging...
[0/299] Compiling SDL_list.c
[1/299] Compiling SDL_audiodev.c
[2/299] Write sources
[3/299] Compiling SDL_spinlock.c
/host/spi-builder-workspace/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.
[4/299] Compiling xdg-toplevel-icon-v1-protocol.c
[4/299] Compiling SDL_audiocvt.c
[4/299] Compiling xdg-shell-protocol.c
[4/299] Compiling SDL_hints.c
[4/299] Compiling SDL_hashtable.c
[4/299] Compiling SDL_audioqueue.c
[4/299] Compiling SDL_audio.c
[4/299] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux