Build Information
Failed to build swift-cross-ui, reference v0.10.0 (0f3ec3), with Swift 6.1 for Wasm on 3 Oct 2026 07:29:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moreSwift/swift-cross-ui.git
Reference: v0.10.0
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
* tag v0.10.0 -> FETCH_HEAD
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 v0.10.0
========================================
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-54344845-1":/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/moreSwift/swift-observation-polyfill
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/moreSwift/swift-winui
Fetching https://github.com/stackotter/swift-benchmark
Fetching https://github.com/swhitty/swift-mutex
Fetching https://github.com/apple/swift-log.git
[1/85] Fetching swift-observation-polyfill
[86/8317] Fetching swift-observation-polyfill, swift-log
[87/9050] Fetching swift-observation-polyfill, swift-log, swift-benchmark
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
Fetching https://github.com/stackotter/swift-image-formats
[1/1049] Fetching swift-winui
[43/29587] Fetching swift-winui, swift-collections
[340/29911] Fetching swift-winui, swift-collections, swift-mutex
Fetched https://github.com/stackotter/swift-benchmark from cache (0.85s)
Fetched https://github.com/swhitty/swift-mutex from cache (0.86s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/stackotter/swift-macro-toolkit
[2039/29587] Fetching swift-winui, swift-collections
[2608/29742] Fetching swift-winui, swift-collections, swift-image-formats
Fetched https://github.com/stackotter/swift-image-formats from cache (0.46s)
[3799/29587] Fetching swift-winui, swift-collections
Fetching https://github.com/swiftlang/swift-docc-plugin
[24737/30583] Fetching swift-winui, swift-collections, swift-macro-toolkit
Fetched https://github.com/moreSwift/swift-winui from cache (1.40s)
Fetching https://github.com/CoreOffice/XMLCoder
[27408/29534] Fetching swift-collections, swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.59s)
[28538/28538] Fetching swift-collections
[28539/30883] Fetching swift-collections, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.72s)
[1/10129] Fetching xmlcoder
Fetched https://github.com/moreSwift/swift-observation-polyfill from cache (1.95s)
Fetched https://github.com/apple/swift-collections from cache (1.96s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (0.67s)
[1/80206] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.42s)
Computing version for https://github.com/moreSwift/swift-observation-polyfill
Computed https://github.com/moreSwift/swift-observation-polyfill at 0.1.1 (7.81s)
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.74s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (1.07s)
Computing version for https://github.com/stackotter/swift-benchmark
Computed https://github.com/stackotter/swift-benchmark at 0.2.0 (0.38s)
Fetching https://github.com/apple/swift-argument-parser
[1/19010] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.88s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.2.2 (1.21s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.36s)
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libpng
[1/30] Fetching libpng
[9/3141] Fetching libpng, jpeg
Fetching https://github.com/the-swift-collective/libwebp
Fetched https://github.com/the-swift-collective/libpng from cache (2.05s)
Fetched https://github.com/stackotter/jpeg from cache (2.09s)
[1/54] Fetching libwebp
Fetched https://github.com/the-swift-collective/libwebp from cache (0.36s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.9.0 (2.79s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.54s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.47s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.39s)
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.37s)
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.73s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.18.2 (0.34s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.45s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (1.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3833] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.32s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.33s)
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/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
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/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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
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/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/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/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/moreSwift/swift-winui
Working copy of https://github.com/moreSwift/swift-winui resolved at 0.2.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/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/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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.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-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.5.0
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/swhitty/swift-mutex
Working copy of https://github.com/swhitty/swift-mutex resolved at 0.0.6
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] Write sources
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.
[5/530] Compiling GtkCHelpers gtk_helpers.c
[5/530] Compiling SwiftCrossUIMetadataSupport dummy.c
[5/530] Compiling Gtk3CHelpers gtk_helpers.c
[5/530] Compiling sharpyuv_dsp.c
[5/530] Compiling sharpyuv_sse2.c
[5/530] Compiling GtkCHelpers gtk_custom_root_widget.c
[5/530] Compiling sharpyuv_neon.c
[5/530] Compiling sharpyuv_gamma.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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/529] Compiling sharpyuv_neon.c
[4/529] Compiling ZLibC uncompr.c
[6/529] Compiling sharpyuv_dsp.c
[7/529] Compiling sharpyuv_cpu.c
[8/529] Compiling ZLibC zutil.c
[9/529] Compiling sharpyuv_sse2.c
[10/529] Compiling sharpyuv_gamma.c
[11/529] Compiling wicdec.c
[12/529] Compiling tiffdec.c
[13/529] Compiling pngdec.c
[14/529] Compiling webpdec.c
[15/529] Compiling sharpyuv.c
[16/529] Compiling pnmdec.c
[17/529] Compiling metadata.c
[18/529] Compiling jpegdec.c
[19/529] Compiling image_enc.c
[20/529] Compiling image_dec.c
[21/529] Compiling imageio_util.c
[22/529] Compiling _SwiftSyntaxCShims PlatformMutex.c
[23/529] Compiling ZLibC inftrees.c
[24/529] Compiling ZLibC trees.c
[25/529] Compiling ZLibC inffast.c
[26/529] Compiling ZLibC gzclose.c
[27/529] Compiling ZLibC infback.c
[28/529] Compiling ZLibC inflate.c
[29/529] Compiling sharpyuv_csp.c
[30/529] Write sources
[47/529] Compiling ZLibC gzwrite.c
[47/529] Write sources
[47/529] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[64/529] Compiling ZLibC gzread.c
[64/529] Compiling ZLibC gzlib.c
[64/529] Copying GTK.png
[68/529] Compiling SwiftCrossUIMetadataSupport dummy.c
[69/529] Compiling ZLibC compress.c
[70/529] Compiling ZLibC crc32.c
[71/529] Compiling sharpyuv_sse2.c
[71/529] Compiling sharpyuv_neon.c
[73/529] Compiling ZLibC adler32.c
[74/529] Compiling pnglibconf pnglibconf.c
[75/529] Compiling sharpyuv_dsp.c
[76/529] Compiling sharpyuv_gamma.c
[77/529] Compiling sharpyuv_csp.c
[78/529] Compiling wicdec.c
[79/529] Compiling sharpyuv_cpu.c
[80/529] Compiling ZLibC deflate.c
[81/529] Compiling tiffdec.c
[82/529] Compiling pngdec.c
[83/529] Compiling pnmdec.c
[84/529] Compiling jpegdec.c
[85/529] Compiling webpdec.c
[86/529] Compiling metadata.c
[87/529] Write sources
[88/529] Compiling image_dec.c
[89/529] Compiling sharpyuv.c
[90/529] Compiling imageio_util.c
[91/529] Compiling ZLibC uncompr.c
[92/529] Compiling ZLibC inftrees.c
[93/529] Write swift-version-24593BA9C3E375BF.txt
[94/529] Compiling ZLibC zutil.c
[95/529] Compiling image_enc.c
[96/529] Compiling ZLibC inffast.c
[97/529] Compiling _SwiftSyntaxCShims PlatformMutex.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.
[98/529] Compiling ZLibC gzwrite.c
[98/529] Compiling ZLibC trees.c
[98/529] Compiling ZLibC infback.c
[98/529] Compiling ZLibC inflate.c
[99/531] Emitting module SwiftSyntax602
[100/531] Compiling SwiftSyntax602 Empty.swift
BUILD FAILURE 6.1 wasm