The Swift Package Index logo.Swift Package Index

Build Information

Failed to build warc-swift, reference 0.1.0 (abc5e1), with Swift 6.2 for Wasm on 11 Mar 2026 03:37:30 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaredhowland/warc-swift.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/jaredhowland/warc-swift
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at abc5e1a docs: add warc-swift full implementation plan
Cloned https://github.com/jaredhowland/warc-swift.git
Revision (git rev-parse @):
abc5e1ac46587bb897a323998b1ea8c36cf343a4
SUCCESS checkout https://github.com/jaredhowland/warc-swift.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jaredhowland/warc-swift.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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/32] Write sources
[8/32] Copying Binaries
[9/32] Write swift-version-24593BA9C3E375BF.txt
[11/47] Compiling warc_swift Digest.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[12/47] Compiling warc_swift WARCDate.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[13/48] Compiling warc_swift WARCArchiverError.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[14/48] Compiling warc_swift BinaryLocator.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[15/48] Compiling warc_swift WARCTruncatedReason.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[16/48] Compiling warc_swift WARCArchiver.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[17/48] Compiling warc_swift WgetAtOptions.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[18/48] Compiling warc_swift WgetAtRunner.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/48] Emitting module warc_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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[20/48] Compiling warc_swift resource_bundle_accessor.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[21/48] Compiling warc_swift WARCReader.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[22/48] Compiling warc_swift WARCWriter.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[23/48] Compiling warc_swift ArchiveOptions.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[24/48] Compiling warc_swift Gzip.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[25/48] Compiling warc_swift WARCRecord.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
[26/48] Compiling warc_swift WARCRecordType.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:1:10: error: 'zlib.h' file not found
1 | #include <zlib.h>
  |          `- error: 'zlib.h' file not found
2 |
/host/spi-builder-workspace/Sources/warc-swift/IO/Gzip.swift:2:8: error: could not build C module 'CZlib'
  1 | import Foundation
  2 | import CZlib
    |        `- error: could not build C module 'CZlib'
  3 |
  4 | /// GZIP compression/decompression via zlib. Each compress() call produces an independent GZIP member,
BUILD FAILURE 6.2 wasm