Build Information
Failed to build ReadiumZIPFoundation, reference 3.0.0 (175c38
), with Swift 6.2 (beta) for Linux on 23 Jun 2025 06:45:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readium/ZIPFoundation.git
Reference: 3.0.0
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.0 -> FETCH_HEAD
HEAD is now at 175c389 3.0.0 (#13)
Cloned https://github.com/readium/ZIPFoundation.git
Revision (git rev-parse @):
175c389832d90cb0e992b2cb9d5d7878eccfe725
SUCCESS checkout https://github.com/readium/ZIPFoundation.git at 3.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/readium/ZIPFoundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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] Compiling ReadiumZIPFoundation FileDataSource.swift
[4/19] Compiling ReadiumZIPFoundation FileManager+ZIP.swift
[5/19] Compiling ReadiumZIPFoundation Date+ZIP.swift
[6/19] Compiling ReadiumZIPFoundation Entry+Serialization.swift
[7/21] 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 | }
[8/21] Compiling ReadiumZIPFoundation Entry+ZIP64.swift
[9/21] Compiling ReadiumZIPFoundation Entry.swift
[10/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
[11/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
[12/21] Compiling ReadiumZIPFoundation Archive+Reading.swift
[13/21] Compiling ReadiumZIPFoundation Archive+Writing.swift
[14/21] Compiling ReadiumZIPFoundation Archive+ZIP64.swift
[15/21] Compiling ReadiumZIPFoundation Archive+BackingConfiguration.swift
[16/21] Compiling ReadiumZIPFoundation Archive+Helpers.swift
[17/21] Compiling ReadiumZIPFoundation Archive+Progress.swift
[18/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 | }
[19/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 | }
[20/21] Compiling ReadiumZIPFoundation SharedMutableValue.swift
[21/21] Compiling ReadiumZIPFoundation URL+ZIP.swift
BUILD FAILURE 6.2 linux