Build Information
Failed to build PerfectZip, reference 4.0.0 (004ce7), with Swift 6.2 for Wasm on 25 Oct 2026 09:27:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-zip.git
Reference: 4.0.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/perfectlysoft/perfect-zip
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 004ce7e Merge pull request #6 from PerfectlySoft/release-4.0.0
Cloned https://github.com/perfectlysoft/perfect-zip.git
Revision (git rev-parse @):
004ce7e34ca7c9ab18bcdf82a0364a03546657e4
SUCCESS checkout https://github.com/perfectlysoft/perfect-zip.git at 4.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-zip.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling PerfectZip ZipCrypto.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[4/13] Compiling PerfectZip Zipper.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[5/13] Compiling PerfectZip Zip.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[6/13] Compiling PerfectZip Utilities.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[7/13] Compiling PerfectZip Unzipper.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[8/13] Compiling PerfectZip POSIX.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[9/13] Compiling PerfectZip EntryPath.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[10/13] Compiling PerfectZip Format.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Emitting module PerfectZip
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[12/13] Compiling PerfectZip ArchiveReader.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
[13/13] Compiling PerfectZip ArchiveWriter.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZlib/shim.h:3:10: error: 'zlib.h' file not found
1 | // The system zlib (macOS SDK, or zlib1g-dev on Debian/Ubuntu). PerfectZip uses only raw
2 | // deflate/inflate and crc32 from it; the ZIP format itself is implemented in Swift.
3 | #include <zlib.h>
| `- error: 'zlib.h' file not found
4 |
/host/spi-builder-workspace/Sources/PerfectZip/ArchiveReader.swift:2:17: error: could not build C module 'CZlib'
1 | import Foundation
2 | internal import CZlib
| `- error: could not build C module 'CZlib'
3 |
4 | /// One entry of the central directory, after its local header has been cross-checked.
BUILD FAILURE 6.2 wasm