Build Information
Failed to build swift-cactus, reference main (7b5a0d), with Swift 6.2 for Wasm on 21 Apr 2026 16:22:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhayes853/swift-cactus.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7b5a0dc Merge branch 'engine-v1.14'
Cloned https://github.com/mhayes853/swift-cactus.git
Revision (git rev-parse @):
7b5a0dc693a6c6c3b48dd16b9fe36b97c2d585ac
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mhayes853/swift-cactus.git at main
========================================
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-3":/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/pointfreeco/swift-macro-testing
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/mhayes853/swift-operation
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/961] Fetching swift-macro-testing
[2/3238] Fetching swift-macro-testing, swift-docc-plugin
[175/17904] Fetching swift-macro-testing, swift-docc-plugin, swift-operation
[3707/23368] Fetching swift-macro-testing, swift-docc-plugin, swift-operation, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.38s)
[10571/22407] Fetching swift-docc-plugin, swift-operation, swift-custom-dump
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[14897/28130] Fetching swift-docc-plugin, swift-operation, swift-custom-dump, xctest-dynamic-overlay
[17520/103111] Fetching swift-docc-plugin, swift-operation, swift-custom-dump, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.65s)
[27429/100834] Fetching swift-operation, swift-custom-dump, xctest-dynamic-overlay, swift-syntax
Fetching https://github.com/vapor-community/Zip
[34852/103978] Fetching swift-operation, swift-custom-dump, xctest-dynamic-overlay, swift-syntax, zip
[39266/120043] Fetching swift-operation, swift-custom-dump, xctest-dynamic-overlay, swift-syntax, zip, swift-snapshot-testing
Fetched https://github.com/vapor-community/Zip from cache (0.93s)
[44653/116899] Fetching swift-operation, swift-custom-dump, xctest-dynamic-overlay, swift-syntax, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.12s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.56s)
Fetched https://github.com/mhayes853/swift-operation from cache (7.57s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (7.63s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.72s)
Computing version for https://github.com/vapor-community/Zip
Computed https://github.com/vapor-community/Zip at 2.2.7 (8.44s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.5 (0.54s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.13s)
Computing version for https://github.com/mhayes853/swift-operation
Computed https://github.com/mhayes853/swift-operation at 0.5.0 (0.73s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/pointfreeco/swift-sharing
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/pointfreeco/swift-identified-collections
Fetching https://github.com/pointfreeco/swift-dependencies
[1/3611] Fetching swift-sharing
[579/5431] Fetching swift-sharing, swift-atomics
[2769/12213] Fetching swift-sharing, swift-atomics, swift-dependencies
[2806/13755] Fetching swift-sharing, swift-atomics, swift-dependencies, swift-identified-collections
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (0.60s)
Fetched https://github.com/pointfreeco/swift-sharing from cache (0.61s)
Fetched https://github.com/apple/swift-atomics from cache (0.61s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.69s)
[1/36588] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (3.31s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (4.06s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 1.1.1 (0.44s)
Fetching https://github.com/apple/swift-collections
[1/23583] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.36s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (2.76s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.35s)
Computing version for https://github.com/pointfreeco/swift-sharing
Computed https://github.com/pointfreeco/swift-sharing at 2.8.0 (0.41s)
Fetching https://github.com/pointfreeco/swift-perception
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2606] Fetching combine-schedulers
[523/3562] Fetching combine-schedulers, swift-concurrency-extras
[1621/5528] Fetching combine-schedulers, swift-concurrency-extras, swift-perception
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.68s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.69s)
Fetched https://github.com/pointfreeco/swift-perception from cache (0.69s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (1.41s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.67s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1317] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.16s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (3.01s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (1.27s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (2.86s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (4.37s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.73s)
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.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.36s)
Computing version for https://github.com/pointfreeco/swift-perception
Computed https://github.com/pointfreeco/swift-perception at 2.0.10 (0.38s)
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.53s)
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/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-sharing
Working copy of https://github.com/pointfreeco/swift-sharing resolved at 2.8.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/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-perception
Working copy of https://github.com/pointfreeco/swift-perception resolved at 2.0.10
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
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-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.12.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
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/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-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/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/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
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/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.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.54s)
[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
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 zip.c
[20/40] Compiling CMinizip unzip.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"
| ^~~~~~~~
[20/40] Compiling CMinizip zip.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