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 (17195a), with Swift 6.2 (beta) for Linux on 27 Jun 2025 06:18:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 17195a7 Add visionOS support (#203)
Cloned https://github.com/stackotter/swift-cross-ui.git
Revision (git rev-parse @):
17195a7bea99996624e2b41afb647850341988f6
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.2
Building package at path:  $PWD
https://github.com/stackotter/swift-cross-ui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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/129] Fetching swift-windowsappsdk
Fetched https://github.com/stackotter/swift-windowsappsdk from cache (0.44s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.41s)
Fetching https://github.com/stackotter/swift-winui
[1/178] Fetching swift-winui
Fetched https://github.com/stackotter/swift-winui from cache (0.54s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.58s)
Fetching https://github.com/stackotter/swift-uwp
[1/245] Fetching swift-uwp
Fetched https://github.com/stackotter/swift-uwp from cache (0.37s)
Fetching https://github.com/stackotter/swift-webview2core
[1/18] Fetching swift-webview2core
Fetched https://github.com/stackotter/swift-webview2core from cache (0.22s)
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetching https://github.com/swiftlang/swift-syntax.git
[1/124] Fetching swift-image-formats
[125/2206] Fetching swift-image-formats, swift-docc-plugin
[334/3102] Fetching swift-image-formats, swift-docc-plugin, swift-macro-toolkit
[532/13162] Fetching swift-image-formats, swift-docc-plugin, swift-macro-toolkit, xmlcoder
[13163/84118] Fetching swift-image-formats, swift-docc-plugin, swift-macro-toolkit, xmlcoder, swift-syntax
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (4.37s)
Fetched https://github.com/stackotter/swift-image-formats from cache (4.37s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (4.37s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (4.37s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.42s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.3.3 (4.84s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/stackotter/jpeg
[1/30] Fetching libpng
[31/3141] Fetching libpng, jpeg
Fetching https://github.com/the-swift-collective/libwebp
Fetched https://github.com/the-swift-collective/libpng from cache (0.31s)
[467/3111] Fetching jpeg
[499/3165] Fetching jpeg, libwebp
Fetched https://github.com/the-swift-collective/libwebp from cache (0.21s)
[529/3111] Fetching jpeg
Fetched https://github.com/stackotter/jpeg from cache (2.54s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (4.32s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.74s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.48s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.46s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/48] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.21s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.6.1 (0.72s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.80s)
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.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3417] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.19s)
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/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/stackotter/swift-winui
Working copy of https://github.com/stackotter/swift-winui resolved at 927e2c46430cfb1b6c195590b9e65a30a8fd98a2
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
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/stackotter/swift-windowsappsdk
Working copy of https://github.com/stackotter/swift-windowsappsdk resolved at ed938db0b9790b36391dc91b20cee81f2410309f
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (3e3d5a0)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (dbe1456)
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/stackotter/swift-webview2core
Working copy of https://github.com/stackotter/swift-webview2core resolved at 9afd97424f844478914ca4512c8ca0a2d3a2bb67
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/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
Creating working copy for https://github.com/stackotter/swift-uwp
Working copy of https://github.com/stackotter/swift-uwp resolved at c9d3fc079aaaa5113cde9a0132278fb83e808599
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/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
warning: you may be able to install gtk+-3.0 using your system-packager:
    apt-get install libgtk-3-dev clang
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
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev clang
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/293] Write sources
[6/293] Copying GTK.png
[9/293] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
/host/spi-builder-workspace/Sources/WinUIInterop/dummy.cpp:2:10: fatal error: 'ShObjIdl.h' file not found
    2 | #include <ShObjIdl.h>
      |          ^~~~~~~~~~~~
1 error generated.
[10/293] Compiling WinUIInterop dummy.cpp
[10/293] Compiling sharpyuv_csp.c
[10/293] Compiling sharpyuv_dsp.c
[10/293] Compiling sharpyuv_neon.c
[10/293] Compiling sharpyuv_gamma.c
[10/293] Compiling sharpyuv_sse2.c
[10/293] Compiling GtkCustomWidgets gtk_helpers.c
[10/293] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux