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 Readium, reference 3.5.0 (8bd799), with Swift 6.2 for Wasm on 6 Nov 2025 19:32:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/readium/swift-toolkit.git
Reference: 3.5.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/readium/swift-toolkit
 * tag               3.5.0      -> FETCH_HEAD
HEAD is now at 8bd799d 3.5.0 (#667)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
8bd799d00a835248a6f5987f70c23c4c30280e48
SUCCESS checkout https://github.com/readium/swift-toolkit.git at 3.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/readium/swift-toolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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/swift-sdk.json
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/readium/Fuzi.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/readium/ZIPFoundation.git
Fetching https://github.com/readium/GCDWebServer.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/840] Fetching fuzi
[220/2832] Fetching fuzi, zip
[1149/12919] Fetching fuzi, zip, sqlite.swift
[1603/17553] Fetching fuzi, zip, sqlite.swift, swiftsoup
[1650/22790] Fetching fuzi, zip, sqlite.swift, swiftsoup, zipfoundation
[2410/27014] Fetching fuzi, zip, sqlite.swift, swiftsoup, zipfoundation, gcdwebserver
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.36s)
[20504/22380] Fetching fuzi, zip, sqlite.swift, zipfoundation, gcdwebserver
Fetched https://github.com/marmelroy/Zip.git from cache (1.40s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[18850/20388] Fetching fuzi, sqlite.swift, zipfoundation, gcdwebserver
Fetched https://github.com/readium/ZIPFoundation.git from cache (1.84s)
Fetched https://github.com/readium/GCDWebServer.git from cache (1.84s)
[1/13105] Fetching cryptoswift
Fetched https://github.com/readium/Fuzi.git from cache (2.00s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.02s)
Fetching https://github.com/ra1028/DifferenceKit.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.48s)
[1/2319] Fetching differencekit
Fetched https://github.com/ra1028/DifferenceKit.git from cache (0.62s)
Computing version for https://github.com/readium/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.1 (4.98s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.0 (2.20s)
Computing version for https://github.com/ra1028/DifferenceKit.git
Computed https://github.com/ra1028/DifferenceKit.git at 1.3.0 (0.47s)
Computing version for https://github.com/readium/GCDWebServer.git
Computed https://github.com/readium/GCDWebServer.git at 4.0.1 (0.43s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.52s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (0.44s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/204] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (1.14s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.59s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.11.1 (0.44s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/341] Fetching lrucache
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.22s)
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.92s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.2.0 (0.53s)
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/readium/Fuzi.git
Working copy of https://github.com/readium/Fuzi.git resolved at 4.0.0
Creating working copy for https://github.com/readium/GCDWebServer.git
Working copy of https://github.com/readium/GCDWebServer.git resolved at 4.0.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.11.1
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/ra1028/DifferenceKit.git
Working copy of https://github.com/ra1028/DifferenceKit.git resolved at 1.3.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/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.2.0
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
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerRequest.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerRequest.m:32:9: fatal error: 'zlib.h' file not found
   32 | #import <zlib.h>
      |         ^~~~~~~~
2 errors generated.
[0/47] Compiling GCDWebServerRequest.m
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Requests/GCDWebServerFileRequest.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Requests/GCDWebServerFileRequest.m:33:
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Requests/../Core/GCDWebServerPrivate.h:28:9: fatal error: 'os/object.h' file not found
   28 | #import <os/object.h>
      |         ^~~~~~~~~~~~~
2 errors generated.
[0/47] Compiling GCDWebServerFileRequest.m
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerResponse.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerResponse.m:32:9: fatal error: 'zlib.h' file not found
   32 | #import <zlib.h>
      |         ^~~~~~~~
2 errors generated.
[0/47] Compiling GCDWebServerResponse.m
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerFunctions.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerFunctions.m:32:9: fatal error: 'TargetConditionals.h' file not found
   32 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[0/47] Compiling GCDWebServerFunctions.m
[0/47] Compiling _AtomicsShims.c
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Requests/GCDWebServerDataRequest.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Requests/GCDWebServerDataRequest.m:33:
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Requests/../Core/GCDWebServerPrivate.h:28:9: fatal error: 'os/object.h' file not found
   28 | #import <os/object.h>
      |         ^~~~~~~~~~~~~
[0/47] Compiling GCDWebServerDataRequest.m
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerConnection.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServerConnection.m:32:9: fatal error: 'TargetConditionals.h' file not found
   32 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/47] Compiling GCDWebServerConnection.m
[0/47] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm