Build Information
Failed to build SnapshotTestingWebP, reference 1.0.0 (22238d), with Swift 6.2 for Wasm on 5 Dec 2025 16:47:43 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/SnapshotTestingWebP.git
Reference: 1.0.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/alexey1312/SnapshotTestingWebP
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 22238d8 Add CI and release GitHub Actions workflows
Cloned https://github.com/alexey1312/SnapshotTestingWebP.git
Revision (git rev-parse @):
22238d85de4722cfdfc3d7a2a148969bebe7a1bd
SUCCESS checkout https://github.com/alexey1312/SnapshotTestingWebP.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/alexey1312/SnapshotTestingWebP.git
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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/the-swift-collective/libwebp.git
[1/54] Fetching libwebp
Fetched https://github.com/the-swift-collective/libwebp.git from cache (0.27s)
[1/15634] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.09s)
Computing version for https://github.com/the-swift-collective/libwebp.git
Computed https://github.com/the-swift-collective/libwebp.git at 1.4.1 (3.87s)
Fetching https://github.com/the-swift-collective/libpng.git
[1/30] Fetching libpng
Fetched https://github.com/the-swift-collective/libpng.git from cache (0.30s)
Computing version for https://github.com/the-swift-collective/libpng.git
Computed https://github.com/the-swift-collective/libpng.git at 1.6.45 (0.83s)
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/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.7 (0.74s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
[4652/77674] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.71s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.76s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (8.66s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.70s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (2.43s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.75s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.42s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.7
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.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/the-swift-collective/libpng.git
Working copy of https://github.com/the-swift-collective/libpng.git resolved at 1.6.45
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.0
Creating working copy for https://github.com/the-swift-collective/libwebp.git
Working copy of https://github.com/the-swift-collective/libwebp.git resolved at 1.4.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.65s)
Building for debugging...
[0/182] Compiling sharpyuv_neon.c
[1/182] Compiling sharpyuv_sse2.c
[2/182] Compiling sharpyuv_csp.c
[3/182] Compiling sharpyuv_gamma.c
[4/182] Compiling sharpyuv_dsp.c
[5/182] Compiling wicdec.c
[6/182] Write swift-version-24593BA9C3E375BF.txt
[7/182] Compiling sharpyuv_cpu.c
[8/182] Compiling tiffdec.c
[9/182] Compiling sharpyuv.c
[10/182] Compiling pngdec.c
[11/182] Compiling metadata.c
[12/182] Compiling webpdec.c
[13/182] Compiling pnmdec.c
[14/182] Compiling jpegdec.c
[15/182] Compiling image_dec.c
[16/182] Compiling ZLibC uncompr.c
[17/182] Compiling imageio_util.c
[18/182] Compiling ZLibC inftrees.c
[19/182] Compiling image_enc.c
[20/182] Compiling ZLibC inffast.c
[21/182] 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-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.
[22/182] Compiling ZLibC gzwrite.c
[22/182] Compiling ZLibC deflate.c
[22/182] Compiling ZLibC zutil.c
[22/182] Compiling ZLibC gzclose.c
[22/182] Compiling ZLibC gzread.c
[22/182] Compiling ZLibC gzlib.c
[22/182] Compiling ZLibC inflate.c
[22/182] Compiling ZLibC trees.c
BUILD FAILURE 6.2 wasm