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 develop (806ece), with Swift 6.2 (beta) for Android on 3 Sep 2025 15:42:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 806ece1 3.4.0 (#644)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
806ece1f5ebfab028a221105346f7706d4761f3f
SUCCESS checkout https://github.com/readium/swift-toolkit.git at develop
========================================
Build
========================================
Selected platform:         android
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-3":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/ra1028/DifferenceKit.git
Fetching https://github.com/scinfu/SwiftSoup.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
[1/2319] Fetching differencekit
[558/3159] Fetching differencekit, fuzi
[802/7383] Fetching differencekit, fuzi, gcdwebserver
[2117/12611] Fetching differencekit, fuzi, gcdwebserver, zipfoundation
[2959/22668] Fetching differencekit, fuzi, gcdwebserver, zipfoundation, sqlite.swift
[4166/27225] Fetching differencekit, fuzi, gcdwebserver, zipfoundation, sqlite.swift, swiftsoup
Fetched https://github.com/readium/Fuzi.git from cache (0.30s)
[3417/26385] Fetching differencekit, gcdwebserver, zipfoundation, sqlite.swift, swiftsoup
Fetching https://github.com/marmelroy/Zip.git
[22380/28378] Fetching differencekit, gcdwebserver, zipfoundation, sqlite.swift, swiftsoup, zip
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.96s)
Fetched https://github.com/ra1028/DifferenceKit.git from cache (0.97s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/readium/GCDWebServer.git from cache (0.99s)
[1/13012] Fetching cryptoswift
Fetched https://github.com/marmelroy/Zip.git from cache (3.40s)
Fetched https://github.com/readium/ZIPFoundation.git from cache (3.73s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (3.74s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.77s)
Computing version for https://github.com/readium/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.0 (5.94s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.0 (2.41s)
Computing version for https://github.com/ra1028/DifferenceKit.git
Computed https://github.com/ra1028/DifferenceKit.git at 1.3.0 (0.43s)
Computing version for https://github.com/readium/GCDWebServer.git
Computed https://github.com/readium/GCDWebServer.git at 4.0.1 (1.23s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.44s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (0.38s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/171] 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 (2.10s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.45s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.11.0 (0.42s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/320] Fetching lrucache
[321/2134] Fetching lrucache, swift-atomics
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.26s)
[690/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.76s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.1.2 (0.48s)
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/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/readium/Fuzi.git
Working copy of https://github.com/readium/Fuzi.git resolved at 4.0.0
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.1.2
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/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/GCDWebServer.git
Working copy of https://github.com/readium/GCDWebServer.git resolved at 4.0.1
Creating working copy for https://github.com/readium/ZIPFoundation.git
Working copy of https://github.com/readium/ZIPFoundation.git resolved at 3.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/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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.11.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...
[0/47] Write sources
/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.
[6/47] Compiling GCDWebServerFunctions.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>
      |         ^~~~~~~~~~~~~
2 errors generated.
[6/47] Compiling GCDWebServerFileResponse.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[6/47] Compiling GCDWebServerConnection.m
/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>
      |         ^~~~~~~~~~~~~
[6/47] Compiling GCDWebServerStreamedResponse.m
[6/47] Compiling GCDWebServerErrorResponse.m
[6/47] Compiling _AtomicsShims.c
/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[6/47] Compiling GCDWebServer.m
[6/47] Write swift-version-8C5A4AE7A8CE2BA.txt
BUILD FAILURE 6.2 android