The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-cactus, reference 2.4.0 (89d3cb), with Swift 6.2 for Wasm on 21 Apr 2026 15:55:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhayes853/swift-cactus.git
Reference: 2.4.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/mhayes853/swift-cactus
 * tag               2.4.0      -> FETCH_HEAD
HEAD is now at 89d3cbe Merge pull request #140 from mhayes853/engine-v1.14
Cloned https://github.com/mhayes853/swift-cactus.git
Revision (git rev-parse @):
89d3cbe620138d140fb82d55e8fa6f2ec6efe4cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mhayes853/swift-cactus.git at 2.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mhayes853/swift-cactus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/vapor-community/Zip
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/mhayes853/swift-operation
[1/3144] Fetching zip
[536/5421] Fetching zip, swift-docc-plugin
[858/20087] Fetching zip, swift-docc-plugin, swift-operation
[8619/25810] Fetching zip, swift-docc-plugin, swift-operation, xctest-dynamic-overlay
[17180/31274] Fetching zip, swift-docc-plugin, swift-operation, xctest-dynamic-overlay, swift-custom-dump
[20180/106255] Fetching zip, swift-docc-plugin, swift-operation, xctest-dynamic-overlay, swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.10s)
[29692/100791] Fetching zip, swift-docc-plugin, swift-operation, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.11s)
[27472/98514] Fetching zip, swift-operation, xctest-dynamic-overlay, swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-macro-testing
[35531/99475] Fetching zip, swift-operation, xctest-dynamic-overlay, swift-syntax, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.50s)
[36280/98514] Fetching zip, swift-operation, xctest-dynamic-overlay, swift-syntax
[50528/114579] Fetching zip, swift-operation, xctest-dynamic-overlay, swift-syntax, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (6.41s)
Fetched https://github.com/mhayes853/swift-operation from cache (9.32s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (9.33s)
Fetched https://github.com/vapor-community/Zip from cache (9.34s)
Fetched https://github.com/swiftlang/swift-syntax from cache (9.40s)
Computing version for https://github.com/vapor-community/Zip
Computed https://github.com/vapor-community/Zip at 2.2.7 (9.84s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.5 (0.45s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.93s)
Computing version for https://github.com/mhayes853/swift-operation
Computed https://github.com/mhayes853/swift-operation at 0.5.0 (0.58s)
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/pointfreeco/swift-identified-collections
Fetching https://github.com/apple/swift-atomics
[1/6782] Fetching swift-dependencies
[408/8602] Fetching swift-dependencies, swift-atomics
[4941/10144] Fetching swift-dependencies, swift-atomics, swift-identified-collections
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.69s)
Fetched https://github.com/apple/swift-atomics from cache (0.68s)
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (0.69s)
[1/36588] Fetching javascriptkit
Fetching https://github.com/pointfreeco/swift-sharing
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (2.70s)
[1/3611] Fetching swift-sharing
Fetched https://github.com/pointfreeco/swift-sharing from cache (0.80s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (3.97s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 1.1.1 (0.46s)
Fetching https://github.com/apple/swift-collections
[1/23583] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.13s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (3.04s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.46s)
Computing version for https://github.com/pointfreeco/swift-sharing
Computed https://github.com/pointfreeco/swift-sharing at 2.8.0 (0.44s)
Fetching https://github.com/pointfreeco/swift-perception
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
[1/1966] Fetching swift-perception
[237/4572] Fetching swift-perception, combine-schedulers
[267/5528] Fetching swift-perception, combine-schedulers, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.50s)
Fetched https://github.com/pointfreeco/swift-perception from cache (0.50s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.50s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (1.11s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.50s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1317] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.37s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.87s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.42s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.71s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.50s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.51s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.41s)
Computing version for https://github.com/pointfreeco/swift-perception
Computed https://github.com/pointfreeco/swift-perception at 2.0.10 (0.43s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (0.68s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.50.2 (1.68s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.12.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/pointfreeco/swift-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 1.1.1
Creating working copy for https://github.com/pointfreeco/swift-sharing
Working copy of https://github.com/pointfreeco/swift-sharing resolved at 2.8.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.0
Creating working copy for https://github.com/vapor-community/Zip
Working copy of https://github.com/vapor-community/Zip resolved at 2.2.7
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.5
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.50.2
Creating working copy for https://github.com/pointfreeco/swift-perception
Working copy of https://github.com/pointfreeco/swift-perception resolved at 2.0.10
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mhayes853/swift-operation
Working copy of https://github.com/mhayes853/swift-operation resolved at 0.5.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.81s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/40] Write sources
/host/spi-builder-workspace/.build/checkouts/Zip/Sources/CMinizip/zip.c:25:10: fatal error: 'zlib.h' file not found
   25 | #include "zlib.h"
      |          ^~~~~~~~
1 error generated.
[20/40] Compiling CMinizip zip.c
[20/40] Compiling CMinizip unzip.c
[20/40] Compiling CMinizip ioapi.c
[20/40] Compiling CMinizip zip.c
In file included from /host/spi-builder-workspace/.build/checkouts/Zip/Sources/CMinizip/ioapi.c:24:
/host/spi-builder-workspace/.build/checkouts/Zip/Sources/CMinizip/include/ioapi.h:23:10: fatal error: 'zlib.h' file not found
   23 | #include "zlib.h"
      |          ^~~~~~~~
1 error generated.
[20/40] Compiling CMinizip ioapi.c
[20/40] Compiling CMinizip crypt.c
/host/spi-builder-workspace/.build/checkouts/Zip/Sources/CMinizip/unzip.c:27:10: fatal error: 'zlib.h' file not found
   27 | #include "zlib.h"
      |          ^~~~~~~~
[20/40] Compiling CMinizip unzip.c
[20/40] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm