Build Information
Failed to build swift-cross-ui, reference main (17195a
), with Swift 6.2 (beta) for Wasm on 27 Jun 2025 06:17:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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: wasm
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.32s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.72s)
Fetching https://github.com/stackotter/swift-winui
[1/178] Fetching swift-winui
Fetched https://github.com/stackotter/swift-winui from cache (0.42s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.21s)
Fetching https://github.com/stackotter/swift-uwp
[1/245] Fetching swift-uwp
Fetched https://github.com/stackotter/swift-uwp from cache (0.35s)
Fetching https://github.com/stackotter/swift-webview2core
[1/18] Fetching swift-webview2core
Fetched https://github.com/stackotter/swift-webview2core from cache (0.27s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/stackotter/swift-macro-toolkit
[1/124] Fetching swift-image-formats
[125/1020] Fetching swift-image-formats, swift-macro-toolkit
[1021/3102] Fetching swift-image-formats, swift-macro-toolkit, swift-docc-plugin
[1230/13162] Fetching swift-image-formats, swift-macro-toolkit, swift-docc-plugin, xmlcoder
Fetched https://github.com/stackotter/swift-image-formats from cache (0.28s)
[1608/13038] Fetching swift-macro-toolkit, swift-docc-plugin, xmlcoder
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.29s)
[1718/12142] Fetching swift-docc-plugin, xmlcoder
[12143/83098] Fetching swift-docc-plugin, xmlcoder, swift-syntax
Fetched https://github.com/CoreOffice/XMLCoder from cache (6.60s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (6.60s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.65s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.3.3 (7.19s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libwebp
[1/3111] Fetching jpeg
[437/3165] Fetching jpeg, libwebp
[491/3195] Fetching jpeg, libwebp, libpng
Fetched https://github.com/the-swift-collective/libwebp from cache (0.26s)
Fetched https://github.com/the-swift-collective/libpng from cache (0.27s)
[498/3111] Fetching jpeg
Fetched https://github.com/stackotter/jpeg from cache (5.10s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (6.89s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.49s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.60s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.47s)
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.23s)
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.69s)
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.63s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (1.50s)
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.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.29s)
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/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/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (dbe1456)
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/stackotter/swift-webview2core
Working copy of https://github.com/stackotter/swift-webview2core resolved at 9afd97424f844478914ca4512c8ca0a2d3a2bb67
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/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-windowsappsdk
Working copy of https://github.com/stackotter/swift-windowsappsdk resolved at ed938db0b9790b36391dc91b20cee81f2410309f
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/stackotter/swift-winui
Working copy of https://github.com/stackotter/swift-winui resolved at 927e2c46430cfb1b6c195590b9e65a30a8fd98a2
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/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-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
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/stackotter/swift-uwp
Working copy of https://github.com/stackotter/swift-uwp resolved at c9d3fc079aaaa5113cde9a0132278fb83e808599
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
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/292] Write sources
[18/292] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[19/292] 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/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.
[21/292] 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.
[21/292] Compiling Gtk3CustomWidgets gtk_custom_root_widget.c
[21/292] Compiling sharpyuv_sse2.c
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.
[21/292] Compiling GtkCustomWidgets gtk_custom_root_widget.c
[21/292] Compiling WinUIInterop dummy.cpp
[21/292] Compiling _SwiftSyntaxCShims dummy.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.
[21/292] Compiling GtkCustomWidgets gtk_helpers.c
[21/292] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm