The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftZip, reference 0.1.0 (7dda17), with Swift 6.3 for Wasm on 11 Apr 2026 22:55:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/qoncept/swift-zip.git
Reference: 0.1.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/qoncept/swift-zip
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 7dda177 Add LICENSE
Cloned https://github.com/qoncept/swift-zip.git
Revision (git rev-parse @):
7dda17748519d8abda92766fde9edc2677e36c1c
SUCCESS checkout https://github.com/qoncept/swift-zip.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/qoncept/swift-zip.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/22] Write sources
/host/spi-builder-workspace/Sources/Cminizip/minizip/ioapi_mem.c:26:10: fatal error: 'zlib.h' file not found
   26 | #include "zlib.h"
      |          ^~~~~~~~
1 error generated.
[1/22] Compiling ioapi_mem.c
/host/spi-builder-workspace/Sources/Cminizip/minizip/zip.c:21:10: fatal error: 'zlib.h' file not found
   21 | #include "zlib.h"
      |          ^~~~~~~~
1 error generated.
[1/22] Compiling zip.c
/host/spi-builder-workspace/Sources/Cminizip/zlib/adler32.c:63:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   63 | uLong ZEXPORT adler32_z(adler, buf, len)
      |               ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/adler32.c:134:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  134 | uLong ZEXPORT adler32(adler, buf, len)
      |               ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/adler32.c:143:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  143 | local uLong adler32_combine_(adler1, adler2, len2)
      |             ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/adler32.c:172:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  172 | uLong ZEXPORT adler32_combine(adler1, adler2, len2)
      |               ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/adler32.c:180:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  180 | uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
      |               ^
[1/22] Compiling adler32.c
/host/spi-builder-workspace/Sources/Cminizip/minizip/ioapi_buf.c:19:10: fatal error: 'zlib.h' file not found
   19 | #include "zlib.h"
      |          ^~~~~~~~
1 error generated.
[1/22] Compiling ioapi_buf.c
/host/spi-builder-workspace/Sources/Cminizip/zlib/compress.c:22:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   22 | int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
      |             ^
[1/22] Compiling compress.c
[1/22] Compiling zutil.c
/host/spi-builder-workspace/Sources/Cminizip/minizip/unzip.c:32:10: fatal error: 'zlib.h' file not found
   32 | #include "zlib.h"
      |          ^~~~~~~~
1 error generated.
[1/22] Compiling unzip.c
[1/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm