Build Information
Failed to build Readium, reference develop (e20d5c), with Swift 6.4 for Wasm on 25 Oct 2026 09:02:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
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 e20d5cf Add speed and pitch settings to `PublicationSpeechSynthesizer` (#928)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
e20d5cfc847c2cfa02aaf7be409848b504bd46ca
SUCCESS checkout https://github.com/readium/swift-toolkit.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/readium/swift-toolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/readium/ZIPFoundation.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/readium/Fuzi.git
[1/2000] Fetching zip
[2/9132] Fetching zip, swiftsoup
[675/9977] Fetching zip, swiftsoup, fuzi
[1252/12322] Fetching zip, swiftsoup, fuzi, swift-docc-plugin
[5599/18282] Fetching zip, swiftsoup, fuzi, swift-docc-plugin, zipfoundation
Fetched https://github.com/readium/Fuzi.git (0.48s)
Fetched https://github.com/marmelroy/Zip.git (0.49s)
Fetched https://github.com/scinfu/SwiftSoup.git (0.55s)
[4074/8305] Fetching swift-docc-plugin, zipfoundation
Fetched https://github.com/apple/swift-docc-plugin (0.71s)
Fetched https://github.com/readium/ZIPFoundation.git (0.71s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.62s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3849] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/readium/ZIPFoundation.git
warning: 'zipfoundation': /Package.swift:24:58: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
22 | name: "ReadiumZIPFoundation",
23 | platforms: [
24 | .macOS(.v11), .iOS(.v13), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
25 | ],
26 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/readium/ZIPFoundation.git at 3.0.1 (0.72s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.20s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.1 (0.17s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.3 (0.14s)
Creating working copy for https://github.com/readium/ZIPFoundation.git
Working copy of https://github.com/readium/ZIPFoundation.git resolved at 3.0.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.14.3
Creating working copy for https://github.com/readium/Fuzi.git
Working copy of https://github.com/readium/Fuzi.git resolved at 4.0.1
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
warning: 'zipfoundation': /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Package.swift:24:58: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
22 | name: "ReadiumZIPFoundation",
23 | platforms: [
24 | .macOS(.v11), .iOS(.v13), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
25 | ],
26 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 710]
[Planning deferred tasks]
[129 / 206] Minizip
[1m/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/zip.c:21:10: [0m[0;1;31mfatal error: [0m[1m'zlib.h' file not found[0m
21 | #include <zlib.h>[0m
| [0;1;32m ^~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zip.build/Debug-webassembly-wasm32/Minizip-t.build/Objects-normal/wasm32/zip.o /host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/zip.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zip.build/Debug-webassembly-wasm32/Minizip-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Zip.build/Debug-webassembly-wasm32/Minizip-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zip.build/Debug-webassembly-wasm32/Minizip-t.build/Objects-normal/wasm32/zip.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zip.build/Debug-webassembly-wasm32/Minizip-t.build/Objects-normal/wasm32/zip.dia -c /host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/zip.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zip.build/Debug-webassembly-wasm32/Minizip-t.build/Objects-normal/wasm32/zip.o
error: Build failed
BUILD FAILURE 6.4 wasm