The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-ico, reference v0.3.0 (f31bb3), with Swift 6.2 for Wasm on 7 Nov 2026 08:08:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-ico.git
Reference: v0.3.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/stackotter/swift-ico
 * tag               v0.3.0     -> FETCH_HEAD
HEAD is now at f31bb31 Update swift-image-formats dependency to v0.6.0 (new JPEG lib)
Cloned https://github.com/stackotter/swift-ico.git
Revision (git rev-parse @):
f31bb31f8544cfe6783ad135ed98d2e63034fc67
SUCCESS checkout https://github.com/stackotter/swift-ico.git at v0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stackotter/swift-ico.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:ba6864ed1873dc28d63134b1bd648b09c5ec8270a0ae95720b7f96d84a66a058
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/stackotter/swift-image-formats
[1/194] Fetching swift-image-formats
Fetched https://github.com/stackotter/swift-image-formats from cache (0.42s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.6.1 (1.29s)
Fetching https://github.com/stackotter/libjpegturbo
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/the-swift-collective/libwebp
[1/99] Fetching libjpegturbo
[100/153] Fetching libjpegturbo, libwebp
[154/183] Fetching libjpegturbo, libwebp, libpng
Fetched https://github.com/the-swift-collective/libpng from cache (0.35s)
Fetched https://github.com/the-swift-collective/libwebp from cache (0.35s)
Fetched https://github.com/stackotter/libjpegturbo from cache (0.35s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.53s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.16s)
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.34s)
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.51s)
Computing version for https://github.com/stackotter/libjpegturbo
Computed https://github.com/stackotter/libjpegturbo at 0.1.3 (0.15s)
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-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.6.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/stackotter/libjpegturbo
Working copy of https://github.com/stackotter/libjpegturbo resolved at 0.1.3
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
Building for debugging...
[0/184] Write sources
[1/184] Compiling sharpyuv_dsp.c
[2/184] Compiling sharpyuv_csp.c
[3/184] Compiling sharpyuv_cpu.c
[4/184] Compiling sharpyuv_sse2.c
[5/184] Compiling sharpyuv_gamma.c
[6/184] Compiling wicdec.c
[7/184] Compiling sharpyuv.c
[8/184] Compiling tiffdec.c
[9/184] Compiling pngdec.c
[10/184] Compiling sharpyuv_neon.c
[11/184] Write swift-version-24593BA9C3E375BF.txt
[12/184] Compiling metadata.c
[13/184] Compiling jpegdec.c
[13/184] Compiling webpdec.c
[15/184] Compiling pnmdec.c
[16/184] Compiling imageio_util.c
[17/184] Compiling image_dec.c
[18/184] Compiling ZLibC uncompr.c
[19/184] Compiling ZLibC zutil.c
[20/184] Compiling image_enc.c
[21/184] Compiling ZLibC inffast.c
[22/184] Compiling ZLibC inftrees.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.
[23/184] Compiling ZLibC gzwrite.c
[23/184] Compiling ZLibC gzclose.c
[23/184] Compiling ZLibC inflate.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);
      |        ^
[23/184] Compiling ZLibC gzread.c
[23/184] Compiling ZLibC infback.c
[23/184] Compiling ZLibC trees.c
[23/184] Compiling ZLibC deflate.c
[23/184] Compiling ZLibC gzlib.c
BUILD FAILURE 6.2 wasm