Build Information
Failed to build swift-cross-ui, reference main (0f3ec3), with Swift 6.1 for Wasm on 27 Sep 2026 05:10:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moreSwift/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/moreSwift/swift-cross-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0f3ec39 Reorganize DummyBackend into a file per backend feature (#783)
Submodule path 'Sources/GtkCodeGen/GirFiles': checked out 'a9bfeaf9cfb0e7e722a2efd7c3ad865e68acd2c1'
Submodule 'Sources/GtkCodeGen/GirFiles' (https://github.com/moreSwift/gir-files) registered for path 'Sources/GtkCodeGen/GirFiles'
Cloning into '/host/spi-builder-workspace/Sources/GtkCodeGen/GirFiles'...
Cloned https://github.com/moreSwift/swift-cross-ui.git
Revision (git rev-parse @):
0f3ec3958b79cdc39a1a3e604516b71ab33a9043
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/moreSwift/swift-cross-ui.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/moreSwift/swift-cross-ui.git
https://github.com/moreSwift/swift-cross-ui.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/moreSwift/swift-observation-polyfill
Fetching https://github.com/swhitty/swift-mutex
Fetching https://github.com/moreSwift/swift-winui
Fetching https://github.com/stackotter/swift-benchmark
[1/8165] Fetching swift-log
[410/8489] Fetching swift-log, swift-mutex
[3428/9222] Fetching swift-log, swift-mutex, swift-benchmark
[8095/9307] Fetching swift-log, swift-mutex, swift-benchmark, swift-observation-polyfill
Fetched https://github.com/stackotter/swift-benchmark from cache (0.48s)
Fetching https://github.com/stackotter/swift-image-formats
[1/27779] Fetching swift-collections
[2/28828] Fetching swift-collections, swift-winui
[18137/28983] Fetching swift-collections, swift-winui, swift-image-formats
Fetched https://github.com/stackotter/swift-image-formats from cache (0.39s)
Fetching https://github.com/stackotter/swift-macro-toolkit
[18550/28828] Fetching swift-collections, swift-winui
Fetched https://github.com/swhitty/swift-mutex from cache (1.19s)
Fetched https://github.com/moreSwift/swift-observation-polyfill from cache (1.19s)
Fetched https://github.com/apple/swift-log.git from cache (1.20s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetched https://github.com/moreSwift/swift-winui from cache (1.20s)
Fetched https://github.com/apple/swift-collections from cache (1.21s)
[1/996] Fetching swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.45s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.50s)
[1/80069] Fetching swift-syntax
Fetching https://github.com/CoreOffice/XMLCoder
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.03s)
[1/10129] Fetching xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder from cache (0.57s)
Computing version for https://github.com/moreSwift/swift-observation-polyfill
Computed https://github.com/moreSwift/swift-observation-polyfill at 0.1.1 (5.02s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.71s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (0.93s)
Computing version for https://github.com/stackotter/swift-benchmark
Computed https://github.com/stackotter/swift-benchmark at 0.2.0 (0.25s)
Fetching https://github.com/apple/swift-argument-parser
[1/18946] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.2.2 (0.96s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.26s)
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/stackotter/jpeg
[1/54] Fetching libwebp
[11/3165] Fetching libwebp, jpeg
[87/3195] Fetching libwebp, jpeg, libpng
Fetched https://github.com/the-swift-collective/libpng from cache (1.87s)
Fetched https://github.com/the-swift-collective/libwebp from cache (1.87s)
Fetched https://github.com/stackotter/jpeg from cache (1.91s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.9.0 (2.17s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.24s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.25s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.24s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.40s)
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.65s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.18.2 (0.23s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.31s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.31s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (0.94s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
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/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/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.18.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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/swhitty/swift-mutex
Working copy of https://github.com/swhitty/swift-mutex resolved at 0.0.6
Creating working copy for https://github.com/stackotter/swift-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.9.0
Creating working copy for https://github.com/moreSwift/swift-winui
Working copy of https://github.com/moreSwift/swift-winui resolved at 0.2.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.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.5.0
Creating working copy for https://github.com/moreSwift/swift-observation-polyfill
Working copy of https://github.com/moreSwift/swift-observation-polyfill resolved at 0.1.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
warning: 'spi-builder-workspace': dependency 'swift-collections' is not used by any target
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 GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/530] Compiling SwiftCrossUIMetadataSupport dummy.c
In file included from /host/spi-builder-workspace/Sources/GtkCHelpers/gtk_helpers.c:1:
/host/spi-builder-workspace/Sources/GtkCHelpers/include/gtk_helpers.h:4:10: fatal error: 'gtk/gtk.h' file not found
4 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
1 error generated.
/host/spi-builder-workspace/Sources/WinUIInterop/dummy.cpp:5:10: fatal error: 'ShObjIdl.h' file not found
5 | #include <ShObjIdl.h>
| ^~~~~~~~~~~~
1 error generated.
[6/530] Compiling WinUIInterop dummy.cpp
In file included from /host/spi-builder-workspace/Sources/GtkCHelpers/gtk_custom_root_widget.c:1:
/host/spi-builder-workspace/Sources/GtkCHelpers/include/gtk_custom_root_widget.h:4:10: fatal error: 'gdk/gdk.h' file not found
4 | #include <gdk/gdk.h>
| ^~~~~~~~~~~
1 error generated.
[6/530] Compiling GtkCHelpers gtk_helpers.c
[6/530] Compiling GtkCHelpers gtk_custom_root_widget.c
In file included from /host/spi-builder-workspace/Sources/Gtk3CHelpers/gtk_custom_root_widget.c:1:
/host/spi-builder-workspace/Sources/Gtk3CHelpers/include/gtk_custom_root_widget.h:4:10: fatal error: 'gdk/gdk.h' file not found
4 | #include <gdk/gdk.h>
| ^~~~~~~~~~~
1 error generated.
[6/530] Compiling Gtk3CHelpers gtk_custom_root_widget.c
[6/530] Compiling sharpyuv_sse2.c
In file included from /host/spi-builder-workspace/Sources/Gtk3CHelpers/gtk_helpers.c:1:
/host/spi-builder-workspace/Sources/Gtk3CHelpers/include/gtk_helpers.h:4:10: fatal error: 'gtk/gtk.h' file not found
4 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
1 error generated.
[6/530] Compiling Gtk3CHelpers gtk_helpers.c
[6/530] Compiling sharpyuv_neon.c
[6/530] Compiling _SwiftSyntaxCShims PlatformMutex.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': dependency 'swift-collections' is not used by any target
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
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/528] Compiling ZLibC uncompr.c
[5/528] Compiling ZLibC inftrees.c
[6/528] Compiling sharpyuv_neon.c
[7/528] Compiling ZLibC zutil.c
[8/528] Compiling ZLibC trees.c
[9/528] Compiling sharpyuv_sse2.c
[10/528] Compiling sharpyuv_gamma.c
[10/528] Compiling sharpyuv_cpu.c
[10/528] Compiling sharpyuv_dsp.c
[13/528] Compiling sharpyuv_csp.c
[14/528] Compiling ZLibC inflate.c
[15/528] Compiling wicdec.c
[16/528] Compiling sharpyuv.c
[17/528] Compiling metadata.c
[18/528] Compiling jpegdec.c
[19/528] Compiling pngdec.c
[20/528] Compiling webpdec.c
[21/528] Compiling pnmdec.c
[22/528] Compiling tiffdec.c
[23/528] Compiling image_dec.c
[24/528] Compiling imageio_util.c
[25/528] Compiling image_enc.c
[26/528] Compiling ZLibC inffast.c
[27/528] Compiling _SwiftSyntaxCShims PlatformMutex.c
[28/528] Compiling ZLibC infback.c
[29/528] Compiling ZLibC gzwrite.c
[30/528] Write sources
[47/528] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[64/528] Compiling ZLibC gzlib.c
[64/528] Copying GTK.png
[67/528] Compiling ZLibC gzclose.c
[68/528] Compiling ZLibC gzread.c
[69/528] Compiling ZLibC adler32.c
[70/528] Compiling sharpyuv_sse2.c
[71/528] Compiling sharpyuv_neon.c
[71/528] Compiling ZLibC crc32.c
[73/528] Compiling ZLibC compress.c
[74/528] Compiling sharpyuv_dsp.c
[75/528] Compiling sharpyuv_csp.c
[76/528] Compiling sharpyuv_cpu.c
[77/528] Compiling ZLibC deflate.c
[78/528] Compiling pnglibconf pnglibconf.c
[79/528] Compiling wicdec.c
[80/528] Compiling tiffdec.c
[81/528] Compiling sharpyuv_gamma.c
[82/528] Compiling sharpyuv.c
[83/528] Compiling webpdec.c
[84/528] Compiling pngdec.c
[85/528] Compiling metadata.c
[86/528] Write sources
[87/528] Compiling _SwiftSyntaxCShims PlatformMutex.c
[88/528] Compiling image_dec.c
[88/528] Compiling jpegdec.c
[90/528] Compiling pnmdec.c
[90/528] Compiling image_enc.c
[92/528] Compiling imageio_util.c
[93/528] Compiling ZLibC zutil.c
[94/528] Compiling ZLibC uncompr.c
[95/528] Compiling ZLibC inftrees.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
78 | writ = write(state->fd, strm->next_in, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: note: did you mean 'fwrite'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:103:8: note: 'fwrite' declared here
103 | size_t fwrite(const void *__restrict, size_t, size_t, FILE *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:108:24: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
108 | writ = write(state->fd, state->x.next, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
627 | if (close(state->fd) == -1)
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: note: did you mean 'fclose'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:85:5: note: 'fclose' declared here
85 | int fclose(FILE *);
| ^
3 errors generated.
[96/528] Compiling ZLibC gzwrite.c
[96/528] Compiling ZLibC trees.c
[96/528] Compiling ZLibC gzlib.c
[96/528] Compiling ZLibC inffast.c
[96/528] Compiling ZLibC inflate.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | ret = read(state->fd, buf + *have, get);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: note: did you mean 'fread'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:102:8: note: 'fread' declared here
102 | size_t fread(void *__restrict, size_t, size_t, FILE *__restrict);
| ^
[96/528] Compiling ZLibC gzread.c
[96/528] Compiling ZLibC infback.c
[96/528] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm