The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-cactus, reference 1.2.0 (4fea01), with Swift 6.2 for Wasm on 28 Nov 2025 23:07:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/mhayes853/swift-cactus.git
Reference: 1.2.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               1.2.0      -> FETCH_HEAD
HEAD is now at 4fea01f Merge pull request #46 from mhayes853/v1.2
Cloned https://github.com/mhayes853/swift-cactus.git
Revision (git rev-parse @):
4fea01f886ee52389d49a2203ba7866f70e5d2c4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mhayes853/swift-cactus.git at 1.2.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-2":/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:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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/embedded-swift-sdk.json
Fetching https://github.com/vapor-community/Zip
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-log
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/mhayes853/swift-operation
Fetching https://github.com/apple/swift-crypto
[1/14546] Fetching swift-operation
[292/17690] Fetching swift-operation, zip
[533/19848] Fetching swift-operation, zip, swift-docc-plugin
[4628/25261] Fetching swift-operation, zip, swift-docc-plugin, swift-log
[15368/30861] Fetching swift-operation, zip, swift-docc-plugin, swift-log, xctest-dynamic-overlay
[26088/48324] Fetching swift-operation, zip, swift-docc-plugin, swift-log, xctest-dynamic-overlay, swift-crypto
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.92s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[30450/46166] Fetching swift-operation, zip, swift-log, xctest-dynamic-overlay, swift-crypto
Fetched https://github.com/vapor-community/Zip from cache (0.93s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[27480/43022] Fetching swift-operation, swift-log, xctest-dynamic-overlay, swift-crypto
[27656/47673] Fetching swift-operation, swift-log, xctest-dynamic-overlay, swift-crypto, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.37s)
[30624/43022] Fetching swift-operation, swift-log, xctest-dynamic-overlay, swift-crypto
[42325/58655] Fetching swift-operation, swift-log, xctest-dynamic-overlay, swift-crypto, swift-snapshot-testing
Fetched https://github.com/apple/swift-log from cache (2.45s)
Fetched https://github.com/mhayes853/swift-operation from cache (2.46s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.46s)
Fetched https://github.com/apple/swift-crypto from cache (2.50s)
[4378/15633] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.07s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (5.08s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.43s)
Computing version for https://github.com/vapor-community/Zip
Computed https://github.com/vapor-community/Zip at 2.2.7 (0.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.33s)
Fetching https://github.com/swiftlang/swift-syntax
[1/72984] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.33s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.2.0 (6.97s)
Fetching https://github.com/apple/swift-asn1.git
[1/1663] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.26s)
Computing version for https://github.com/mhayes853/swift-operation
Computed https://github.com/mhayes853/swift-operation at 0.3.3 (0.69s)
Fetching https://github.com/pointfreeco/swift-identified-collections
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/pointfreeco/swift-sharing
[1/6436] Fetching swift-dependencies
[2/8256] Fetching swift-dependencies, swift-atomics
[1182/11767] Fetching swift-dependencies, swift-atomics, swift-sharing
[8229/13309] Fetching swift-dependencies, swift-atomics, swift-sharing, swift-identified-collections
Fetched https://github.com/pointfreeco/swift-sharing from cache (0.39s)
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (0.44s)
[1/28232] Fetching javascriptkit
Fetched https://github.com/apple/swift-atomics from cache (1.23s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.23s)
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (1.24s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.59s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 1.1.1 (0.31s)
Fetching https://github.com/apple/swift-collections
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (3.46s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.00s)
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.55s)
Computed https://github.com/pointfreeco/swift-identified-collections at 1.1.1 (0.00s)
Computed https://github.com/swiftwasm/JavaScriptKit at 0.37.0 (0.00s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.10.0 (0.35s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
[1/886] Fetching swift-concurrency-extras
[90/3424] Fetching swift-concurrency-extras, combine-schedulers
[3425/4723] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.27s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.27s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.27s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.57s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.32s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.55s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.94s)
Computing version for https://github.com/pointfreeco/swift-sharing
Computed https://github.com/pointfreeco/swift-sharing at 2.7.4 (0.31s)
Fetching https://github.com/pointfreeco/swift-perception
[1/1952] Fetching swift-perception
Fetched https://github.com/pointfreeco/swift-perception from cache (0.25s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.55s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (0.37s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3582] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (0.48s)
Computing version for https://github.com/pointfreeco/swift-perception
Computed https://github.com/pointfreeco/swift-perception at 2.0.9 (0.33s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.1.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/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-perception
Working copy of https://github.com/pointfreeco/swift-perception resolved at 2.0.9
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.5
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.37.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
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/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/mhayes853/swift-operation
Working copy of https://github.com/mhayes853/swift-operation resolved at 0.3.3
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/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/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/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.2.0
Creating working copy for https://github.com/pointfreeco/swift-sharing
Working copy of https://github.com/pointfreeco/swift-sharing resolved at 2.7.4
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.60s)
[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/21] Write sources
/host/spi-builder-workspace/.build/checkouts/Zip/Sources/CMinizip/crypt.c:41:10: fatal error: 'zlib.h' file not found
   41 | #include "zlib.h"
      |          ^~~~~~~~
1 error generated.
[12/21] 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"
      |          ^~~~~~~~
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"
      |          ^~~~~~~~
[12/21] Compiling CMinizip unzip.c
[12/21] Compiling CMinizip ioapi.c
/host/spi-builder-workspace/.build/checkouts/Zip/Sources/CMinizip/zip.c:25:10: fatal error: 'zlib.h' file not found
   25 | #include "zlib.h"
      |          ^~~~~~~~
[12/21] Compiling CMinizip zip.c
[12/21] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm