The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Readium, reference develop (b968f5), with Swift 6.3 for Wasm on 19 Nov 2026 13:49:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readium/swift-toolkit.git
Reference: develop
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/readium/swift-toolkit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at b968f54 Resume the `AudioNavigator` by itself after a network stall (#944)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
b968f54cf527bc4efaf21f3b1072bb9e29831bd4
SUCCESS checkout https://github.com/readium/swift-toolkit.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/readium/swift-toolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/readium/Fuzi.git
Fetching https://github.com/readium/ZIPFoundation.git
Fetching https://github.com/marmelroy/Zip.git
[1/845] Fetching fuzi
[779/2845] Fetching fuzi, zip
[780/10121] Fetching fuzi, zip, swiftsoup
[2325/12499] Fetching fuzi, zip, swiftsoup, swift-docc-plugin
[2953/18473] Fetching fuzi, zip, swiftsoup, swift-docc-plugin, zipfoundation
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.64s)
Fetched https://github.com/marmelroy/Zip.git from cache (0.64s)
Fetched https://github.com/readium/Fuzi.git from cache (0.65s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.66s)
Fetched https://github.com/readium/ZIPFoundation.git from cache (0.66s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.76s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.21s)
Computing version for https://github.com/readium/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.2 (0.14s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.1 (0.16s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.4 (0.13s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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/marmelroy/Zip.git
Working copy of https://github.com/marmelroy/Zip.git resolved at 2.1.2
Creating working copy for https://github.com/readium/ZIPFoundation.git
Working copy of https://github.com/readium/ZIPFoundation.git resolved at 3.0.2
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.14.4
Creating working copy for https://github.com/readium/Fuzi.git
Working copy of https://github.com/readium/Fuzi.git resolved at 4.0.1
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/31] Copying Info.plist
[3/31] Copying W3CAccessibilityMetadataDisplayGuide.strings
[5/31] Copying Info.plist
[5/31] Copying W3CAccessibilityMetadataDisplayGuide.strings
[6/31] Copying Assets
[6/31] Copying Info.plist
[9/31] Copying Localizable.strings
[9/31] Copying Info.plist
[11/31] Copying Localizable.strings
[14/31] Copying Info.plist
[15/31] Copying Publications
[16/31] Write sources
[21/31] Copying Assets
[22/31] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/ioapi.c:17:
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/include/ioapi.h:36:10: fatal error: 'zlib.h' file not found
   36 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[27/31] Compiling Minizip ioapi.c
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/unzip.c:27:10: fatal error: 'zlib.h' file not found
   27 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[27/31] Compiling Minizip unzip.c
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/zip.c:21:10: fatal error: 'zlib.h' file not found
   21 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[27/31] Compiling Minizip zip.c
[27/31] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm