Build Information
Failed to build SwiftZip, reference master (7dda17), with Swift 6.2 for Wasm on 18 Jun 2025 19:21:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/qoncept/swift-zip.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-4606859-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...
/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.
[0/22] Compiling ioapi_mem.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/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
133 | const char * ZEXPORT zError(err)
| ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
305 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
| ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
315 | void ZLIB_INTERNAL zcfree (opaque, ptr)
| ^
[0/22] Compiling zutil.c
[0/22] Compiling adler32.c
/host/spi-builder-workspace/Sources/Cminizip/zlib/deflate.c:201:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
201 | local void slide_hash(s)
| ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/deflate.c:228:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
228 | int ZEXPORT deflateInit_(strm, level, version, stream_size)
| ^
/host/spi-builder-workspace/Sources/Cminizip/zlib/deflate.c:240:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
240 | int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
| ^
[0/22] Compiling deflate.c
[0/22] Compiling crc32.c
[0/22] Compiling gzclose.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.
[0/22] Compiling ioapi_buf.c
[0/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm