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 swift-cross-ui, reference main (8be83e), with Swift 6.0 for Linux on 11 Dec 2025 06:38:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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/stackotter/swift-cross-ui.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/stackotter/swift-cross-ui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8be83ea Create layout performance benchmarks and DummyBackend (#273)
Cloned https://github.com/stackotter/swift-cross-ui.git
Revision (git rev-parse @):
8be83ea3ddb0c8dacbe109c5e621bdb6655c1fc1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/swift-cross-ui.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/stackotter/swift-cross-ui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d50cceb83aba9237d7903cc3c4ef7bd8f8bfaaf83777b35554908a03d392fd03
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
Fetching https://github.com/stackotter/swift-windowsappsdk
[1/138] Fetching swift-windowsappsdk
Fetched https://github.com/stackotter/swift-windowsappsdk from cache (0.32s)
Fetching https://github.com/stackotter/swift-windowsfoundation
[1/110] Fetching swift-windowsfoundation
Fetched https://github.com/stackotter/swift-windowsfoundation from cache (0.24s)
Fetching https://github.com/stackotter/swift-winui
[1/209] Fetching swift-winui
Fetched https://github.com/stackotter/swift-winui from cache (0.49s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/474] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.60s)
Fetching https://github.com/stackotter/swift-uwp
[1/258] Fetching swift-uwp
Fetched https://github.com/stackotter/swift-uwp from cache (0.34s)
Fetching https://github.com/stackotter/swift-webview2core
[1/30] Fetching swift-webview2core
Fetched https://github.com/stackotter/swift-webview2core from cache (0.26s)
Fetching https://github.com/stackotter/swift-benchmark
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/CoreOffice/XMLCoder
[1/2158] Fetching swift-docc-plugin
[217/2282] Fetching swift-docc-plugin, swift-image-formats
[341/3254] Fetching swift-docc-plugin, swift-image-formats, swift-macro-toolkit
[1131/3987] Fetching swift-docc-plugin, swift-image-formats, swift-macro-toolkit, swift-benchmark
[2284/14069] Fetching swift-docc-plugin, swift-image-formats, swift-macro-toolkit, swift-benchmark, xmlcoder
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.35s)
[2571/13097] Fetching swift-docc-plugin, swift-image-formats, swift-benchmark, xmlcoder
Fetched https://github.com/stackotter/swift-benchmark from cache (0.36s)
[2276/12364] Fetching swift-docc-plugin, swift-image-formats, xmlcoder
[12365/85453] Fetching swift-docc-plugin, swift-image-formats, xmlcoder, swift-syntax
Fetched https://github.com/stackotter/swift-image-formats from cache (0.64s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (0.64s)
[3620/75247] Fetching swift-docc-plugin, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (7.67s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.73s)
Computing version for https://github.com/stackotter/swift-benchmark
Computed https://github.com/stackotter/swift-benchmark at 0.2.0 (1.05s)
Fetching https://github.com/apple/swift-argument-parser
[1/16898] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.3.3 (0.93s)
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/libpng
[1/54] Fetching libwebp
[55/3165] Fetching libwebp, jpeg
[460/3195] Fetching libwebp, jpeg, libpng
Fetched https://github.com/the-swift-collective/libwebp from cache (0.25s)
Fetched https://github.com/the-swift-collective/libpng from cache (0.29s)
[467/3111] Fetching jpeg
Fetched https://github.com/stackotter/jpeg from cache (3.52s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (0.84s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (1.31s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.78s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (1.07s)
Fetching https://github.com/the-swift-collective/zlib.git
[2/48] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.22s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.6.1 (0.68s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.92s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (0.82s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3594] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (1.17s)
Creating working copy for https://github.com/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
Creating working copy for https://github.com/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at eb46cdb66f770a1e006f9fcfebbf9e99a0fba811
Creating working copy for https://github.com/stackotter/swift-winui
Working copy of https://github.com/stackotter/swift-winui resolved at 1695ee3ea2b7a249f6504c7f1759e7ec7a38eb86
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
Creating working copy for https://github.com/stackotter/swift-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.6.1
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/stackotter/swift-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.3.3
Creating working copy for https://github.com/stackotter/swift-webview2core
Working copy of https://github.com/stackotter/swift-webview2core resolved at c9911ca23455b9fcdb2429e98baa6f4d003b381c
Creating working copy for https://github.com/stackotter/swift-benchmark
Working copy of https://github.com/stackotter/swift-benchmark resolved at 0.2.0
Creating working copy for https://github.com/stackotter/swift-windowsappsdk
Working copy of https://github.com/stackotter/swift-windowsappsdk resolved at ba6f0ec377b70d8be835d253102ff665a0e47d99
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/stackotter/swift-windowsfoundation
Working copy of https://github.com/stackotter/swift-windowsfoundation resolved at 4ad57d20553514bcb23724bdae9121569b19f172
Creating working copy for https://github.com/stackotter/swift-uwp
Working copy of https://github.com/stackotter/swift-uwp resolved at e3ff9c195775e16b404b82cf6886c5e81d73b6c1
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/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev clang
warning: you may be able to install gtk+-3.0 using your system-packager:
    apt-get install libgtk-3-dev clang
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin Swift-DocC Preview
Building for debugging...
[4/314] Write sources
[5/314] Copying GTK.png
[5/314] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[7/314] Copying GTK.png
/host/spi-builder-workspace/Sources/WinUIInterop/dummy.cpp:2:10: fatal error: 'ShObjIdl.h' file not found
    2 | #include <ShObjIdl.h>
      |          ^~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/GtkCustomWidgets/gtk_custom_root_widget.c:1:
/host/spi-builder-workspace/Sources/GtkCustomWidgets/include/gtk_custom_root_widget.h:4:10: fatal error: 'gdk/gdk.h' file not found
    4 | #include <gdk/gdk.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/314] Compiling WinUIInterop dummy.cpp
[8/314] Compiling GtkCustomWidgets gtk_custom_root_widget.c
[8/314] Compiling sharpyuv_neon.c
In file included from /host/spi-builder-workspace/Sources/Gtk3CustomWidgets/gtk_helpers.c:1:
/host/spi-builder-workspace/Sources/Gtk3CustomWidgets/include/gtk_helpers.h:4:10: fatal error: 'gtk/gtk.h' file not found
    4 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/314] Compiling sharpyuv_sse2.c
[8/314] Compiling Gtk3CustomWidgets gtk_helpers.c
In file included from /host/spi-builder-workspace/Sources/Gtk3CustomWidgets/gtk_custom_root_widget.c:1:
/host/spi-builder-workspace/Sources/Gtk3CustomWidgets/include/gtk_custom_root_widget.h:4:10: fatal error: 'gdk/gdk.h' file not found
    4 | #include <gdk/gdk.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/314] Compiling Gtk3CustomWidgets gtk_custom_root_widget.c
In file included from /host/spi-builder-workspace/Sources/GtkCustomWidgets/gtk_helpers.c:1:
/host/spi-builder-workspace/Sources/GtkCustomWidgets/include/gtk_helpers.h:4:10: fatal error: 'gtk/gtk.h' file not found
    4 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/314] Compiling GtkCustomWidgets gtk_helpers.c
[8/314] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux