Build Information
Failed to build swift-cross-ui, reference v0.5.1 (99aad3), with Swift 6.1 for Wasm on 1 May 2026 09:16:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moreSwift/swift-cross-ui.git
Reference: v0.5.1
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.5.1 -> FETCH_HEAD
HEAD is now at 99aad33 Update Android dependencies to use versions (not revisions) (#533)
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 @):
99aad33b5bd1ad5c762bcaa5593c007d8b3d2634
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/moreSwift/swift-cross-ui.git at v0.5.1
========================================
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-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
Fetching https://github.com/moreSwift/swift-winui
Fetching https://github.com/moreSwift/swift-windowsappsdk
Fetching https://github.com/stackotter/swift-benchmark
Fetching https://github.com/swhitty/swift-mutex
Fetching https://github.com/moreSwift/swift-windowsfoundation
[1/150] Fetching swift-windowsappsdk
[70/474] Fetching swift-windowsappsdk, swift-mutex
[397/1207] Fetching swift-windowsappsdk, swift-mutex, swift-benchmark
[1142/1321] Fetching swift-windowsappsdk, swift-mutex, swift-benchmark, swift-windowsfoundation
Fetched https://github.com/swhitty/swift-mutex from cache (0.36s)
[911/997] Fetching swift-windowsappsdk, swift-benchmark, swift-windowsfoundation
Fetching https://github.com/stackotter/swift-image-formats
Fetched https://github.com/stackotter/swift-benchmark from cache (0.40s)
[237/264] Fetching swift-windowsappsdk, swift-windowsfoundation
Fetching https://github.com/stackotter/swift-macro-toolkit
[250/500] Fetching swift-windowsappsdk, swift-windowsfoundation, swift-winui
Fetched https://github.com/moreSwift/swift-windowsfoundation from cache (0.43s)
[151/386] Fetching swift-windowsappsdk, swift-winui
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/moreSwift/swift-windowsappsdk from cache (0.59s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[38/236] Fetching swift-winui
[150/391] Fetching swift-winui, swift-image-formats
[374/1399] Fetching swift-winui, swift-image-formats, swift-macro-toolkit
Fetched https://github.com/stackotter/swift-image-formats from cache (0.43s)
Fetching https://github.com/CoreOffice/XMLCoder
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.50s)
[1/2287] Fetching swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/moreSwift/swift-winui from cache (1.15s)
[779/12379] Fetching swift-docc-plugin, xmlcoder
[1315/87416] Fetching swift-docc-plugin, xmlcoder, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.83s)
[8106/85129] Fetching xmlcoder, swift-syntax
[16096/91938] Fetching xmlcoder, swift-syntax, swift-log
Fetched https://github.com/CoreOffice/XMLCoder from cache (1.59s)
Fetched https://github.com/apple/swift-log.git from cache (1.30s)
[14258/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.94s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (10.24s)
Computing version for https://github.com/stackotter/swift-benchmark
Computed https://github.com/stackotter/swift-benchmark at 0.2.0 (1.25s)
Fetching https://github.com/apple/swift-argument-parser
[1/17557] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.26s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.1.1 (2.13s)
Fetching https://github.com/moreSwift/swift-webview2core
Fetching https://github.com/moreSwift/swift-uwp
Fetching https://github.com/moreSwift/swift-cwinrt
[1/34] Fetching swift-webview2core
[35/308] Fetching swift-webview2core, swift-uwp
[46/808] Fetching swift-webview2core, swift-uwp, swift-cwinrt
Fetched https://github.com/moreSwift/swift-uwp from cache (0.79s)
[334/534] Fetching swift-webview2core, swift-cwinrt
Fetched https://github.com/moreSwift/swift-webview2core from cache (1.17s)
Fetched https://github.com/moreSwift/swift-cwinrt from cache (1.17s)
Computing version for https://github.com/moreSwift/swift-windowsfoundation
Computed https://github.com/moreSwift/swift-windowsfoundation at 0.1.0 (2.05s)
Computing version for https://github.com/moreSwift/swift-windowsappsdk
Computed https://github.com/moreSwift/swift-windowsappsdk at 0.1.1 (0.91s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.95s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/stackotter/jpeg
[1/3111] Fetching jpeg
[406/3165] Fetching jpeg, libwebp
[411/3195] Fetching jpeg, libwebp, libpng
Fetched https://github.com/the-swift-collective/libpng from cache (0.43s)
[521/3165] Fetching jpeg, libwebp
Fetched https://github.com/the-swift-collective/libwebp from cache (6.41s)
Fetched https://github.com/stackotter/jpeg from cache (6.79s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.9.0 (10.26s)
Computing version for https://github.com/moreSwift/swift-webview2core
Computed https://github.com/moreSwift/swift-webview2core at 0.1.0 (0.66s)
Computing version for https://github.com/moreSwift/swift-uwp
Computed https://github.com/moreSwift/swift-uwp at 0.1.0 (0.61s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (1.13s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.87s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (1.48s)
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.24s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (1.34s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.18.1 (0.79s)
Computing version for https://github.com/moreSwift/swift-cwinrt
Computed https://github.com/moreSwift/swift-cwinrt at 0.1.2 (0.82s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.1 (0.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.75s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3708] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.36s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.84s)
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/moreSwift/swift-winui
Working copy of https://github.com/moreSwift/swift-winui resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
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-cwinrt
Working copy of https://github.com/moreSwift/swift-cwinrt resolved at 0.1.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/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
Creating working copy for https://github.com/moreSwift/swift-uwp
Working copy of https://github.com/moreSwift/swift-uwp resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
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/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/swhitty/swift-mutex
Working copy of https://github.com/swhitty/swift-mutex resolved at 0.0.6
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/moreSwift/swift-windowsappsdk
Working copy of https://github.com/moreSwift/swift-windowsappsdk resolved at 0.1.1
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/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.18.1
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.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/moreSwift/swift-windowsfoundation
Working copy of https://github.com/moreSwift/swift-windowsfoundation resolved at 0.1.0
Creating working copy for https://github.com/moreSwift/swift-webview2core
Working copy of https://github.com/moreSwift/swift-webview2core resolved at 0.1.0
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/520] 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.
[7/520] Compiling GtkCHelpers gtk_helpers.c
[7/520] Compiling sharpyuv_gamma.c
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.
[7/520] Compiling _SwiftSyntaxCShims PlatformMutex.c
[7/520] Compiling GtkCHelpers gtk_custom_root_widget.c
[7/520] Compiling sharpyuv_dsp.c
[7/520] Compiling sharpyuv_neon.c
[7/520] Compiling sharpyuv_csp.c
[7/520] Compiling sharpyuv_sse2.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
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/517] Compiling ZLibC zutil.c
[5/517] Compiling ZLibC uncompr.c
[6/517] Compiling ZLibC inftrees.c
[7/517] Compiling ZLibC trees.c
[8/517] Compiling sharpyuv_cpu.c
[9/517] Compiling ZLibC inflate.c
[10/517] Compiling sharpyuv_neon.c
[11/517] Compiling sharpyuv_dsp.c
[12/517] Compiling sharpyuv_sse2.c
[13/517] Compiling sharpyuv_gamma.c
[14/517] Compiling sharpyuv_csp.c
[15/517] Compiling wicdec.c
[16/517] Compiling tiffdec.c
[17/517] Compiling pngdec.c
[18/517] Compiling webpdec.c
[19/517] Compiling sharpyuv.c
[20/517] Compiling pnmdec.c
[21/517] Compiling metadata.c
[22/517] Compiling jpegdec.c
[23/517] Compiling _SwiftSyntaxCShims PlatformMutex.c
[24/517] Compiling image_enc.c
[25/517] Compiling imageio_util.c
[26/517] Compiling image_dec.c
[27/517] Compiling ZLibC inffast.c
[28/517] Compiling ZLibC gzclose.c
[29/517] Compiling ZLibC gzlib.c
[30/517] Write sources
[44/517] Compiling ZLibC gzwrite.c
[45/517] Write sources
[57/517] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[58/517] Compiling ZLibC gzread.c
[59/517] Copying GTK.png
[61/517] Compiling ZLibC infback.c
[61/517] Compiling ZLibC crc32.c
[63/517] Compiling ZLibC compress.c
[64/517] Compiling SwiftCrossUIMetadataSupport dummy.c
[65/517] Compiling ZLibC adler32.c
[65/517] Compiling sharpyuv_sse2.c
[67/517] Compiling sharpyuv_neon.c
[68/517] Compiling ZLibC deflate.c
[69/517] Compiling sharpyuv_csp.c
[70/517] Compiling sharpyuv_cpu.c
[70/517] Compiling sharpyuv_gamma.c
[72/517] Compiling sharpyuv_dsp.c
[73/517] Compiling pnglibconf pnglibconf.c
[74/517] Compiling wicdec.c
[75/517] Compiling webpdec.c
[76/517] Compiling sharpyuv.c
[77/517] Compiling metadata.c
[78/517] Compiling tiffdec.c
[79/517] Compiling pngdec.c
[80/517] Compiling jpegdec.c
[80/517] Compiling pnmdec.c
[82/517] Compiling imageio_util.c
[83/517] Compiling image_dec.c
[84/517] Compiling _SwiftSyntaxCShims PlatformMutex.c
[85/517] Compiling image_enc.c
[86/517] Write swift-version-24593BA9C3E375BF.txt
[87/517] Compiling ZLibC zutil.c
[88/517] Compiling ZLibC uncompr.c
[89/517] Compiling ZLibC trees.c
[89/517] Compiling ZLibC inffast.c
[91/517] Compiling ZLibC inftrees.c
[92/517] Compiling ZLibC infback.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.
[93/517] Compiling ZLibC gzwrite.c
[93/517] Compiling ZLibC inflate.c
BUILD FAILURE 6.1 wasm