The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SnapshotTestingWebP, reference main (b7f993), with Swift 6.2 for Wasm on 13 Feb 2026 09:57:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/SnapshotTestingWebP.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/alexey1312/SnapshotTestingWebP
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b7f993c chore: update ci
Cloned https://github.com/alexey1312/SnapshotTestingWebP.git
Revision (git rev-parse @):
b7f993c14d3c1c65ced076c5bb6d381472dbd7cb
SUCCESS checkout https://github.com/alexey1312/SnapshotTestingWebP.git at main
========================================
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-4606859-1":/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:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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.45s)
[1/15750] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.75s)
Computing version for https://github.com/the-swift-collective/libwebp.git
Computed https://github.com/the-swift-collective/libwebp.git at 1.4.1 (5.52s)
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.37s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.9 (1.16s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5284] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.66s)
[1/74154] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (10.11s)
Computing version for https://github.com/the-swift-collective/libpng.git
Computed https://github.com/the-swift-collective/libpng.git at 1.6.45 (10.96s)
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.33s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (1.23s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (0.71s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.24s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.66s)
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
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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.9
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.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
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/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
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.61s)
Building for debugging...
[0/182] Compiling sharpyuv_cpu.c
[1/182] Compiling sharpyuv_sse2.c
[2/182] Compiling sharpyuv_dsp.c
[3/182] Compiling sharpyuv_neon.c
[4/182] Compiling sharpyuv_csp.c
[5/182] Compiling wicdec.c
[6/182] Compiling sharpyuv_gamma.c
[7/182] Compiling metadata.c
[8/182] Compiling pngdec.c
[9/182] Compiling tiffdec.c
[9/182] Compiling pnmdec.c
[9/182] Compiling sharpyuv.c
[9/182] Compiling webpdec.c
[13/182] Compiling jpegdec.c
[14/182] Write swift-version-24593BA9C3E375BF.txt
[15/182] Compiling imageio_util.c
[16/182] Compiling image_dec.c
[17/182] Compiling ZLibC zutil.c
[18/182] Compiling ZLibC uncompr.c
[19/182] Compiling image_enc.c
[20/182] Compiling ZLibC inftrees.c
[21/182] Compiling ZLibC inffast.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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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-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 *);
      |     ^
2 errors generated.
[22/182] Compiling ZLibC gzread.c
[22/182] Compiling ZLibC gzclose.c
[22/182] Compiling ZLibC gzlib.c
[22/182] Compiling ZLibC trees.c
[22/182] Compiling ZLibC inflate.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);
      |                        ^
[22/182] Compiling ZLibC gzwrite.c
[22/182] Compiling ZLibC infback.c
[22/182] Compiling ZLibC deflate.c
BUILD FAILURE 6.2 wasm