The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-cross-ui, reference main (0f3ec3), with Swift 6.4 for Wasm on 27 Sep 2026 05:09:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build 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.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-54344845-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.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/moreSwift/swift-observation-polyfill
Fetching https://github.com/moreSwift/AndroidKit
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swhitty/swift-mutex
Fetching https://github.com/stackotter/swift-java
[1/8165] Fetching swift-log
[2859/8489] Fetching swift-log, swift-mutex
[3567/8574] Fetching swift-log, swift-mutex, swift-observation-polyfill
[5309/21401] Fetching swift-log, swift-mutex, swift-observation-polyfill, swift-java
[10500/32546] Fetching swift-log, swift-mutex, swift-observation-polyfill, swift-java, androidkit
Fetched https://github.com/apple/swift-log.git (0.56s)
[4464/24381] Fetching swift-mutex, swift-observation-polyfill, swift-java, androidkit
Fetching https://github.com/stackotter/swift-benchmark
Fetched https://github.com/moreSwift/swift-observation-polyfill (0.71s)
Fetched https://github.com/moreSwift/AndroidKit (0.71s)
Fetched https://github.com/stackotter/swift-java (0.71s)
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/moreSwift/swift-winui
Fetching https://github.com/stackotter/swift-macro-toolkit
[1/27779] Fetching swift-collections
[18058/28512] Fetching swift-collections, swift-benchmark
Fetched https://github.com/stackotter/swift-benchmark (0.49s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[18335/27779] Fetching swift-collections
[21669/28775] Fetching swift-collections, swift-macro-toolkit
[27110/28930] Fetching swift-collections, swift-macro-toolkit, swift-image-formats
Fetched https://github.com/stackotter/swift-macro-toolkit (0.47s)
[27657/27934] Fetching swift-collections, swift-image-formats
Fetching https://github.com/CoreOffice/XMLCoder
Fetched https://github.com/stackotter/swift-image-formats (0.48s)
Fetching https://github.com/swiftlang/swift-syntax.git
[27779/27779] Fetching swift-collections
Fetched https://github.com/swhitty/swift-mutex (1.38s)
Fetched https://github.com/apple/swift-collections (1.39s)
[1/1049] Fetching swift-winui
[400/3394] Fetching swift-winui, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (0.59s)
Fetched https://github.com/moreSwift/swift-winui (1.01s)
[1/10129] Fetching xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder (0.65s)
[1/80069] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.06s)
Computing version for https://github.com/stackotter/swift-java
Computed https://github.com/stackotter/swift-java at 0.5.1 (4.52s)
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
Fetching https://github.com/apple/swift-system
[1/607] Fetching swift-java-jni-core
[608/5383] Fetching swift-java-jni-core, swift-subprocess
[4620/12366] Fetching swift-java-jni-core, swift-subprocess, swift-system
[5943/31312] Fetching swift-java-jni-core, swift-subprocess, swift-system, swift-argument-parser
Fetched https://github.com/swiftlang/swift-java-jni-core (0.84s)
Fetched https://github.com/swiftlang/swift-subprocess.git (0.84s)
Fetched https://github.com/apple/swift-system (0.84s)
Fetched https://github.com/apple/swift-argument-parser (0.84s)
Computing version for https://github.com/moreSwift/AndroidKit
Computed https://github.com/moreSwift/AndroidKit at 0.8.1 (2.03s)
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/3156] Fetching swiftjavalang
[96/4124] Fetching swiftjavalang, swiftkotlin
[4125/6135] Fetching swiftjavalang, swiftkotlin, swift-android-native
Fetched https://github.com/stackotter/SwiftKotlin.git (0.51s)
Fetched https://github.com/stackotter/SwiftJavaLang.git (0.51s)
[181/2011] Fetching swift-android-native
Fetched https://github.com/swift-android-sdk/swift-android-native.git (0.55s)
Computing version for https://github.com/moreSwift/swift-observation-polyfill
Computed https://github.com/moreSwift/swift-observation-polyfill at 0.1.1 (0.75s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.69s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (0.85s)
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.16s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.18s)
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
[522/3195] Fetching jpeg, libwebp, libpng
Fetched https://github.com/the-swift-collective/libpng (0.50s)
[552/3165] Fetching jpeg, libwebp
Fetched https://github.com/the-swift-collective/libwebp (1.87s)
Fetched https://github.com/stackotter/jpeg (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.12s)
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.15s)
Computing version for https://github.com/stackotter/SwiftKotlin.git
Computed https://github.com/stackotter/SwiftKotlin.git at 0.3.0 (0.15s)
Computing version for https://github.com/stackotter/SwiftJavaLang.git
Computed https://github.com/stackotter/SwiftJavaLang.git at 0.3.0 (0.17s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.18s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.19s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.18s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git (0.45s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.63s)
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.18s)
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/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
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.29s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.18.2 (0.17s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.28s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (0.21s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.68s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (0.91s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] 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.77s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
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/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/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/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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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/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/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-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.9.0
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/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/moreSwift/AndroidKit
Working copy of https://github.com/moreSwift/AndroidKit resolved at 0.8.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-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/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-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/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/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/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.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/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/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-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/SwiftJavaLang.git
Working copy of https://github.com/stackotter/SwiftJavaLang.git resolved at 0.3.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/swift-java
Working copy of https://github.com/stackotter/swift-java resolved at 0.5.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
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]
[Constructing description]
[Pre-planning 1 / 2949]
[Planning 905 / 2949]
[Planning 1792 / 2949]
[Planning 2817 / 2949]
[Planning deferred tasks]
[Constructing 1 / 6279]
[Constructing 1256 / 6279]
[Starting]
[6 / 1137]
[279 / 1137] SwiftBasicFormat
[440 / 1137] ZLibC
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:245:9: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  245 |         LSEEK(state->fd, 0, SEEK_END);  /* so gzoffset() is correct */
      |         ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:15:17: note: expanded from macro 'LSEEK'
   15 | #  define LSEEK lseek
      |                 ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:245:9: note: did you mean 'fseek'?
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:15:17: note: expanded from macro 'LSEEK'
   15 | #  define LSEEK lseek
      |                 ^
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzguts.h:32:
/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:95:5: note: 'fseek' declared here
   95 | int fseek(FILE *, long, int);
      |     ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:251:24: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  251 |         state->start = LSEEK(state->fd, 0, SEEK_CUR);
      |                        ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:15:17: note: expanded from macro 'LSEEK'
   15 | #  define LSEEK lseek
      |                 ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:335:9: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  335 |     if (LSEEK(state->fd, state->start, SEEK_SET) == -1)
      |         ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:15:17: note: expanded from macro 'LSEEK'
   15 | #  define LSEEK lseek
      |                 ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:372:15: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  372 |         ret = LSEEK(state->fd, offset - (z_off64_t)state->x.have, SEEK_CUR);
      |               ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:15:17: note: expanded from macro 'LSEEK'
   15 | #  define LSEEK lseek
      |                 ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:458:14: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  458 |     offset = LSEEK(state->fd, 0, SEEK_CUR);
      |              ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c:15:17: note: expanded from macro 'LSEEK'
   15 | #  define LSEEK lseek
      |                 ^
5 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzlib.o /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.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/gzlib.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzlib.dia -c /host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/zlib.build/Debug-webassembly-wasm32/ZLibC-t.build/Objects-normal/wasm32/gzlib.o
error: Build failed
BUILD FAILURE 6.4 wasm