Build Information
Failed to build swift-cross-ui, reference main (1a887c
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 22:26:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/wabiverse/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/wabiverse/swift-cross-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1a887c2 appkit: mark makeCoordinator with MainActor. * The appropriate method that should NOT have a main actor is determineViewSize, since that will break compiling with swift 6 strict concurrency.
Cloned https://github.com/wabiverse/swift-cross-ui.git
Revision (git rev-parse @):
1a887c25d505e9ea4c2cc90bae71196d31645b57
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wabiverse/swift-cross-ui.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/wabiverse/swift-cross-ui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/wabiverse/swift-windowsappsdk
[1/170] Fetching swift-windowsappsdk
Fetched https://github.com/wabiverse/swift-windowsappsdk from cache (0.36s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.29s)
Fetching https://github.com/wabiverse/swift-winui
[1/109] Fetching swift-winui
Fetched https://github.com/wabiverse/swift-winui from cache (0.39s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.66s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/199] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.40s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/CoreOffice/XMLCoder
[1/896] Fetching swift-macro-toolkit
[871/1020] Fetching swift-macro-toolkit, swift-image-formats
[933/3102] Fetching swift-macro-toolkit, swift-image-formats, swift-docc-plugin
[1142/13162] Fetching swift-macro-toolkit, swift-image-formats, swift-docc-plugin, xmlcoder
[13075/84089] Fetching swift-macro-toolkit, swift-image-formats, swift-docc-plugin, xmlcoder, swift-syntax
Fetched https://github.com/stackotter/swift-image-formats from cache (6.62s)
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (6.62s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (6.63s)
Fetched https://github.com/apple/swift-docc-plugin from cache (6.63s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.68s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (7.21s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.3.3 (0.52s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libwebp
[1/30] Fetching libpng
[31/84] Fetching libpng, libwebp
[85/3195] Fetching libpng, libwebp, jpeg
Fetched https://github.com/the-swift-collective/libwebp from cache (0.36s)
[497/3141] Fetching libpng, jpeg
Fetched https://github.com/the-swift-collective/libpng from cache (3.49s)
Fetched https://github.com/stackotter/jpeg from cache (3.67s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (4.63s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (1.07s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.82s)
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.50s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.6.1 (1.33s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (1.33s)
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.79s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.25s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
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-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (4fe2fa0)
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/wabiverse/swift-windowsappsdk
Working copy of https://github.com/wabiverse/swift-windowsappsdk resolved at main (36e2f6c)
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/wabiverse/swift-winui
Working copy of https://github.com/wabiverse/swift-winui resolved at main (0529457)
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/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
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-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.3.3
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
warning: 'swift-macro-toolkit': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/stackotter/swift-macro-toolkit->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
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/288] Write sources
[21/288] Copying GTK.png
[23/288] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[24/288] Compiling _SwiftSyntaxCShims dummy.c
[25/288] Compiling sharpyuv_sse2.c
[26/288] Compiling sharpyuv_neon.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.
[27/288] Compiling GtkCustomWidgets gtk_custom_root_widget.c
[27/288] Compiling sharpyuv.c
[27/288] Compiling sharpyuv_cpu.c
[27/288] Compiling sharpyuv_gamma.c
[27/288] Compiling sharpyuv_csp.c
[27/288] Compiling sharpyuv_dsp.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.
[27/288] Compiling Gtk3CustomWidgets gtk_helpers.c
[27/288] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm