The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Readium, reference develop (c71bd3), with Swift 6.1 for Wasm on 30 Apr 2026 13:58:16 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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 c71bd3f Improve CSS selector performance in the Content API (#786)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
c71bd3fc18040d18c028cc5bd479fecb9316b905
SUCCESS checkout https://github.com/readium/swift-toolkit.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/readium/swift-toolkit.git
https://github.com/readium/swift-toolkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/readium/Fuzi.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/readium/GCDWebServer.git
Fetching https://github.com/readium/ZIPFoundation.git
[1/840] Fetching fuzi
[841/5064] Fetching fuzi, gcdwebserver
[1222/10301] Fetching fuzi, gcdwebserver, zipfoundation
[2198/21459] Fetching fuzi, gcdwebserver, zipfoundation, sqlite.swift
Fetched https://github.com/readium/Fuzi.git from cache (0.38s)
[1804/20619] Fetching gcdwebserver, zipfoundation, sqlite.swift
Fetching https://github.com/ra1028/DifferenceKit.git
Fetched https://github.com/readium/ZIPFoundation.git from cache (0.90s)
Fetching https://github.com/marmelroy/Zip.git
[11254/15382] Fetching gcdwebserver, sqlite.swift
[12259/17701] Fetching gcdwebserver, sqlite.swift, differencekit
Fetched https://github.com/readium/GCDWebServer.git from cache (1.11s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[11738/13477] Fetching sqlite.swift, differencekit
[13478/15764] Fetching sqlite.swift, differencekit, swift-docc-plugin
[13593/17764] Fetching sqlite.swift, differencekit, swift-docc-plugin, zip
Fetched https://github.com/ra1028/DifferenceKit.git from cache (2.29s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.70s)
[2230/17674] Fetching swift-docc-plugin, zip, cryptoswift
Fetched https://github.com/marmelroy/Zip.git from cache (1.88s)
[1167/15674] Fetching swift-docc-plugin, cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.24s)
[1281/2287] Fetching swift-docc-plugin
Fetching https://github.com/scinfu/SwiftSoup.git
Fetched https://github.com/apple/swift-docc-plugin from cache (6.07s)
[1/5929] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.73s)
Computing version for https://github.com/readium/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.1 (7.57s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.0 (3.90s)
Computing version for https://github.com/ra1028/DifferenceKit.git
Computed https://github.com/ra1028/DifferenceKit.git at 1.3.0 (0.80s)
Computing version for https://github.com/readium/GCDWebServer.git
Computed https://github.com/readium/GCDWebServer.git at 4.0.1 (0.58s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.74s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (0.90s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (0.87s)
Fetching https://github.com/stephencelis/CSQLite
Fetching https://github.com/sqlcipher/SQLCipher.swift
[1/127] Fetching sqlcipher.swift
[103/327] Fetching sqlcipher.swift, csqlite
Fetched https://github.com/stephencelis/CSQLite from cache (0.83s)
Fetched https://github.com/sqlcipher/SQLCipher.swift from cache (0.84s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.50.4 (1.65s)
Computing version for https://github.com/sqlcipher/SQLCipher.swift
Computed https://github.com/sqlcipher/SQLCipher.swift at 4.15.0 (0.53s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.61s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3679] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.18s)
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/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/readium/ZIPFoundation.git
Working copy of https://github.com/readium/ZIPFoundation.git resolved at 3.0.1
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.10.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/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.50.4
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.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/sqlcipher/SQLCipher.swift
Working copy of https://github.com/sqlcipher/SQLCipher.swift resolved at 4.15.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
Downloading binary artifact https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.15.0/SQLCipher.xcframework.zip
[16375/50209920] Downloading https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.15.0/SQLCipher.xcframework.zip
Downloaded https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.15.0/SQLCipher.xcframework.zip (5.45s)
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/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 errors generated.
/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.
[2/53] Compiling GCDWebServerConnection.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.
[2/53] Compiling GCDWebServerResponse.m
[2/53] Compiling GCDWebServerFunctions.m
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Requests/GCDWebServerFileRequest.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | [2/53] Compiling GCDWebServerFileRequest.m
[2/53] Compiling GCDWebServerRequest.m
[2/53] Compiling GCDWebServerDataRequest.m
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServer.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Core/GCDWebServer.m:32:9: fatal error: 'TargetConditionals.h' file not found
   32 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[2/53] Compiling GCDWebServer.m
[2/53] Write swift-version-24593BA9C3E375BF.txt
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/53] Write sources
[2/53] Copying PrivacyInfo.xcprivacy
[2/53] Copying Info.plist
[2/53] Copying W3CAccessibilityMetadataDisplayGuide.strings
[2/53] Write sources
[2/53] Copying W3CAccessibilityMetadataDisplayGuide.strings
[2/53] Copying Info.plist
[2/53] Copying Localizable.strings
[2/53] Write sources
[2/53] Copying Info.plist
[2/53] Copying prod-license.lcpl
[2/53] Copying Localizable.strings
[22/53] Write sources
[22/53] Copying Assets
[22/53] Write sources
[22/53] Copying Publications
[22/53] Write sources
/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.
[33/53] Compiling Minizip unzip.c
[33/53] Compiling GCDWebServerErrorResponse.m
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[33/53] Compiling Minizip ioapi.c
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Responses/GCDWebServerStreamedResponse.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Responses/GCDWebServerStreamedResponse.m:33:
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Responses/../Core/GCDWebServerPrivate.h:28:9: fatal error: 'os/object.h' file not found
   28 | #import <os/object.h>
      |         ^~~~~~~~~~~~~
[33/53] Compiling GCDWebServerStreamedResponse.m
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Responses/GCDWebServerFileResponse.m:29:2: error: ReadiumGCDWebServer requires ARC
   29 | #error ReadiumGCDWebServer requires ARC
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Responses/GCDWebServerFileResponse.m:35:
/host/spi-builder-workspace/.build/checkouts/GCDWebServer/GCDWebServer/Responses/../Core/GCDWebServerPrivate.h:28:9: fatal error: 'os/object.h' file not found
   28 | #import <os/object.h>
      |         ^~~~~~~~~~~~~
[33/53] Compiling GCDWebServerFileResponse.m
[33/53] Compiling SQLiteSwiftCSQLite sqlite3.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>
      |          ^~~~~~~~
[33/53] Compiling Minizip zip.c
[33/53] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm