The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Readium, reference develop (e20d5c), with Swift 6.3 for Linux on 25 Oct 2026 09:02:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/readium/swift-toolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:caade26a8dd5b9e237c5c17486feb4a843d699145c768feadca9f1b811831234
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/readium/ZIPFoundation.git
Fetching https://github.com/readium/Fuzi.git
[1/2000] Fetching zip
[2/2845] Fetching zip, fuzi
[182/9977] Fetching zip, fuzi, swiftsoup
[1902/12322] Fetching zip, fuzi, swiftsoup, swift-docc-plugin
[9908/18282] Fetching zip, fuzi, swiftsoup, swift-docc-plugin, zipfoundation
Fetched https://github.com/apple/swift-docc-plugin from cache (0.51s)
Fetched https://github.com/readium/Fuzi.git from cache (0.57s)
[10861/15092] Fetching zip, swiftsoup, zipfoundation
Fetched https://github.com/marmelroy/Zip.git from cache (0.57s)
[9278/13092] Fetching swiftsoup, zipfoundation
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.66s)
Fetched https://github.com/readium/ZIPFoundation.git from cache (0.66s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3849] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/readium/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.1 (0.74s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.20s)
Computing version for https://github.com/readium/Fuzi.git
Computed https://github.com/readium/Fuzi.git at 4.0.1 (0.17s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.3 (0.14s)
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/ZIPFoundation.git
Working copy of https://github.com/readium/ZIPFoundation.git resolved at 3.0.1
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/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/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
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...
[2/31] Copying Localizable.strings
[3/31] Copying Info.plist
[5/31] Copying W3CAccessibilityMetadataDisplayGuide.strings
[6/31] Copying Info.plist
[10/31] Copying Localizable.strings
[10/31] Copying Info.plist
[11/31] Copying Localizable.strings
[14/31] Copying Assets
[15/31] Copying Publications
[16/31] Write sources
[22/31] Copying Assets
[23/31] Write sources
[27/31] Write swift-version-24593BA9C3E375BF.txt
[28/31] Compiling Minizip ioapi.c
[29/31] Compiling Minizip zip.c
[30/31] Compiling Minizip unzip.c
[32/116] Emitting module ReadiumZIPFoundation
[33/118] Compiling Zip ZipUtilities.swift
[34/118] Compiling ReadiumFuzi NodeSet.swift
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
[35/118] Compiling ReadiumFuzi Queryable.swift
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
[36/118] Compiling ReadiumZIPFoundation SharedMutableValue.swift
[37/118] Compiling ReadiumZIPFoundation URL+ZIP.swift
[38/118] Compiling Zip QuickZip.swift
[39/118] Emitting module Zip
[40/118] Compiling Zip Zip.swift
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/Zip.swift:214:61: error: value of optional type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') must be unwrapped to a value of type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>')
212 |                 let readBytes = unzReadCurrentFile(zip, &buffer, bufferSize)
213 |                 if readBytes > 0 {
214 |                     guard fwrite(buffer, Int(readBytes), 1, filePointer) == 1 else {
    |                                                             |- error: value of optional type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') must be unwrapped to a value of type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>')
    |                                                             |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                             `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
215 |                         throw ZipError.unzipFail
216 |                     }
[41/118] Compiling ReadiumFuzi Helpers.swift
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
[42/118] Compiling ReadiumFuzi Error.swift
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
[43/118] Compiling ReadiumFuzi Document.swift
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/118] Emitting module ReadiumFuzi
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
[45/118] Compiling ReadiumFuzi Element.swift
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
[46/118] Compiling SwiftSoup Exception.swift
[47/118] Compiling SwiftSoup FormElement.swift
[48/118] Compiling SwiftSoup DocumentType.swift
[49/118] Compiling SwiftSoup Element.swift
[50/118] Compiling ReadiumFuzi Node.swift
/host/spi-builder-workspace/.build/checkouts/Fuzi/Sources/Document.swift:23:8: error: no such module 'libxml2'
 21 |
 22 | import Foundation
 23 | import libxml2
    |        `- error: no such module 'libxml2'
 24 |
 25 | /// XML document which can be searched and queried.
BUILD FAILURE 6.3 linux