The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Readium, reference develop (e20d5c), with Swift 6.4 for macOS (SPM) on 25 Oct 2026 09:25:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readium/swift-toolkit.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/readium/swift-toolkit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at e20d5cf Add speed and pitch settings to `PublicationSpeechSynthesizer` (#928)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
e20d5cfc847c2cfa02aaf7be409848b504bd46ca
SUCCESS checkout https://github.com/readium/swift-toolkit.git at develop
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/readium/ZIPFoundation.git
Fetching https://github.com/readium/Fuzi.git
[1/2000] Fetching zip
[2/9132] Fetching zip, swiftsoup
[3/9977] Fetching zip, swiftsoup, fuzi
[71/12322] Fetching zip, swiftsoup, fuzi, swift-docc-plugin
[576/18282] Fetching zip, swiftsoup, fuzi, swift-docc-plugin, zipfoundation
Fetched https://github.com/readium/Fuzi.git (1.00s)
[2684/17437] Fetching zip, swiftsoup, swift-docc-plugin, zipfoundation
Fetched https://github.com/apple/swift-docc-plugin (1.57s)
[9579/15092] Fetching zip, swiftsoup, zipfoundation
Fetched https://github.com/scinfu/SwiftSoup.git (3.02s)
Fetched https://github.com/readium/ZIPFoundation.git (3.02s)
Fetched https://github.com/marmelroy/Zip.git (3.02s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (13.28s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3849] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.26s)
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 (1.92s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.71s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.1 (0.74s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.3 (0.65s)
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/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.14.3
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/readium/Fuzi.git
Working copy of https://github.com/readium/Fuzi.git resolved at 4.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
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>
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-toolkit",
      "name": "Readium",
      "url": "https://github.com/readium/swift-toolkit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-toolkit",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "zip",
          "name": "Zip",
          "url": "https://github.com/marmelroy/Zip.git",
          "version": "2.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Zip",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "fuzi",
          "name": "ReadiumFuzi",
          "url": "https://github.com/readium/Fuzi.git",
          "version": "4.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fuzi",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "zipfoundation",
          "name": "ReadiumZIPFoundation",
          "url": "https://github.com/readium/ZIPFoundation.git",
          "version": "3.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZIPFoundation",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swiftsoup",
          "name": "SwiftSoup",
          "url": "https://github.com/scinfu/SwiftSoup.git",
          "version": "2.14.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSoup",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/readium/swift-toolkit.git
[1/187768] Fetching swift-toolkit
Fetched https://github.com/readium/swift-toolkit.git (31.05s)
Fetching https://github.com/scinfu/SwiftSoup.git from cache
Fetching https://github.com/marmelroy/Zip.git from cache
Fetching https://github.com/readium/ZIPFoundation.git from cache
Fetching https://github.com/readium/Fuzi.git from cache
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.58s)
Fetched https://github.com/marmelroy/Zip.git from cache (0.60s)
Fetched https://github.com/readium/Fuzi.git from cache (0.60s)
Fetched https://github.com/readium/ZIPFoundation.git from cache (0.60s)
Computing version for https://github.com/readium/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.1 (0.68s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.04s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.1 (0.03s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.3 (0.03s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.14.3
Creating working copy for https://github.com/readium/swift-toolkit.git
Working copy of https://github.com/readium/swift-toolkit.git resolved at develop (e20d5cf)
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/Fuzi.git
Working copy of https://github.com/readium/Fuzi.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: '.resolve-product-dependencies': dependency 'swift-toolkit' is not used by any target
Found 4 product dependencies
  - Zip
  - ReadiumFuzi
  - ReadiumZIPFoundation
  - SwiftSoup
========================================
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.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 738]
[Planning deferred tasks]
[131 / 292]
[188 / 292]
[200 / 292]
[207 / 296] Minizip
[212 / 306]
[214 / 306]
[217 / 306]
[221 / 306] Zip
[240 / 412]
[243 / 412]
[253 / 412]
[261 / 412]
[262 / 412]
[270 / 412]
[274 / 412]
[279 / 412]
[284 / 412]
[287 / 412]
[288 / 412]
[291 / 412]
[293 / 412]
[304 / 412] SwiftSoup
[318 / 412] Zip
[319 / 412] ReadiumZIPFoundation
[331 / 412] Zip-product
[340 / 412] Zip-product
[342 / 412] Zip
[343 / 412] ReadiumZIPFoundation
[344 / 412] ReadiumZIPFoundation-product
[345 / 412] ReadiumZIPFoundation-product
[348 / 412] ReadiumFuzi-product
[351 / 412] ReadiumFuzi
[355 / 412] Zip
[356 / 413] ReadiumFuzi
[358 / 413] SwiftSoup
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.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 -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature MemberImportVisibility -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.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 6 -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0.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.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-80c5bbf1d171475443272936d42f90a389db99fe7804849a4777d653a8cfc1be.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