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

Successful build of ZipPinch, reference main (74a941), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 03:19:08 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buh/ZipPinch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/buh/ZipPinch
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 74a9411 Fix in progress
Cloned https://github.com/buh/ZipPinch.git
Revision (git rev-parse @):
74a941152478977bc98d5747908e31268653ea31
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/buh/ZipPinch.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "zippinch",
      "name": "ZipPinch",
      "url": "https://github.com/buh/ZipPinch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZipPinch",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/buh/ZipPinch.git
[1/570] Fetching zippinch
Fetched https://github.com/buh/ZipPinch.git from cache (0.85s)
Creating working copy for https://github.com/buh/ZipPinch.git
Working copy of https://github.com/buh/ZipPinch.git resolved at main (74a9411)
warning: '.resolve-product-dependencies': dependency 'zippinch' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/buh/ZipPinch.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ZipPinch",
  "name" : "ZipPinch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "ZipPinch",
      "targets" : [
        "ZipPinch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZipPinchTests",
      "module_type" : "SwiftTarget",
      "name" : "ZipPinchTests",
      "path" : "Tests/ZipPinchTests",
      "sources" : [
        "ArchiveTests.swift"
      ],
      "target_dependencies" : [
        "ZipPinch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ZipPinch",
      "module_type" : "SwiftTarget",
      "name" : "ZipPinch",
      "path" : "Sources/ZipPinch",
      "product_memberships" : [
        "ZipPinch"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "URLSession+ZIPEntries.swift",
        "URLSession+ZIPEntry.swift",
        "URLSession+ZIPFolder.swift",
        "URLSession+ZIPRange.swift",
        "ZIPCompressor.swift",
        "ZIPEntry.swift",
        "ZIPFileFormat/BinaryExtractor.swift",
        "ZIPFileFormat/Date+MSDOS.swift",
        "ZIPFileFormat/ZIPDirectoryRecord.swift",
        "ZIPFileFormat/ZIPEndRecord.swift",
        "ZIPFileFormat/ZIPFileHeader.swift",
        "ZIPFolder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/16] Compiling ZipPinch ZIPEndRecord.swift
[5/16] Compiling ZipPinch ZIPFolder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPFolder.swift:26:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | import Foundation
 24 |
 25 | public struct ZIPFolder: Identifiable, Hashable, Equatable {
    |               `- note: consider making struct 'ZIPFolder' conform to the 'Sendable' protocol
 26 |     public static let empty = ZIPFolder(name: "")
    |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 |     public let id = UUID()
[6/16] Compiling ZipPinch ZIPFileHeader.swift
[7/17] Compiling ZipPinch ZIPDirectoryRecord.swift
[8/17] Compiling ZipPinch URLSession+ZIPEntries.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:114:13: warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
112 |         }
113 |
114 |         var dataOffset = fileHeader.dataOffset
    |             `- warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
115 |
116 |         if entry.isZIP64 {
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPCompressor.swift:27:23: warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Decompressor.
26 | public enum ZIPDecompressor {
27 |     public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
   |                       |- warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'decompress' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'decompress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         try $0.decompressed(using: .zlib)
29 |     }
[9/17] Compiling ZipPinch URLSession+ZIPEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:114:13: warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
112 |         }
113 |
114 |         var dataOffset = fileHeader.dataOffset
    |             `- warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
115 |
116 |         if entry.isZIP64 {
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPCompressor.swift:27:23: warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Decompressor.
26 | public enum ZIPDecompressor {
27 |     public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
   |                       |- warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'decompress' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'decompress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         try $0.decompressed(using: .zlib)
29 |     }
[10/17] Compiling ZipPinch BinaryExtractor.swift
[11/17] Compiling ZipPinch Date+MSDOS.swift
[12/17] Compiling ZipPinch ZIPCompressor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPCompressor.swift:27:23: warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Decompressor.
26 | public enum ZIPDecompressor {
27 |     public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
   |                       |- warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'decompress' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'decompress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         try $0.decompressed(using: .zlib)
29 |     }
[13/17] Compiling ZipPinch ZIPEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPCompressor.swift:27:23: warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Decompressor.
26 | public enum ZIPDecompressor {
27 |     public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
   |                       |- warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'decompress' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'decompress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         try $0.decompressed(using: .zlib)
29 |     }
[14/17] Compiling ZipPinch URLSession+ZIPFolder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:80:19: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 78 |         progress: ZIPProgress? = nil
 79 |     ) async throws -> [(entry: ZIPEntry, data: Data)] {
 80 |         try await withThrowingTaskGroup(of: (entry: ZIPEntry, data: Data).self) { taskGroup in
    |                   `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |             let overallProgress = OverallProgress(count: Double(entries.count))
 82 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:80:81: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 78 |         progress: ZIPProgress? = nil
 79 |     ) async throws -> [(entry: ZIPEntry, data: Data)] {
 80 |         try await withThrowingTaskGroup(of: (entry: ZIPEntry, data: Data).self) { taskGroup in
    |                                                                                 `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |             let overallProgress = OverallProgress(count: Double(entries.count))
 82 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:95:27: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 93 |                 }
 94 |
 95 |                 taskGroup.addTask(priority: .medium) { [progressPerEntry] in
    |                           `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 96 |                     (entry, try await self.zipEntryData(
 97 |                         entry,
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:105:40: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |             }
104 |
105 |             return try await taskGroup.reduce(into: [(entry: ZIPEntry, data: Data)]()) { partialResult, value in
    |                                        `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 |                 partialResult.append(value)
107 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:105:88: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |             }
104 |
105 |             return try await taskGroup.reduce(into: [(entry: ZIPEntry, data: Data)]()) { partialResult, value in
    |                                                                                        `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 |                 partialResult.append(value)
107 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:105:88: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |             }
104 |
105 |             return try await taskGroup.reduce(into: [(entry: ZIPEntry, data: Data)]()) { partialResult, value in
    |                                                                                        `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 |                 partialResult.append(value)
107 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:89:99: warning: capture of 'entry' with non-sendable type 'ZIPEntry' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                     progressPerEntry = .init(bufferSize: progress.bufferSize) { value in
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
    |                                                                                                   `- warning: capture of 'entry' with non-sendable type 'ZIPEntry' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 90 |                             progress.callback(overallValue)
 91 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:90:29: warning: capture of 'progress' with non-sendable type 'ZIPProgress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
 90 |                             progress.callback(overallValue)
    |                             `- warning: capture of 'progress' with non-sendable type 'ZIPProgress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |                         }
 92 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:27:15: note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 25 | /// Progress callback container.
 26 | /// It can be configured for buffer size, which will affect how often the callback is invoked.
 27 | public struct ZIPProgress {
    |               `- note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 28 |     /// A number of bytes of the buffer, which will affect how often the callback is invoked.
 29 |     /// It can be greater than or equal to 64 Kb (default value).
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:89:99: warning: capture of 'entry' with non-sendable type 'ZIPEntry' in an isolated closure; this is an error in the Swift 6 language mode
 87 |                     progressPerEntry = .init(bufferSize: progress.bufferSize) { value in
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
    |                                                                                                   `- warning: capture of 'entry' with non-sendable type 'ZIPEntry' in an isolated closure; this is an error in the Swift 6 language mode
 90 |                             progress.callback(overallValue)
 91 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:90:29: warning: capture of 'progress' with non-sendable type 'ZIPProgress' in an isolated closure; this is an error in the Swift 6 language mode
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
 90 |                             progress.callback(overallValue)
    |                             `- warning: capture of 'progress' with non-sendable type 'ZIPProgress' in an isolated closure; this is an error in the Swift 6 language mode
 91 |                         }
 92 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:27:15: note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 25 | /// Progress callback container.
 26 | /// It can be configured for buffer size, which will affect how often the callback is invoked.
 27 | public struct ZIPProgress {
    |               `- note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 28 |     /// A number of bytes of the buffer, which will affect how often the callback is invoked.
 29 |     /// It can be greater than or equal to 64 Kb (default value).
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:95:54: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |                 }
 94 |
 95 |                 taskGroup.addTask(priority: .medium) { [progressPerEntry] in
    |                                                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |                     (entry, try await self.zipEntryData(
    |                      `- note: closure captures non-Sendable 'entry'
 97 |                         entry,
 98 |                         for: request,
 99 |                         delegate: delegate,
100 |                         progress: progressPerEntry
    |                                   `- note: closure captures non-Sendable 'progressPerEntry'
101 |                     ))
102 |                 }
[15/17] Compiling ZipPinch URLSession+ZIPRange.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:80:19: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 78 |         progress: ZIPProgress? = nil
 79 |     ) async throws -> [(entry: ZIPEntry, data: Data)] {
 80 |         try await withThrowingTaskGroup(of: (entry: ZIPEntry, data: Data).self) { taskGroup in
    |                   `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |             let overallProgress = OverallProgress(count: Double(entries.count))
 82 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:80:81: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 78 |         progress: ZIPProgress? = nil
 79 |     ) async throws -> [(entry: ZIPEntry, data: Data)] {
 80 |         try await withThrowingTaskGroup(of: (entry: ZIPEntry, data: Data).self) { taskGroup in
    |                                                                                 `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |             let overallProgress = OverallProgress(count: Double(entries.count))
 82 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:95:27: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 93 |                 }
 94 |
 95 |                 taskGroup.addTask(priority: .medium) { [progressPerEntry] in
    |                           `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 96 |                     (entry, try await self.zipEntryData(
 97 |                         entry,
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:105:40: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |             }
104 |
105 |             return try await taskGroup.reduce(into: [(entry: ZIPEntry, data: Data)]()) { partialResult, value in
    |                                        `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 |                 partialResult.append(value)
107 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:105:88: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |             }
104 |
105 |             return try await taskGroup.reduce(into: [(entry: ZIPEntry, data: Data)]()) { partialResult, value in
    |                                                                                        `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 |                 partialResult.append(value)
107 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:105:88: warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |             }
104 |
105 |             return try await taskGroup.reduce(into: [(entry: ZIPEntry, data: Data)]()) { partialResult, value in
    |                                                                                        `- warning: type 'ZIPEntry' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 |                 partialResult.append(value)
107 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:89:99: warning: capture of 'entry' with non-sendable type 'ZIPEntry' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 87 |                     progressPerEntry = .init(bufferSize: progress.bufferSize) { value in
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
    |                                                                                                   `- warning: capture of 'entry' with non-sendable type 'ZIPEntry' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 90 |                             progress.callback(overallValue)
 91 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:90:29: warning: capture of 'progress' with non-sendable type 'ZIPProgress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
 90 |                             progress.callback(overallValue)
    |                             `- warning: capture of 'progress' with non-sendable type 'ZIPProgress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |                         }
 92 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:27:15: note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 25 | /// Progress callback container.
 26 | /// It can be configured for buffer size, which will affect how often the callback is invoked.
 27 | public struct ZIPProgress {
    |               `- note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 28 |     /// A number of bytes of the buffer, which will affect how often the callback is invoked.
 29 |     /// It can be greater than or equal to 64 Kb (default value).
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:89:99: warning: capture of 'entry' with non-sendable type 'ZIPEntry' in an isolated closure; this is an error in the Swift 6 language mode
 87 |                     progressPerEntry = .init(bufferSize: progress.bufferSize) { value in
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
    |                                                                                                   `- warning: capture of 'entry' with non-sendable type 'ZIPEntry' in an isolated closure; this is an error in the Swift 6 language mode
 90 |                             progress.callback(overallValue)
 91 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPEntry.swift:31:15: note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
29 |
30 | /// The ZIP entry.
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
   |               `- note: consider making struct 'ZIPEntry' conform to the 'Sendable' protocol
32 |     public let id: String
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:90:29: warning: capture of 'progress' with non-sendable type 'ZIPProgress' in an isolated closure; this is an error in the Swift 6 language mode
 88 |                         Task {
 89 |                             let overallValue = await overallProgress.overallValue(for: value, id: entry.filePath)
 90 |                             progress.callback(overallValue)
    |                             `- warning: capture of 'progress' with non-sendable type 'ZIPProgress' in an isolated closure; this is an error in the Swift 6 language mode
 91 |                         }
 92 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:27:15: note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 25 | /// Progress callback container.
 26 | /// It can be configured for buffer size, which will affect how often the callback is invoked.
 27 | public struct ZIPProgress {
    |               `- note: consider making struct 'ZIPProgress' conform to the 'Sendable' protocol
 28 |     /// A number of bytes of the buffer, which will affect how often the callback is invoked.
 29 |     /// It can be greater than or equal to 64 Kb (default value).
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:95:54: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |                 }
 94 |
 95 |                 taskGroup.addTask(priority: .medium) { [progressPerEntry] in
    |                                                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |                     (entry, try await self.zipEntryData(
    |                      `- note: closure captures non-Sendable 'entry'
 97 |                         entry,
 98 |                         for: request,
 99 |                         delegate: delegate,
100 |                         progress: progressPerEntry
    |                                   `- note: closure captures non-Sendable 'progressPerEntry'
101 |                     ))
102 |                 }
[16/17] Emitting module ZipPinch
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPCompressor.swift:27:23: warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Decompressor.
26 | public enum ZIPDecompressor {
27 |     public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
   |                       |- warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'decompress' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'decompress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         try $0.decompressed(using: .zlib)
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/ZIPFolder.swift:26:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
 23 | import Foundation
 24 |
 25 | public struct ZIPFolder: Identifiable, Hashable, Equatable {
    |               `- note: consider making struct 'ZIPFolder' conform to the 'Sendable' protocol
 26 |     public static let empty = ZIPFolder(name: "")
    |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 |     public let id = UUID()
[17/17] Compiling ZipPinch resource_bundle_accessor.swift
Build complete! (13.73s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ZipPinch",
  "name" : "ZipPinch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "ZipPinch",
      "targets" : [
        "ZipPinch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZipPinchTests",
      "module_type" : "SwiftTarget",
      "name" : "ZipPinchTests",
      "path" : "Tests/ZipPinchTests",
      "sources" : [
        "ArchiveTests.swift"
      ],
      "target_dependencies" : [
        "ZipPinch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ZipPinch",
      "module_type" : "SwiftTarget",
      "name" : "ZipPinch",
      "path" : "Sources/ZipPinch",
      "product_memberships" : [
        "ZipPinch"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "URLSession+ZIPEntries.swift",
        "URLSession+ZIPEntry.swift",
        "URLSession+ZIPFolder.swift",
        "URLSession+ZIPRange.swift",
        "ZIPCompressor.swift",
        "ZIPEntry.swift",
        "ZIPFileFormat/BinaryExtractor.swift",
        "ZIPFileFormat/Date+MSDOS.swift",
        "ZIPFileFormat/ZIPDirectoryRecord.swift",
        "ZIPFileFormat/ZIPEndRecord.swift",
        "ZIPFileFormat/ZIPFileHeader.swift",
        "ZIPFolder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/buh/zippinch/main
Repository:               buh/ZipPinch
Swift version used:       6.0
Target:                   ZipPinch
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'ZipPinch'...
Finished extracting symbol information for 'ZipPinch'. (3.09s)
Building documentation for 'ZipPinch'...
Finished building documentation for 'ZipPinch' (0.10s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/buh/zippinch/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3187] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Emitting module SymbolKit
[10/57] Compiling SymbolKit Symbol.swift
[11/57] Compiling SymbolKit SymbolKind.swift
[12/57] Compiling SymbolKit SymbolGraph.swift
[13/57] Compiling SymbolKit GraphCollector.swift
[14/57] Compiling SymbolKit SemanticVersion.swift
[15/57] Compiling SymbolKit AccessControl.swift
[16/57] Compiling SymbolKit Availability.swift
[17/57] Compiling SymbolKit AvailabilityItem.swift
[18/57] Compiling SymbolKit Domain.swift
[19/57] Compiling SymbolKit DeclarationFragments.swift
[20/57] Compiling SymbolKit Fragment.swift
[21/57] Compiling SymbolKit FragmentKind.swift
[22/57] Compiling SymbolKit FunctionParameter.swift
[23/57] Compiling SymbolKit FunctionSignature.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit Names.swift
[30/57] Compiling SymbolKit SPI.swift
[31/57] Compiling SymbolKit Snippet.swift
[32/57] Compiling SymbolKit Extension.swift
[33/57] Compiling SymbolKit SourceRange.swift
[34/57] Compiling SymbolKit Metadata.swift
[35/57] Compiling SymbolKit Module.swift
[36/57] Compiling SymbolKit OperatingSystem.swift
[37/57] Compiling SymbolKit Platform.swift
[38/57] Compiling SymbolKit Identifier.swift
[39/57] Compiling SymbolKit KindIdentifier.swift
[40/57] Compiling SymbolKit Location.swift
[41/57] Compiling SymbolKit Mutability.swift
[42/57] Compiling SymbolKit GenericConstraint.swift
[43/57] Compiling SymbolKit GenericParameter.swift
[44/57] Compiling SymbolKit Generics.swift
[45/57] Compiling SymbolKit Namespace.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.13s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/14] Compiling ZipPinch ZIPEndRecord.swift
[3/14] Compiling ZipPinch ZIPFileHeader.swift
[4/14] Compiling ZipPinch BinaryExtractor.swift
[5/14] Compiling ZipPinch ZIPCompressor.swift
[6/14] Compiling ZipPinch ZIPEntry.swift
[7/14] Compiling ZipPinch Date+MSDOS.swift
[8/14] Compiling ZipPinch ZIPDirectoryRecord.swift
[9/15] Compiling ZipPinch URLSession+ZIPFolder.swift
[10/15] Compiling ZipPinch URLSession+ZIPRange.swift
[11/15] Compiling ZipPinch ZIPFolder.swift
[12/15] Emitting module ZipPinch
[13/15] Compiling ZipPinch URLSession+ZIPEntries.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:114:13: warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
112 |         }
113 |
114 |         var dataOffset = fileHeader.dataOffset
    |             `- warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
115 |
116 |         if entry.isZIP64 {
[14/15] Compiling ZipPinch URLSession+ZIPEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:114:13: warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
112 |         }
113 |
114 |         var dataOffset = fileHeader.dataOffset
    |             `- warning: initialization of variable 'dataOffset' was never used; consider replacing with assignment to '_' or removing it
115 |
116 |         if entry.isZIP64 {
[15/15] Compiling ZipPinch resource_bundle_accessor.swift
Build of target: 'ZipPinch' complete! (1.24s)
     170
2	/Users/admin/builder/spi-builder-workspace/.docs/buh/zippinch/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/buh/zippinch/main
File count: 170
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-buh-zippinch-main-65954791.zip to s3://spi-docs-inbox/prod-buh-zippinch-main-65954791.zip
Copying... [15%]
Copying... [29%]
Copying... [44%]
Copying... [58%]
Copying... [73%]
Copying... [87%]
Copying... [100%]
Done.