Build Information
Failed to build Readium, reference 3.11.0 (d82f44), with Swift 6.4 for macOS (SPM) on 26 Sep 2026 08:12:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readium/swift-toolkit.git
Reference: 3.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/readium/swift-toolkit
* tag 3.11.0 -> FETCH_HEAD
HEAD is now at d82f44f 3.11.0 (#862)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
d82f44f4f05d87add9e22a8b75abbd61dce745dd
SUCCESS checkout https://github.com/readium/swift-toolkit.git at 3.11.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/readium/swift-toolkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1091]
[Planning deferred tasks]
[Starting]
[21 / 451] TestPublications
[233 / 451] Readium_ReadiumShared
[273 / 451] Readium_ReadiumStreamerTests
[274 / 451]
[284 / 460] ReadiumGCDWebServer
[296 / 494]
[299 / 494]
[300 / 494]
[303 / 494] ReadiumGCDWebServer
[306 / 494] ReadiumGCDWebServer
[307 / 495] Zip
[321 / 584]
[335 / 641]
[343 / 641]
[351 / 679]
[368 / 679] Minizip
[373 / 679]
[381 / 679]
[384 / 679]
[387 / 679]
[398 / 679]
[404 / 679]
[409 / 679]
[415 / 679]
[417 / 679]
[424 / 679]
[433 / 679] ReadiumGCDWebServer
[440 / 679]
[445 / 679]
[447 / 679]
[459 / 679] CryptoSwiftResources
[476 / 679]
[493 / 679] Zip
[498 / 679] ReadiumZIPFoundation
[512 / 679] SwiftSoup
[516 / 679] SQLite
[522 / 679] SwiftSoup
[523 / 679] DifferenceKit
[530 / 679] Zip
[531 / 679] SwiftSoup
[532 / 679] SQLite
[533 / 679] DifferenceKit
[546 / 679] SwiftSoup-product
[548 / 679] SQLite-product
[549 / 679] SQLite-product
[553 / 679] SQLite
[555 / 679] ReadiumZIPFoundation
[557 / 679] ReadiumZIPFoundation-product
[561 / 679] ReadiumZIPFoundation
[563 / 679] ReadiumZIPFoundation
[566 / 679] SQLite
[569 / 679] SwiftSoup
[574 / 679] ReadiumInternal
[577 / 679] ReadiumFuzi
[583 / 679] DifferenceKit
[585 / 679] ReadiumInternal
[591 / 679] DifferenceKit
[597 / 679] CryptoSwiftResources
[604 / 679] Zip
[608 / 681] CryptoSwiftResources
[608 / 681] CryptoSwift
[617 / 692] CryptoSwift
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/readium/GCDWebServer.git
Fetching https://github.com/readium/ZIPFoundation.git
Fetching https://github.com/readium/Fuzi.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/ra1028/DifferenceKit.git
[1/2345] Fetching swift-docc-plugin
[2/6569] Fetching swift-docc-plugin, gcdwebserver
[3/7414] Fetching swift-docc-plugin, gcdwebserver, fuzi
[488/13362] Fetching swift-docc-plugin, gcdwebserver, fuzi, zipfoundation
[627/24669] Fetching swift-docc-plugin, gcdwebserver, fuzi, zipfoundation, sqlite.swift
[2074/31648] Fetching swift-docc-plugin, gcdwebserver, fuzi, zipfoundation, sqlite.swift, swiftsoup
[3258/33976] Fetching swift-docc-plugin, gcdwebserver, fuzi, zipfoundation, sqlite.swift, swiftsoup, differencekit
Fetched https://github.com/apple/swift-docc-plugin (1.80s)
Fetched https://github.com/scinfu/SwiftSoup.git (1.80s)
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[19689/24652] Fetching gcdwebserver, fuzi, zipfoundation, sqlite.swift, differencekit
[22246/26652] Fetching gcdwebserver, fuzi, zipfoundation, sqlite.swift, differencekit, zip
Fetched https://github.com/readium/Fuzi.git (2.55s)
Fetched https://github.com/stephencelis/SQLite.swift.git (2.55s)
Fetched https://github.com/readium/ZIPFoundation.git (2.55s)
Fetched https://github.com/ra1028/DifferenceKit.git (2.55s)
[1860/6224] Fetching gcdwebserver, zip
[4217/19663] Fetching gcdwebserver, zip, cryptoswift
Fetched https://github.com/readium/GCDWebServer.git (2.74s)
[729/15439] Fetching zip, cryptoswift
Fetched https://github.com/marmelroy/Zip.git (1.64s)
[3577/13439] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (2.26s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (6.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3830] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.41s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (2.06s)
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.59s)
Computing version for https://github.com/ra1028/DifferenceKit.git
Computed https://github.com/ra1028/DifferenceKit.git at 1.3.0 (0.67s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.68s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.66s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.70s)
Computing version for https://github.com/readium/GCDWebServer.git
Computed https://github.com/readium/GCDWebServer.git at 4.0.1 (0.64s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.1 (0.65s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.9 (0.55s)
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.9
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/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/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/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.1
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'zipfoundation': /Users/admin/builder/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>
error: clang dependency scanning failure:
error: /Users/admin/builder/spi-builder-workspace/Sources/Shared/Publication/Services/Cover/CoverService.swift:8:8 unable to resolve module dependency: 'UIKit'
error: SwiftDriver ReadiumShared normal arm64 com.apple.xcode.tools.swift.compiler failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ReadiumShared -Onone @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/Objects-normal/arm64/ReadiumShared.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/Minizip.modulemap -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/Objects-normal/arm64 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/Objects-normal/arm64/ReadiumShared-OutputFileMap.json -save-temps -color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/Objects-normal/arm64/ReadiumShared.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/Objects-normal/arm64/ReadiumShared-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/Objects-normal/arm64/ReadiumShared_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Readium.build/Debug/ReadiumShared-t.build/Objects-normal/arm64/ReadiumShared-Swift.h -working-directory /Users/admin/builder -experimental-emit-module-separately -disable-cmo
error: Build failed
BUILD FAILURE 6.4 macosSpm