Build Information
Failed to build swift-cross-ui, reference v0.7.2 (823cec), with Swift 6.2 for Wasm on 11 Aug 2026 00:48:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/furbytm/swift-cross-ui.git
Reference: v0.7.2
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/furbytm/swift-cross-ui
* tag v0.7.2 -> FETCH_HEAD
HEAD is now at 823cecd Add 'extern' to make global G*Flag declarations valid in C/C++.
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/furbytm/swift-cross-ui.git
Revision (git rev-parse @):
823cecd0949aa78a035deefe4204eefb2dd0a213
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/furbytm/swift-cross-ui.git at v0.7.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/furbytm/swift-cross-ui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/moreSwift/swift-winui
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/stackotter/swift-java
Fetching https://github.com/stackotter/swift-benchmark
Fetching https://github.com/moreSwift/AndroidKit
Fetching https://github.com/swhitty/swift-mutex
[1/324] Fetching swift-mutex
[264/8277] Fetching swift-mutex, swift-log
[1041/19422] Fetching swift-mutex, swift-log, androidkit
[1201/20155] Fetching swift-mutex, swift-log, androidkit, swift-benchmark
[2853/32982] Fetching swift-mutex, swift-log, androidkit, swift-benchmark, swift-java
Fetched https://github.com/moreSwift/AndroidKit from cache (0.67s)
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetched https://github.com/stackotter/swift-benchmark from cache (0.69s)
Fetched https://github.com/swhitty/swift-mutex from cache (0.69s)
Fetched https://github.com/apple/swift-log.git from cache (0.70s)
Fetching https://github.com/CoreOffice/XMLCoder
Fetching https://github.com/stackotter/swift-image-formats
Fetched https://github.com/stackotter/swift-java from cache (0.70s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1026] Fetching swift-winui
Fetched https://github.com/moreSwift/swift-winui from cache (1.03s)
[1/1008] Fetching swift-macro-toolkit
[717/11137] Fetching swift-macro-toolkit, xmlcoder
[1315/11292] Fetching swift-macro-toolkit, xmlcoder, swift-image-formats
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.52s)
[3498/10284] Fetching xmlcoder, swift-image-formats
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetched https://github.com/stackotter/swift-image-formats from cache (0.57s)
Fetched https://github.com/CoreOffice/XMLCoder from cache (0.57s)
[1/76467] Fetching swift-syntax
[11472/78812] Fetching swift-syntax, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.55s)
[17588/76467] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.65s)
Computing version for https://github.com/stackotter/swift-java
Computed https://github.com/stackotter/swift-java at 0.5.1 (3.57s)
Fetching https://github.com/apple/swift-collections
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
[517/5217] Fetching swift-java-jni-core, swift-subprocess
[3006/23492] Fetching swift-java-jni-core, swift-subprocess, swift-argument-parser
[7229/30169] Fetching swift-java-jni-core, swift-subprocess, swift-argument-parser, swift-system
[27729/56749] Fetching swift-java-jni-core, swift-subprocess, swift-argument-parser, swift-system, swift-collections
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.77s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.77s)
Fetched https://github.com/apple/swift-system from cache (0.77s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.77s)
[2127/26580] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.14s)
Computing version for https://github.com/moreSwift/AndroidKit
Computed https://github.com/moreSwift/AndroidKit at 0.8.1 (2.11s)
Fetching https://github.com/stackotter/SwiftJavaLang.git
Fetching https://github.com/swift-android-sdk/swift-android-native.git
Fetching https://github.com/stackotter/SwiftKotlin.git
[1/968] Fetching swiftkotlin
[853/2979] Fetching swiftkotlin, swift-android-native
[2578/6135] Fetching swiftkotlin, swift-android-native, swiftjavalang
Fetched https://github.com/stackotter/SwiftJavaLang.git from cache (0.58s)
Fetched https://github.com/stackotter/SwiftKotlin.git from cache (0.58s)
Fetched https://github.com/swift-android-sdk/swift-android-native.git from cache (0.58s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (0.73s)
Computing version for https://github.com/stackotter/swift-benchmark
Computed https://github.com/stackotter/swift-benchmark at 0.2.0 (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.17s)
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/stackotter/jpeg
[1/54] Fetching libwebp
[11/84] Fetching libwebp, libpng
[85/3195] Fetching libwebp, libpng, jpeg
Fetched https://github.com/the-swift-collective/libwebp from cache (1.87s)
Fetched https://github.com/the-swift-collective/libpng 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.10s)
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.14s)
Computing version for https://github.com/stackotter/SwiftKotlin.git
Computed https://github.com/stackotter/SwiftKotlin.git at 0.3.0 (0.14s)
Computing version for https://github.com/stackotter/SwiftJavaLang.git
Computed https://github.com/stackotter/SwiftJavaLang.git at 0.3.0 (0.16s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.17s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.18s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.17s)
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.46s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.2.1 (0.61s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.17s)
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.17s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.26s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
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.25s)
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.6.0 (0.24s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3804] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.0 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.16s)
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/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/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
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/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-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.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/moreSwift/AndroidKit
Working copy of https://github.com/moreSwift/AndroidKit resolved at 0.8.1
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.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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.0
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/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.18.2
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/swift-winui
Working copy of https://github.com/moreSwift/swift-winui resolved at 0.2.1
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/stackotter/SwiftJavaLang.git
Working copy of https://github.com/stackotter/SwiftJavaLang.git resolved at 0.3.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/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/swhitty/swift-mutex
Working copy of https://github.com/swhitty/swift-mutex resolved at 0.0.6
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 JExtractSwiftPlugin
[2/2] Compiling plugin SwiftJavaPlugin
[3/3] Compiling plugin JavaCompilerPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
[6/6] Compiling plugin Swift-DocC Preview
[7/7] Compiling plugin Swift-DocC
Building for debugging...
[7/529] Compiling SwiftCrossUIMetadataSupport dummy.c
[8/529] Compiling sharpyuv_neon.c
[9/529] Compiling sharpyuv_dsp.c
[10/529] Compiling sharpyuv_cpu.c
[11/529] Compiling wicdec.c
[12/529] Compiling sharpyuv_csp.c
[13/529] Compiling sharpyuv_gamma.c
[14/529] Compiling sharpyuv.c
[14/529] Compiling tiffdec.c
[16/529] Compiling pngdec.c
[17/529] Compiling metadata.c
[18/529] Compiling webpdec.c
[19/529] Compiling pnmdec.c
[20/529] Compiling sharpyuv_sse2.c
[21/529] Compiling jpegdec.c
[22/529] Compiling image_dec.c
[23/529] Compiling imageio_util.c
[24/529] Compiling _SwiftSyntaxCShims PlatformMutex.c
[25/529] Compiling image_enc.c
[26/529] Compiling ZLibC zutil.c
[27/529] Compiling ZLibC uncompr.c
[28/529] Compiling ZLibC inftrees.c
[29/529] Compiling ZLibC inffast.c
[30/529] Compiling ZLibC infback.c
[31/529] Compiling ZLibC trees.c
[32/529] Compiling ZLibC gzwrite.c
[33/529] Compiling ZLibC gzread.c
[33/529] Compiling ZLibC gzclose.c
[34/529] Compiling ZLibC gzlib.c
[35/529] Write sources
[39/529] Copying GTK.png
[40/529] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[69/529] Compiling ZLibC inflate.c
[70/529] Compiling sharpyuv_neon.c
[71/529] Compiling sharpyuv_sse2.c
[72/529] Compiling ZLibC compress.c
[73/529] Compiling ZLibC adler32.c
[74/529] Compiling ZLibC crc32.c
[75/529] Compiling sharpyuv_csp.c
[76/529] Compiling sharpyuv_dsp.c
[77/529] Compiling sharpyuv_gamma.c
[78/529] Compiling pnglibconf pnglibconf.c
[79/529] Compiling sharpyuv_cpu.c
[80/529] Compiling ZLibC deflate.c
[81/529] Compiling wicdec.c
[82/529] Write swift-version-24593BA9C3E375BF.txt
[83/529] Compiling tiffdec.c
[84/529] Compiling pngdec.c
[85/529] Compiling metadata.c
[86/529] Compiling pnmdec.c
[87/529] Compiling webpdec.c
[88/529] Compiling sharpyuv.c
[89/529] Compiling jpegdec.c
[90/529] Compiling imageio_util.c
[92/547] Emitting module SwiftSyntax601
[93/547] Emitting module SwiftSyntax603
[94/547] Emitting module ZLib
[95/547] Emitting module SwiftSyntax509
[96/547] Compiling SwiftSyntax509 Empty.swift
[97/548] Emitting module SwiftSyntax600
[98/548] Compiling SwiftSyntax600 Empty.swift
[101/549] Compiling SwiftSyntax510 Empty.swift
[102/549] Emitting module SwiftSyntax510
[104/569] Compiling Mutex MutexSwift5.swift
[105/569] Compiling SwiftSyntax601 Empty.swift
[107/570] Compiling ZLib ZLib.swift
[107/571] Wrapping AST for SwiftSyntax600 for debugging
[109/571] Emitting module SwiftSyntax602
[110/571] Compiling SwiftSyntax602 Empty.swift
[111/572] Wrapping AST for SwiftSyntax510 for debugging
[114/572] Compiling Logging LoggingSystem.swift
[114/572] Wrapping AST for SwiftSyntax601 for debugging
[116/573] Compiling SwiftSyntax603 Empty.swift
[117/573] Compiling Logging Logger+With.swift
[117/574] Compiling powerpc_init.c
[118/574] Wrapping AST for SwiftSyntax509 for debugging
[119/574] Compiling filter_vsx_intrinsics.c
[122/574] Compiling Logging LogEvent.swift
[123/574] Compiling Logging LogHandler.swift
[123/574] Compiling png pngwio.c
[124/574] Compiling png pngwutil.c
[125/574] Compiling png pngwtran.c
[126/594] Compiling png pngtrans.c
[127/628] Compiling png pngwrite.c
[128/637] Compiling png pngset.c
[129/637] Compiling png pngrio.c
[131/637] Compiling Logging Logger.swift
[132/637] Compiling Logging Logger+Attributes.swift
[132/637] Compiling png pngrutil.c
[133/637] Compiling png pngmem.c
[134/637] Compiling png pngpread.c
[135/637] Compiling png pngrtran.c
[136/637] Compiling png pngread.c
[137/637] Compiling png pngget.c
[138/637] Compiling png pngerror.c
[139/637] Compiling filter_msa_intrinsics.c
[140/637] Compiling mips_init.c
[141/637] Compiling filter_lsx_intrinsics.c
[142/637] Compiling loongarch_lsx_init.c
[143/637] Compiling filter_mmi_inline_assembly.c
[144/637] Compiling png png.c
[145/637] Compiling intel_init.c
[146/637] Compiling filter_neon_intrinsics.c
[147/637] Compiling palette_neon_intrinsics.c
[148/637] Compiling filter_neon.S
[149/637] Compiling filter_sse2_intrinsics.c
[150/637] Compiling arm_init.c
[151/637] Compiling image_enc.c
[152/637] Compiling image_dec.c
[153/637] Wrapping AST for SwiftSyntax602 for debugging
[154/637] Wrapping AST for SwiftSyntax603 for debugging
[155/637] Compiling _SwiftSyntaxCShims PlatformMutex.c
[156/637] Compiling ZLibC uncompr.c
[157/637] Compiling ZLibC zutil.c
[158/639] Compiling ZLibC trees.c
[159/639] Compiling ZLibC inftrees.c
[160/639] Compiling ZLibC inffast.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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdio.h:85:5: note: 'fclose' declared here
85 | int fclose(FILE *);
| ^
3 errors generated.
[161/639] Compiling ZLibC gzwrite.c
[161/639] Compiling ZLibC infback.c
[161/639] Compiling ZLibC inflate.c
[162/639] Emitting module Mutex
BUILD FAILURE 6.2 wasm