Build Information
Failed to build ReadiumZIPFoundation, reference 3.0.1 (adb49c), with Swift 6.3 for Linux on 17 Apr 2026 11:50:17 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/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readium/ZIPFoundation.git
Reference: 3.0.1
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/ZIPFoundation
* tag 3.0.1 -> FETCH_HEAD
HEAD is now at adb49c8 3.0.1 (#15)
Cloned https://github.com/readium/ZIPFoundation.git
Revision (git rev-parse @):
adb49c8bfe060cc187370b12fa081012a6440b86
SUCCESS checkout https://github.com/readium/ZIPFoundation.git at 3.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/readium/ZIPFoundation.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/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/19] Emitting module ReadiumZIPFoundation
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'UnsafeMutablePointer' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | extension FILEPointer: @unchecked @retroactive Sendable {}
21 | #else
22 | extension FILEPointer: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'UnsafeMutablePointer' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | #endif
24 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Serialization.swift:22:35: warning: conformance of 'UnsafeMutablePointer<Pointee>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
20 | extension FILEPointer: @unchecked @retroactive Sendable {}
21 | #else
22 | extension FILEPointer: @unchecked Sendable {}
| `- warning: conformance of 'UnsafeMutablePointer<Pointee>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
23 | #endif
24 |
Swift.UnsafeMutablePointer:2:11: note: 'UnsafeMutablePointer<Pointee>' declares conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension UnsafeMutablePointer : Sendable where Pointee : ~Copyable {
| `- note: 'UnsafeMutablePointer<Pointee>' declares conformance to protocol 'Sendable' here
3 | }
[4/21] Compiling ReadiumZIPFoundation Data+Serialization.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'UnsafeMutablePointer' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | extension FILEPointer: @unchecked @retroactive Sendable {}
21 | #else
22 | extension FILEPointer: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'UnsafeMutablePointer' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | #endif
24 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Serialization.swift:22:35: warning: conformance of 'UnsafeMutablePointer<Pointee>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
20 | extension FILEPointer: @unchecked @retroactive Sendable {}
21 | #else
22 | extension FILEPointer: @unchecked Sendable {}
| `- warning: conformance of 'UnsafeMutablePointer<Pointee>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
23 | #endif
24 |
Swift.UnsafeMutablePointer:2:11: note: 'UnsafeMutablePointer<Pointee>' declares conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension UnsafeMutablePointer : Sendable where Pointee : ~Copyable {
| `- note: 'UnsafeMutablePointer<Pointee>' declares conformance to protocol 'Sendable' here
3 | }
[5/21] Compiling ReadiumZIPFoundation DataSource.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'UnsafeMutablePointer' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
20 | extension FILEPointer: @unchecked @retroactive Sendable {}
21 | #else
22 | extension FILEPointer: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'UnsafeMutablePointer' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | #endif
24 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Serialization.swift:22:35: warning: conformance of 'UnsafeMutablePointer<Pointee>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
20 | extension FILEPointer: @unchecked @retroactive Sendable {}
21 | #else
22 | extension FILEPointer: @unchecked Sendable {}
| `- warning: conformance of 'UnsafeMutablePointer<Pointee>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
23 | #endif
24 |
Swift.UnsafeMutablePointer:2:11: note: 'UnsafeMutablePointer<Pointee>' declares conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension UnsafeMutablePointer : Sendable where Pointee : ~Copyable {
| `- note: 'UnsafeMutablePointer<Pointee>' declares conformance to protocol 'Sendable' here
3 | }
[6/21] Compiling ReadiumZIPFoundation Archive+Reading.swift
[7/21] Compiling ReadiumZIPFoundation Archive+Writing.swift
[8/21] Compiling ReadiumZIPFoundation Archive+ZIP64.swift
[9/21] Compiling ReadiumZIPFoundation Archive+BackingConfiguration.swift
[10/21] Compiling ReadiumZIPFoundation Archive+Helpers.swift
[11/21] Compiling ReadiumZIPFoundation Archive+Progress.swift
[12/21] Compiling ReadiumZIPFoundation Archive.swift
/host/spi-builder-workspace/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/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
[13/21] Compiling ReadiumZIPFoundation Data+Compression.swift
/host/spi-builder-workspace/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/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
[14/21] Compiling ReadiumZIPFoundation Date+ZIP.swift
[15/21] Compiling ReadiumZIPFoundation Entry+Serialization.swift
[16/21] Compiling ReadiumZIPFoundation SharedMutableValue.swift
[17/21] Compiling ReadiumZIPFoundation URL+ZIP.swift
[18/21] Compiling ReadiumZIPFoundation Entry+ZIP64.swift
[19/21] Compiling ReadiumZIPFoundation Entry.swift
[20/21] Compiling ReadiumZIPFoundation FileDataSource.swift
[21/21] Compiling ReadiumZIPFoundation FileManager+ZIP.swift
BUILD FAILURE 6.3 linux