The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-zip-archive, reference 0.6.4 (b04d3d), with Swift 6.3 for Wasm on 17 Apr 2026 06:52:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/adam-fowler/swift-zip-archive.git
Reference: 0.6.4
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/adam-fowler/swift-zip-archive
 * tag               0.6.4      -> FETCH_HEAD
HEAD is now at b04d3d1 Make FileHeader.isDirectory public
Cloned https://github.com/adam-fowler/swift-zip-archive.git
Revision (git rev-parse @):
b04d3d130b9a8b212db9d97da3b8853b024887be
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/adam-fowler/swift-zip-archive.git at 0.6.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/adam-fowler/swift-zip-archive.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.20s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/5] Write sources
[1/5] Compiling CSystem shims.c
[3/5] Compiling CZipZlib empty.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/36] Emitting module SystemPackage
[7/40] Compiling SystemPackage FilePath.swift
[8/40] Compiling SystemPackage FilePathComponentView.swift
[9/40] Compiling SystemPackage FilePathComponents.swift
[10/40] Compiling SystemPackage FilePathParsing.swift
[11/40] Compiling SystemPackage FilePathString.swift
[12/40] Compiling SystemPackage FilePathWindows.swift
[13/40] Compiling SystemPackage FilePermissions.swift
[14/40] Compiling SystemPackage IOCompletion.swift
[15/40] Compiling SystemPackage IORequest.swift
[16/40] Compiling SystemPackage SystemString.swift
[17/40] Compiling SystemPackage Util+StringArray.swift
[18/40] Compiling SystemPackage Util.swift
[19/40] Compiling SystemPackage UtilConsumers.swift
[20/40] Compiling SystemPackage Errno.swift
[21/40] Compiling SystemPackage ErrnoWindows.swift
[22/40] Compiling SystemPackage FileDescriptor.swift
[23/40] Compiling SystemPackage FileHelpers.swift
[24/40] Compiling SystemPackage FileOperations.swift
[25/40] Compiling SystemPackage FilePathSyntax.swift
[26/40] Compiling SystemPackage FilePathTemp.swift
[27/40] Compiling SystemPackage FilePathTempPosix.swift
[28/40] Compiling SystemPackage FilePathTempWindows.swift
[29/40] Compiling SystemPackage IORing.swift
[30/40] Compiling SystemPackage RawIORequest.swift
[31/40] Compiling SystemPackage Backcompat.swift
[32/40] Compiling SystemPackage CInterop.swift
[33/40] Compiling SystemPackage Syscalls.swift
[34/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[35/40] Compiling SystemPackage MachPort.swift
[36/40] Compiling SystemPackage PlatformString.swift
[37/40] Compiling SystemPackage Constants.swift
[38/40] Compiling SystemPackage Exports.swift
[39/40] Compiling SystemPackage Mocking.swift
[40/40] Compiling SystemPackage RawBuffer.swift
[42/56] Compiling ZipArchive ZipFileStorage.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[43/56] Compiling ZipArchive ZipMemoryStorage.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[44/56] Compiling ZipArchive ZipStorage.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[45/56] Compiling ZipArchive ZipTypes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/57] Emitting module ZipArchive
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[47/57] Compiling ZipArchive CryptKey.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[48/57] Compiling ZipArchive Date.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[49/57] Compiling ZipArchive crc32.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[50/57] Compiling ZipArchive ZipArchiveReader.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[51/57] Compiling ZipArchive ZipArchiveWriter+writeFolderContents.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[52/57] Compiling ZipArchive System+directory.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[53/57] Compiling ZipArchive ZipArchiveReader+extract.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[54/57] Compiling ZipArchive DirectoryDescriptor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[55/57] Compiling ZipArchive MemoryBuffer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[56/57] Compiling ZipArchive ZipArchiveWriter.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
[57/57] Compiling ZipArchive ZipCompression.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CZipZlib/include/CZipZlib.h:4:10: error: 'zlib.h' file not found
 2 | #define C_COMPRESS_ZLIB_H
 3 |
 4 | #include <zlib.h>
   |          `- error: 'zlib.h' file not found
 5 |
 6 | static inline int CZipZlib_deflateInit2(z_streamp strm, int level, int method,
/host/spi-builder-workspace/Sources/ZipArchive/ZipArchiveReader.swift:1:8: error: could not build C module 'CZipZlib'
  1 | import CZipZlib
    |        `- error: could not build C module 'CZipZlib'
  2 | import SystemPackage
  3 |
BUILD FAILURE 6.3 wasm