The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Readium, reference 3.8.0 (f7d10d), with Swift 6.2 for Wasm on 11 Mar 2026 04:24:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.8.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.8.0      -> FETCH_HEAD
HEAD is now at f7d10d2 3.8.0 (#744)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
f7d10d2bf5876408feae14d634416f69d1473fd8
SUCCESS checkout https://github.com/readium/swift-toolkit.git at 3.8.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-1":/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:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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/apple/swift-docc-plugin
Fetching https://github.com/readium/Fuzi.git
Fetching https://github.com/readium/GCDWebServer.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/readium/ZIPFoundation.git
[1/2171] Fetching swift-docc-plugin
[240/7408] Fetching swift-docc-plugin, zipfoundation
[345/8248] Fetching swift-docc-plugin, zipfoundation, fuzi
[362/14149] Fetching swift-docc-plugin, zipfoundation, fuzi, swiftsoup
[527/24652] Fetching swift-docc-plugin, zipfoundation, fuzi, swiftsoup, sqlite.swift
[796/28876] Fetching swift-docc-plugin, zipfoundation, fuzi, swiftsoup, sqlite.swift, gcdwebserver
Fetched https://github.com/apple/swift-docc-plugin from cache (0.94s)
[11334/26705] Fetching zipfoundation, fuzi, swiftsoup, sqlite.swift, gcdwebserver
Fetching https://github.com/ra1028/DifferenceKit.git
[21967/29024] Fetching zipfoundation, fuzi, swiftsoup, sqlite.swift, gcdwebserver, differencekit
Fetched https://github.com/readium/ZIPFoundation.git from cache (1.81s)
[19449/23787] Fetching fuzi, swiftsoup, sqlite.swift, gcdwebserver, differencekit
Fetching https://github.com/marmelroy/Zip.git
[22633/25783] Fetching fuzi, swiftsoup, sqlite.swift, gcdwebserver, differencekit, zip
Fetched https://github.com/ra1028/DifferenceKit.git from cache (1.53s)
[21987/23464] Fetching fuzi, swiftsoup, sqlite.swift, gcdwebserver, zip
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[23465/36805] Fetching fuzi, swiftsoup, sqlite.swift, gcdwebserver, zip, cryptoswift
Fetched https://github.com/marmelroy/Zip.git from cache (1.11s)
Fetched https://github.com/readium/Fuzi.git from cache (3.11s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (3.13s)
Fetched https://github.com/readium/GCDWebServer.git from cache (3.15s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (3.16s)
[2002/13341] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.72s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.0 (6.11s)
Computing version for https://github.com/readium/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.1 (0.69s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.0 (6.17s)
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.65s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (2.14s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (0.63s)
Fetching https://github.com/stephencelis/CSQLite
[1/200] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite from cache (0.70s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.50.4 (16.10s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (1.04s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3669] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.25s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.16.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.0
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/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-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.50.4
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/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
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...
/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>
      |         ^~~~~~~~~~~~~
2 errors generated.
[2/54] Compiling GCDWebServerDataRequest.m
[2/54] Compiling GCDWebServer.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/54] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[2/54] Compiling GCDWebServerFunctions.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/54] Compiling GCDWebServerConnection.m
/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/54] 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.
[2/54] Compiling GCDWebServerFileRequest.m
[2/54] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm