The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ReadiumZIPFoundation, reference 3.0.0 (175c38), with Swift 6.0 for Linux on 7 Mar 2025 15:42:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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.0
Building package at path:  $PWD
https://github.com/readium/ZIPFoundation.git
https://github.com/readium/ZIPFoundation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ReadiumZIPFoundation",
  "name" : "ReadiumZIPFoundation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ReadiumZIPFoundation",
      "targets" : [
        "ReadiumZIPFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ReadiumZIPFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "ReadiumZIPFoundationTests",
      "path" : "Tests",
      "sources" : [
        "ZIPFoundationTests/ZIPFoundationArchiveTests+ZIP64.swift",
        "ZIPFoundationTests/ZIPFoundationArchiveTests.swift",
        "ZIPFoundationTests/ZIPFoundationDataSerializationTests.swift",
        "ZIPFoundationTests/ZIPFoundationEntryTests+ZIP64.swift",
        "ZIPFoundationTests/ZIPFoundationEntryTests.swift",
        "ZIPFoundationTests/ZIPFoundationErrorConditionTests+ZIP64.swift",
        "ZIPFoundationTests/ZIPFoundationErrorConditionTests.swift",
        "ZIPFoundationTests/ZIPFoundationFileAttributeTests.swift",
        "ZIPFoundationTests/ZIPFoundationFileManagerTests+ZIP64.swift",
        "ZIPFoundationTests/ZIPFoundationFileManagerTests.swift",
        "ZIPFoundationTests/ZIPFoundationPerformanceTests.swift",
        "ZIPFoundationTests/ZIPFoundationProgressTests.swift",
        "ZIPFoundationTests/ZIPFoundationReadingTests+ZIP64.swift",
        "ZIPFoundationTests/ZIPFoundationReadingTests.swift",
        "ZIPFoundationTests/ZIPFoundationTests.swift",
        "ZIPFoundationTests/ZIPFoundationWritingTests+ZIP64.swift",
        "ZIPFoundationTests/ZIPFoundationWritingTests.swift"
      ],
      "target_dependencies" : [
        "ReadiumZIPFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ReadiumZIPFoundation",
      "module_type" : "SwiftTarget",
      "name" : "ReadiumZIPFoundation",
      "path" : "Sources/ZIPFoundation",
      "product_memberships" : [
        "ReadiumZIPFoundation"
      ],
      "sources" : [
        "Archive+BackingConfiguration.swift",
        "Archive+Helpers.swift",
        "Archive+Progress.swift",
        "Archive+Reading.swift",
        "Archive+Writing.swift",
        "Archive+ZIP64.swift",
        "Archive.swift",
        "Data+Compression.swift",
        "Data+Serialization.swift",
        "DataSource.swift",
        "Date+ZIP.swift",
        "Entry+Serialization.swift",
        "Entry+ZIP64.swift",
        "Entry.swift",
        "FileDataSource.swift",
        "FileManager+ZIP.swift",
        "SharedMutableValue.swift",
        "URL+ZIP.swift"
      ],
      "target_dependencies" : [
        "CZLib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CZLib",
      "module_type" : "SystemLibraryTarget",
      "name" : "CZLib",
      "path" : "Sources/CZLib",
      "product_memberships" : [
        "ReadiumZIPFoundation"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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 |
[4/21] Compiling ReadiumZIPFoundation SharedMutableValue.swift
[5/21] Compiling ReadiumZIPFoundation URL+ZIP.swift
[6/21] Compiling ReadiumZIPFoundation FileDataSource.swift
[7/21] Compiling ReadiumZIPFoundation FileManager+ZIP.swift
[8/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 |
[9/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 |
[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 Date+ZIP.swift
[13/21] Compiling ReadiumZIPFoundation Entry+Serialization.swift
[14/21] Compiling ReadiumZIPFoundation Archive+Reading.swift
[15/21] Compiling ReadiumZIPFoundation Archive+Writing.swift
[16/21] Compiling ReadiumZIPFoundation Archive+ZIP64.swift
[17/21] Compiling ReadiumZIPFoundation Entry+ZIP64.swift
[18/21] Compiling ReadiumZIPFoundation Entry.swift
[19/21] Compiling ReadiumZIPFoundation Archive+BackingConfiguration.swift
[20/21] Compiling ReadiumZIPFoundation Archive+Helpers.swift
[21/21] Compiling ReadiumZIPFoundation Archive+Progress.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': found 72 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testProgressHelpers.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCorruptFileErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipUncompressedZIP64Item.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddCompressedEntry.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedDataDescriptorArchive.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedEntryCancelation.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddUncompressedEntry.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testPOSIXPermissions.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testSymlinkModificationDateTransferErrorConditions.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipItem.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testSymlinkPermissionsTransferErrorConditions.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryFromArchiveWithZIP64EOCD.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemWithPreferredEncoding.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testPathDelimiterTraversalAttack.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddUncompressedEntryProgress.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddSymbolicLink.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testEntryIsCompressed.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItem.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractEncryptedArchiveErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCRC32Check.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCRC32Calculation.data
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveZIP64EntryFromArchiveWithZIP64EOCD.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedEmptyFile.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testSimpleTraversalAttack.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testDetectEntryType.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZIP64ArchiveAddEntryProgress.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddEntryErrorConditions.txt
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedFolderEntries.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddCompressedEntryProgress.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipItemProgress.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testInvalidCompressionMethodErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZIP64ArchiveAddEntryProgress.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateZIP64ArchiveAddUncompressedEntry.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipUncompressedZIP64Item.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveDataDescriptorCompressedEntry.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddEntryErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemProgress.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testAddEntryToArchiveWithZIP64LFHOffset.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedFolderEntriesFromMemory.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedZIP64Entries.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipUncontainedSymlink.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedDataDescriptorArchive.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddCompressedEntryProgress.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCorruptSymbolicLinkErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractInvalidBufferSizeErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddZeroSizeUncompressedEntry.txt
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddCompressedEntryToMemory.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractPreferredEncoding.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveUncompressedEntry.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryProgress.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedZIP64Entries.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddZeroSizeCompressedEntry.txt
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUpdateArchiveRemoveUncompressedEntryFromMemory.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipCompressedZIP64Item.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractEntryWithZIP64DataDescriptor.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemErrorConditions.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipCompressedZIP64Item.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddUncompressedEntryToMemory.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedEntryCancelation.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddUncompressedEntryProgress.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testFileModificationDate.png
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemWithZIP64DataDescriptor.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveIteratorErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testAddDirectoryToArchiveWithZIP64LFHOffset.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractErrorConditions.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedFolderEntriesFromMemory.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedFolderEntries.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveCompressedEntry.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractMSDOSArchive.zip
    /host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryWithZIP64ExtendedInformation.zip
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] 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 |
[3/20] Compiling ReadiumZIPFoundation SharedMutableValue.swift
[4/20] Compiling ReadiumZIPFoundation URL+ZIP.swift
[5/20] Compiling ReadiumZIPFoundation Archive+BackingConfiguration.swift
[6/20] Compiling ReadiumZIPFoundation Archive+Helpers.swift
[7/20] Compiling ReadiumZIPFoundation Archive+Progress.swift
[8/20] Compiling ReadiumZIPFoundation Date+ZIP.swift
[9/20] Compiling ReadiumZIPFoundation Entry+Serialization.swift
[10/20] 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 |
[11/20] 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 |
[12/20] Compiling ReadiumZIPFoundation FileDataSource.swift
[13/20] Compiling ReadiumZIPFoundation FileManager+ZIP.swift
[14/20] Compiling ReadiumZIPFoundation Entry+ZIP64.swift
[15/20] Compiling ReadiumZIPFoundation Entry.swift
[16/20] 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
[17/20] 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
[18/20] Compiling ReadiumZIPFoundation Archive+Reading.swift
[19/20] Compiling ReadiumZIPFoundation Archive+Writing.swift
[20/20] Compiling ReadiumZIPFoundation Archive+ZIP64.swift
BUILD FAILURE 6.0 linux