The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftZip, reference 0.1.0 (7dda17), with Swift 6.2 for Wasm on 18 Jun 2025 19:21:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/qoncept/swift-zip.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/22] Write sources
/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/crc32.c:202:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  202 | unsigned long ZEXPORT crc32_z(crc, buf, len)
      |                       ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:237:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  237 | unsigned long ZEXPORT crc32(crc, buf, len)
      |                       ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:266:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  266 | local unsigned long crc32_little(crc, buf, len)
      |                     ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:306:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  306 | local unsigned long crc32_big(crc, buf, len)
      |                     ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:344:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  344 | local unsigned long gf2_matrix_times(mat, vec)
      |                     ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:361:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  361 | local void gf2_matrix_square(square, mat)
      |            ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:372:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  372 | local uLong crc32_combine_(crc1, crc2, len2)
      |             ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:428:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  428 | uLong ZEXPORT crc32_combine(crc1, crc2, len2)
      |               ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/crc32.c:436:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  436 | uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
      |               ^
[1/22] Compiling adler32.c
[1/22] Compiling compress.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
[1/22] Compiling zutil.c
[1/22] Compiling crc32.c
/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
[1/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm