Build Information
Failed to build swift-cross-ui, reference v0.10.0 (0f3ec3), with Swift 6.4 for Wasm on 3 Oct 2026 07:31:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 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.4
Building package at path: $PWD
https://github.com/moreSwift/swift-cross-ui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swhitty/swift-mutex
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/moreSwift/AndroidKit
Fetching https://github.com/stackotter/swift-java
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/moreSwift/swift-observation-polyfill
[1/8232] Fetching swift-log
[1648/8317] Fetching swift-log, swift-observation-polyfill
[1794/19462] Fetching swift-log, swift-observation-polyfill, androidkit
[1878/19786] Fetching swift-log, swift-observation-polyfill, androidkit, swift-mutex
Fetched https://github.com/moreSwift/swift-observation-polyfill (0.42s)
[4340/19701] Fetching swift-log, androidkit, swift-mutex
Fetching https://github.com/stackotter/swift-benchmark
[4952/32528] Fetching swift-log, androidkit, swift-mutex, swift-java
Fetched https://github.com/apple/swift-log.git (0.53s)
[19679/24296] Fetching androidkit, swift-mutex, swift-java
Fetching https://github.com/stackotter/swift-image-formats
Fetched https://github.com/moreSwift/AndroidKit (0.64s)
Fetched https://github.com/stackotter/swift-java (0.64s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/stackotter/swift-macro-toolkit
[1/28538] Fetching swift-collections
[1714/29271] Fetching swift-collections, swift-benchmark
Fetched https://github.com/stackotter/swift-benchmark (0.45s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[4281/28538] Fetching swift-collections
[12273/28693] Fetching swift-collections, swift-image-formats
Fetched https://github.com/stackotter/swift-image-formats (0.42s)
[12557/28538] Fetching swift-collections
Fetching https://github.com/moreSwift/swift-winui
[16839/29534] Fetching swift-collections, swift-macro-toolkit
[29535/31879] Fetching swift-collections, swift-macro-toolkit, swift-docc-plugin
Fetched https://github.com/swhitty/swift-mutex (1.40s)
Fetching https://github.com/CoreOffice/XMLCoder
Fetched https://github.com/apple/swift-collections (1.41s)
Fetched https://github.com/swiftlang/swift-docc-plugin (0.54s)
[1/1049] Fetching swift-winui
[1050/11178] Fetching swift-winui, xmlcoder
Fetched https://github.com/moreSwift/swift-winui (0.95s)
[1/80206] Fetching swift-syntax
Fetched https://github.com/CoreOffice/XMLCoder (0.56s)
Fetched https://github.com/stackotter/swift-macro-toolkit (3.32s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.34s)
Computing version for https://github.com/stackotter/swift-java
Computed https://github.com/stackotter/swift-java at 0.5.1 (4.26s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-java-jni-core
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-argument-parser
[1/607] Fetching swift-java-jni-core
[420/5408] Fetching swift-java-jni-core, swift-subprocess
Fetched https://github.com/swiftlang/swift-java-jni-core (0.43s)
[193/4801] Fetching swift-subprocess
[4802/23811] Fetching swift-subprocess, swift-argument-parser
[12597/30913] Fetching swift-subprocess, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system (0.71s)
Fetched https://github.com/swiftlang/swift-subprocess.git (0.76s)
Fetched https://github.com/apple/swift-argument-parser (0.76s)
Computing version for https://github.com/moreSwift/AndroidKit
Computed https://github.com/moreSwift/AndroidKit at 0.8.1 (1.95s)
Fetching https://github.com/swift-android-sdk/swift-android-native.git
Fetching https://github.com/stackotter/SwiftJavaLang.git
Fetching https://github.com/stackotter/SwiftKotlin.git
[1/968] Fetching swiftkotlin
[31/2979] Fetching swiftkotlin, swift-android-native
[52/6135] Fetching swiftkotlin, swift-android-native, swiftjavalang
Fetched https://github.com/swift-android-sdk/swift-android-native.git (0.41s)
Fetched https://github.com/stackotter/SwiftKotlin.git (0.42s)
Fetched https://github.com/stackotter/SwiftJavaLang.git (0.42s)
Computing version for https://github.com/moreSwift/swift-observation-polyfill
Computed https://github.com/moreSwift/swift-observation-polyfill at 0.1.1 (0.63s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.59s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (0.76s)
Computing version for https://github.com/stackotter/swift-benchmark
Computed https://github.com/stackotter/swift-benchmark at 0.2.0 (0.18s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.2.2 (0.17s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.20s)
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libpng
[1/3111] Fetching jpeg
[33/3141] Fetching jpeg, libpng
Fetched https://github.com/the-swift-collective/libpng (0.33s)
[63/3111] Fetching jpeg
[468/3165] Fetching jpeg, libwebp
Fetched https://github.com/the-swift-collective/libwebp (0.41s)
[498/3111] Fetching jpeg
Fetched https://github.com/stackotter/jpeg (1.55s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.9.0 (1.78s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (0.17s)
Computing version for https://github.com/stackotter/SwiftKotlin.git
Computed https://github.com/stackotter/SwiftKotlin.git at 0.3.0 (0.17s)
Computing version for https://github.com/stackotter/SwiftJavaLang.git
Computed https://github.com/stackotter/SwiftJavaLang.git at 0.3.0 (0.19s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.21s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.23s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.21s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git (0.33s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.53s)
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.19s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.33s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.20s)
Computing version for https://github.com/swift-android-sdk/swift-android-native.git
Computed https://github.com/swift-android-sdk/swift-android-native.git at 2.1.0 (0.32s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.18.2 (0.20s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.30s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (0.22s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6170] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.71s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (0.97s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3833] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
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/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-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 0.5.1
Creating working copy for https://github.com/stackotter/swift-java
Working copy of https://github.com/stackotter/swift-java resolved at 0.5.1
Creating working copy for https://github.com/moreSwift/AndroidKit
Working copy of https://github.com/moreSwift/AndroidKit resolved at 0.8.1
Creating working copy for https://github.com/stackotter/SwiftJavaLang.git
Working copy of https://github.com/stackotter/SwiftJavaLang.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.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-benchmark
Working copy of https://github.com/stackotter/swift-benchmark resolved at 0.2.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/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/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/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.18.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/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/stackotter/SwiftKotlin.git
Working copy of https://github.com/stackotter/SwiftKotlin.git resolved at 0.3.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/swhitty/swift-mutex
Working copy of https://github.com/swhitty/swift-mutex resolved at 0.0.6
Creating working copy for https://github.com/swift-android-sdk/swift-android-native.git
Working copy of https://github.com/swift-android-sdk/swift-android-native.git resolved at 2.1.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.5.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.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/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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
warning: 'spi-builder-workspace': you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev clang
warning: 'spi-builder-workspace': you may be able to install gtk4 using your system-packager:
apt-get install libgtk-4-dev clang
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 128]
[Constructing description]
[Pre-planning 1 / 2949]
[Planning 955 / 2949]
[Planning 1755 / 2949]
[Planning 2746 / 2949]
[Planning deferred tasks]
[Constructing 199 / 6279]
[Starting]
[49 / 1137] png
[428 / 1137] swift-cross-ui_GtkExample
[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: [0m[0;1;31merror: [0m[1mcall to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
78 | writ = write(state->fd, strm->next_in, put);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: [0m[0;1;36mnote: [0mdid you mean 'fwrite'?[0m
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzguts.h:32:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdio.h:103:8: [0m[0;1;36mnote: [0m'fwrite' declared here[0m
103 | size_t fwrite([0;34mconst[0m [0;34mvoid[0m *[0;34m__restrict[0m, size_t, size_t, FILE *[0;34m__restrict[0m);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:108:24: [0m[0;1;31merror: [0m[1mcall to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
108 | writ = write(state->fd, state->x.next, put);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: [0m[0;1;31merror: [0m[1mcall to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
627 | [0;34mif[0m (close(state->fd) == -[0;32m1[0m)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: [0m[0;1;36mnote: [0mdid you mean 'fclose'?[0m
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzguts.h:32:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdio.h:85:5: [0m[0;1;36mnote: [0m'fclose' declared here[0m
85 | [0;34mint[0m fclose(FILE *);[0m
| [0;1;32m ^
[0m3 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.o /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.dia -c /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzwrite.o
error: Build failed
BUILD FAILURE 6.4 wasm