The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Readium, reference develop (b968f5), with Swift 6.2 for Linux on 19 Nov 2026 13:56:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 b968f54 Resume the `AudioNavigator` by itself after a network stall (#944)
Cloned https://github.com/readium/swift-toolkit.git
Revision (git rev-parse @):
b968f54cf527bc4efaf21f3b1072bb9e29831bd4
SUCCESS checkout https://github.com/readium/swift-toolkit.git at develop
========================================
Build
========================================
Selected platform:         linux
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-53886770-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:448fd83fd52215d086a1e24a6dfef7af36c159759f7d20bea90a3c7c927de91e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/readium/ZIPFoundation.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/readium/Fuzi.git
[1/845] Fetching fuzi
[179/3223] Fetching fuzi, swift-docc-plugin
[211/5223] Fetching fuzi, swift-docc-plugin, zip
Fetched https://github.com/readium/Fuzi.git from cache (0.39s)
[595/4378] Fetching swift-docc-plugin, zip
[676/10352] Fetching swift-docc-plugin, zip, zipfoundation
[10353/17628] Fetching swift-docc-plugin, zip, zipfoundation, swiftsoup
Fetched https://github.com/readium/ZIPFoundation.git from cache (0.64s)
[5906/11654] Fetching swift-docc-plugin, zip, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.80s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.80s)
Fetched https://github.com/marmelroy/Zip.git from cache (0.81s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.2 (0.77s)
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/ZIPFoundation.git
Computed https://github.com/readium/ZIPFoundation.git at 3.0.2 (0.15s)
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.4 (0.14s)
Creating working copy for https://github.com/readium/ZIPFoundation.git
Working copy of https://github.com/readium/ZIPFoundation.git resolved at 3.0.2
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
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.14.4
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
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] Write sources
[5/31] Copying Info.plist
[5/31] Write sources
[7/31] Copying Info.plist
[7/31] Copying Localizable.strings
[7/31] Copying Info.plist
[7/31] Copying W3CAccessibilityMetadataDisplayGuide.strings
[13/31] Copying Localizable.strings
[14/31] Write sources
[15/31] Copying Localizable.strings
[15/31] Write sources
[15/31] Copying Localizable.strings
[15/31] Write sources
[16/31] Copying Info.plist
[23/31] Copying W3CAccessibilityMetadataDisplayGuide.strings
[24/31] Copying Assets
[25/31] Copying Publications
[26/31] Copying Assets
[27/31] Compiling Minizip ioapi.c
[28/31] Compiling Minizip unzip.c
[29/31] Compiling Minizip zip.c
[30/31] Write swift-version-24593BA9C3E375BF.txt
[32/116] 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.
[33/116] 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/116] 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.
[35/116] 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.
[36/116] 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.
[37/116] 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.
[38/116] 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.
[39/116] Compiling SwiftSoup ParseError.swift
[40/116] Compiling SwiftSoup ParseErrorList.swift
[41/116] Compiling SwiftSoup ParseSettings.swift
[42/116] Compiling SwiftSoup Parser.swift
[43/116] Compiling SwiftSoup ParsingStrings.swift
[44/116] Compiling SwiftSoup Pattern.swift
[45/116] Compiling SwiftSoup Profiler.swift
[46/116] Compiling SwiftSoup QueryParser.swift
[47/116] 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.
[48/116] Compiling SwiftSoup QueryParserCache.swift
[49/116] Compiling SwiftSoup SelectorQueryKey.swift
[50/116] Compiling SwiftSoup SourceRange.swift
[51/116] Compiling SwiftSoup StreamReader.swift
[52/116] Compiling SwiftSoup String.swift
[53/116] Compiling SwiftSoup StringBuilder.swift
[54/116] Compiling SwiftSoup StringUtil.swift
[55/116] Compiling SwiftSoup StructuralEvaluator.swift
[59/123] 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 |                     }
[60/123] Compiling Zip ZipUtilities.swift
[61/123] Compiling Zip QuickZip.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:184:51: error: cannot pass function of type '(UnsafeMutableRawBufferPointer) async throws -> ()' to parameter expecting synchronous function type
182 |             zipCRC32 = inputChunk.crc32(checksum: zipCRC32)
183 |             stream.avail_in = UInt32(inputChunk.count)
184 |             try inputChunk.withUnsafeMutableBytes { (rawBufferPointer) in
    |                                                   `- error: cannot pass function of type '(UnsafeMutableRawBufferPointer) async throws -> ()' to parameter expecting synchronous function type
185 |                 if let baseAddress = rawBufferPointer.baseAddress {
186 |                     let pointer = baseAddress.assumingMemoryBound(to: UInt8.self)
    :
207 |
208 |                     outputChunk.count = bufferSize - Int(stream.avail_out)
209 |                     try await consumer(outputChunk)
    |                         `- note: 'async' inferred from asynchronous operation used here
210 |                 } while stream.avail_out == 0
211 |             }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:229:46: error: cannot pass function of type '(UnsafeMutableRawBufferPointer) async throws -> ()' to parameter expecting synchronous function type
227 |             var chunk = try await provider(position, bufferSize)
228 |             position += Int64(chunk.count)
229 |             try chunk.withUnsafeMutableBytes { (rawBufferPointer) in
    |                                              `- error: cannot pass function of type '(UnsafeMutableRawBufferPointer) async throws -> ()' to parameter expecting synchronous function type
230 |                 if let baseAddress = rawBufferPointer.baseAddress, rawBufferPointer.count > 0 {
231 |                     let pointer = baseAddress.assumingMemoryBound(to: UInt8.self)
    :
250 |                         let remainingLength = UInt32(bufferSize) - stream.avail_out
251 |                         outputData.count = Int(remainingLength)
252 |                         try await consumer(outputData)
    |                             `- note: 'async' inferred from asynchronous operation used here
253 |                         if !skipCRC32 { unzipCRC32 = outputData.crc32(checksum: unzipCRC32) }
254 |                     } while stream.avail_out == 0
[64/123] Emitting module Zip
BUILD FAILURE 6.2 linux