The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-ico, reference v0.2.0 (033883), with Swift 6.3 for Wasm on 19 Apr 2026 12:19:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-ico.git
Reference: v0.2.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.2.0     -> FETCH_HEAD
HEAD is now at 033883c Switch from lanczos to linear downscaling algorithm
Cloned https://github.com/stackotter/swift-ico.git
Revision (git rev-parse @):
033883c75b92af91c9b010b629ad6e0135aa3d64
SUCCESS checkout https://github.com/stackotter/swift-ico.git at v0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/stackotter/swift-ico.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/stackotter/swift-image-formats
[1/155] Fetching swift-image-formats
Fetched https://github.com/stackotter/swift-image-formats from cache (0.23s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.5.0 (3.76s)
Fetching https://github.com/stackotter/jpeg
Fetching https://github.com/the-swift-collective/libwebp
[1/3111] Fetching jpeg
[406/3165] Fetching jpeg, libwebp
Fetching https://github.com/the-swift-collective/libpng
[522/3195] Fetching jpeg, libwebp, libpng
Fetched https://github.com/the-swift-collective/libpng from cache (0.38s)
[583/3165] Fetching jpeg, libwebp
Fetched https://github.com/the-swift-collective/libwebp from cache (5.46s)
Fetched https://github.com/stackotter/jpeg from cache (5.65s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (6.60s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (0.99s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (0.88s)
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.38s)
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.42s)
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/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/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/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/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
Building for debugging...
[0/183] Compiling sharpyuv_sse2.c
[1/183] Compiling sharpyuv_neon.c
[2/183] Compiling sharpyuv_cpu.c
[3/183] Compiling sharpyuv_csp.c
[4/183] Compiling sharpyuv_dsp.c
[5/183] Compiling wicdec.c
[6/183] Compiling tiffdec.c
[7/183] Compiling sharpyuv_gamma.c
[8/183] Compiling sharpyuv.c
[9/183] Compiling pngdec.c
[10/183] Compiling metadata.c
[11/183] Write swift-version-24593BA9C3E375BF.txt
[12/183] Compiling jpegdec.c
[13/183] Compiling webpdec.c
[14/183] Compiling imageio_util.c
[14/183] Compiling image_dec.c
[16/183] Compiling pnmdec.c
[17/183] Compiling ZLibC uncompr.c
[18/183] Compiling ZLibC zutil.c
[19/183] Compiling ZLibC inffast.c
[20/183] Compiling image_enc.c
[21/183] Compiling ZLibC inftrees.c
[22/183] Compiling ZLibC trees.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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.3-RELEASE_wasm.artifactbundle/swift-6.3-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/183] 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-6.3-RELEASE_wasm.artifactbundle/swift-6.3-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.3-RELEASE_wasm.artifactbundle/swift-6.3-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.
[23/183] Compiling ZLibC gzread.c
[23/183] Compiling ZLibC infback.c
[23/183] Compiling ZLibC inflate.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzlib.c[23/183] Compiling ZLibC gzlib.c
[23/183] Compiling ZLibC crc32.c
[23/183] Compiling ZLibC deflate.c
[23/183] Compiling ZLibC gzclose.c
BUILD FAILURE 6.3 wasm