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 5.10 for Linux on 4 Nov 2025 22:23:38 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-5.10-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:             5.10
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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:876c9f54cbb08e857839f8acb28beadbc9bf56a8488855996222d9f683e93e2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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] Write sources
/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
#include "wayland-util.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
[1/299] Compiling xdg-toplevel-icon-v1-protocol.c
[1/299] Compiling SDL_error.c
[1/299] Compiling SDL_sndioaudio.c
[1/299] Compiling SDL_list.c
/host/spi-builder-workspace/Sources/SwiftSDL3/wayland-generated-protocols/xdg-shell-protocol.c:33:10: fatal error: 'wayland-util.h' file not found
#include "wayland-util.h"
         ^~~~~~~~~~~~~~~~
1 error generated.
[1/299] Compiling xdg-shell-protocol.c
[1/299] Compiling SDL_triangle.c
[1/299] Compiling SDL_assert.c
[1/299] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux