Build Information
Failed to build swift-cross-ui, reference main (d68ba9), with Swift 6.1 for Wasm on 11 Aug 2026 00:50:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/furbytm/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/furbytm/swift-cross-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d68ba91 Moving layout toward measured/natural sizes instead of hardcoding.
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 @):
d68ba9124e637512f9d52fc2dd6107959ee0460a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/furbytm/swift-cross-ui.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/furbytm/swift-cross-ui.git
https://github.com/furbytm/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-53886770-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.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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/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/swhitty/swift-mutex
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/moreSwift/swift-windowsfoundation
Fetching https://github.com/moreSwift/swift-windowsappsdk
Fetching https://github.com/stackotter/swift-benchmark
Fetching https://github.com/moreSwift/swift-winui
[1/7953] Fetching swift-log
[2/8686] Fetching swift-log, swift-benchmark
[32/8800] Fetching swift-log, swift-benchmark, swift-windowsfoundation
[489/9124] Fetching swift-log, swift-benchmark, swift-windowsfoundation, swift-mutex
Fetched https://github.com/moreSwift/swift-windowsfoundation from cache (0.44s)
Fetching https://github.com/stackotter/swift-image-formats
[1588/9010] Fetching swift-log, swift-benchmark, swift-mutex
Fetched https://github.com/swhitty/swift-mutex from cache (0.47s)
[8209/8686] Fetching swift-log, swift-benchmark
Fetching https://github.com/stackotter/swift-macro-toolkit
[8687/8843] Fetching swift-log, swift-benchmark, swift-windowsappsdk
Fetched https://github.com/moreSwift/swift-windowsappsdk from cache (0.56s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1026] Fetching swift-winui
[586/1181] Fetching swift-winui, swift-image-formats
Fetched https://github.com/stackotter/swift-image-formats from cache (0.41s)
[719/1026] Fetching swift-winui
Fetching https://github.com/swiftlang/swift-docc-plugin
[1027/2034] Fetching swift-winui, swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.51s)
Fetched https://github.com/stackotter/swift-benchmark from cache (0.98s)
Fetching https://github.com/CoreOffice/XMLCoder
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
Fetched https://github.com/moreSwift/swift-winui from cache (0.98s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.59s)
[1/10129] Fetching xmlcoder
[407/86596] Fetching xmlcoder, swift-syntax
Fetched https://github.com/CoreOffice/XMLCoder from cache (0.59s)
[9941/76467] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.69s)
Computing version for https://github.com/swhitty/swift-mutex
Computed https://github.com/swhitty/swift-mutex at 0.0.6 (3.48s)
Computing version for https://github.com/stackotter/swift-benchmark
Computed https://github.com/stackotter/swift-benchmark at 0.2.0 (0.24s)
Fetching https://github.com/apple/swift-argument-parser
[1/18275] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.70s)
Computing version for https://github.com/moreSwift/swift-winui
Computed https://github.com/moreSwift/swift-winui at 0.1.1 (0.91s)
Fetching https://github.com/moreSwift/swift-cwinrt
Fetching https://github.com/moreSwift/swift-uwp
Fetching https://github.com/moreSwift/swift-webview2core
[1/34] Fetching swift-webview2core
[35/308] Fetching swift-webview2core, swift-uwp
[309/808] Fetching swift-webview2core, swift-uwp, swift-cwinrt
Fetched https://github.com/moreSwift/swift-webview2core from cache (1.10s)
Fetched https://github.com/moreSwift/swift-uwp from cache (1.10s)
Fetched https://github.com/moreSwift/swift-cwinrt from cache (1.11s)
Computing version for https://github.com/moreSwift/swift-windowsfoundation
Computed https://github.com/moreSwift/swift-windowsfoundation at 0.1.0 (1.31s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (0.23s)
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/libpng
[1/30] Fetching libpng
[13/84] Fetching libpng, libwebp
Fetched https://github.com/the-swift-collective/libwebp from cache (0.40s)
Fetched https://github.com/the-swift-collective/libpng from cache (0.40s)
[1/3111] Fetching jpeg
Fetched https://github.com/stackotter/jpeg from cache (1.72s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.9.0 (1.98s)
Computing version for https://github.com/moreSwift/swift-webview2core
Computed https://github.com/moreSwift/swift-webview2core at 0.1.0 (0.21s)
Computing version for https://github.com/moreSwift/swift-uwp
Computed https://github.com/moreSwift/swift-uwp at 0.1.0 (0.21s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.24s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.24s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.24s)
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.52s)
Computing version for https://github.com/moreSwift/swift-windowsappsdk
Computed https://github.com/moreSwift/swift-windowsappsdk at 0.1.2 (0.77s)
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.24s)
Computing version for https://github.com/moreSwift/swift-cwinrt
Computed https://github.com/moreSwift/swift-cwinrt at 0.1.2 (0.24s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.18.2 (0.24s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.25s)
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.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
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/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-winui
Working copy of https://github.com/moreSwift/swift-winui 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/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-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/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/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-cwinrt
Working copy of https://github.com/moreSwift/swift-cwinrt resolved at 0.1.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/moreSwift/swift-windowsappsdk
Working copy of https://github.com/moreSwift/swift-windowsappsdk resolved at 0.1.2
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/swhitty/swift-mutex
Working copy of https://github.com/swhitty/swift-mutex resolved at 0.0.6
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/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-webview2core
Working copy of https://github.com/moreSwift/swift-webview2core resolved at 0.1.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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
[6/520] Compiling SwiftCrossUIMetadataSupport dummy.c
[7/520] Compiling sharpyuv_neon.c
[8/520] Compiling sharpyuv_cpu.c
[9/520] Compiling wicdec.c
[10/520] Compiling sharpyuv_csp.c
[10/520] Compiling sharpyuv_dsp.c
[12/520] Compiling sharpyuv_gamma.c
[13/520] Compiling sharpyuv.c
[14/520] Compiling tiffdec.c
[15/520] Compiling pngdec.c
[15/520] Compiling sharpyuv_sse2.c
[17/520] Compiling jpegdec.c
[17/520] Compiling metadata.c
[19/520] Compiling webpdec.c
[20/520] Compiling pnmdec.c
[21/520] Compiling image_dec.c
[22/520] Compiling imageio_util.c
[23/520] Compiling _SwiftSyntaxCShims PlatformMutex.c
[24/520] Compiling image_enc.c
[25/520] Compiling ZLibC uncompr.c
[26/520] Compiling ZLibC zutil.c
[27/520] Compiling ZLibC inftrees.c
[28/520] Compiling ZLibC inffast.c
[29/520] Compiling ZLibC trees.c
[30/520] Compiling ZLibC gzlib.c
[31/520] Compiling ZLibC infback.c
[32/520] Compiling ZLibC gzread.c
[32/520] Write sources
[45/520] Compiling ZLibC gzwrite.c
[45/520] Write sources
[61/520] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[61/520] Copying GTK.png
[64/520] Compiling ZLibC gzclose.c
[65/520] Compiling ZLibC inflate.c
[66/520] Compiling ZLibC compress.c
[67/520] Compiling sharpyuv_sse2.c
[67/520] Compiling sharpyuv_neon.c
[69/520] Compiling ZLibC adler32.c
[70/520] Compiling sharpyuv_cpu.c
[71/520] Compiling sharpyuv_dsp.c
[71/520] Compiling sharpyuv_csp.c
[72/520] Compiling sharpyuv_gamma.c
[74/520] Compiling ZLibC crc32.c
[75/520] Compiling pnglibconf pnglibconf.c
[76/520] Compiling ZLibC deflate.c
[77/520] Compiling sharpyuv.c
[78/520] Compiling wicdec.c
[79/520] Compiling tiffdec.c
[79/520] Compiling pngdec.c
[81/520] Compiling metadata.c
[82/520] Compiling pnmdec.c
[83/520] Compiling jpegdec.c
[84/520] Compiling _SwiftSyntaxCShims PlatformMutex.c
[84/520] Compiling webpdec.c
[84/520] Compiling image_dec.c
[87/520] Compiling imageio_util.c
[88/520] Compiling ZLibC uncompr.c
[89/520] Compiling ZLibC zutil.c
[90/520] Compiling image_enc.c
[91/520] Compiling ZLibC inftrees.c
[92/520] 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-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/520] Compiling ZLibC gzwrite.c
[93/520] Compiling ZLibC gzclose.c
/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
| ^
/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: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.
[93/520] Compiling ZLibC gzlib.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | ret = read(state->fd, buf + *have, get);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: note: did you mean 'fread'?
/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:102:8: note: 'fread' declared here
102 | size_t fread(void *__restrict, size_t, size_t, FILE *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
600 | ret = close(state->fd);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: 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 *);
| ^
2 errors generated.
[93/520] Compiling ZLibC gzread.c
[93/520] Compiling ZLibC infback.c
[93/520] Compiling ZLibC trees.c
[93/520] Compiling ZLibC inflate.c
[93/520] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/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/432] Write sources
/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
| ^
/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: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.
[5/431] Compiling ZLibC gzlib.c
[5/431] Compiling ZLibC gzclose.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.
[5/431] Compiling ZLibC gzwrite.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | ret = read(state->fd, buf + *have, get);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: note: did you mean 'fread'?
/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:102:8: note: 'fread' declared here
102 | size_t fread(void *__restrict, size_t, size_t, FILE *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
600 | ret = close(state->fd);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: 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 *);
| ^
2 errors generated.
[5/431] Compiling ZLibC gzread.c
[5/431] Compiling ZLibC trees.c
[5/431] Compiling ZLibC infback.c
[5/431] Compiling ZLibC inflate.c
[5/431] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm