The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftZlib, reference main (4b5538), with Swift 6.1 for Linux on 27 Nov 2025 18:20:55 UTC.

Swift 6 data race errors: 12

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-zlib.git
Reference: main
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/Kosikowski/swift-zlib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4b5538d Bump actions/checkout from 5 to 6 (#24)
Cloned https://github.com/Kosikowski/swift-zlib.git
Revision (git rev-parse @):
4b5538df3f457c1180895f81ae180d4016ae1dcc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kosikowski/swift-zlib.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kosikowski/swift-zlib.git
https://github.com/Kosikowski/swift-zlib.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftZlib",
  "name" : "SwiftZlib",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftZlib",
      "targets" : [
        "SwiftZlib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftZlibCLI",
      "targets" : [
        "SwiftZlibCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftZlibTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftZlibTests",
      "path" : "Tests/SwiftZlibTests",
      "sources" : [
        "Advanced/AdvancedFeaturesTests.swift",
        "Advanced/AdvancedUtilityTests.swift",
        "Advanced/AsyncStreamTests.swift",
        "Advanced/DictionaryTests.swift",
        "Advanced/GzipHeaderTests.swift",
        "Advanced/InflateBackTests.swift",
        "Advanced/PrimeTests.swift",
        "Advanced/WindowBitsTests.swift",
        "Concurrency/CancellationTests.swift",
        "Concurrency/ConcurrencyTests.swift",
        "Core/CompressorCancellationTests.swift",
        "Core/CompressorTests.swift",
        "Core/DecompressorCancellationTests.swift",
        "Core/DecompressorTests.swift",
        "Core/MemoryLeakTests.swift",
        "Core/StreamTests.swift",
        "Core/ZLibTests.swift",
        "EdgeCases/EdgeCaseErrorHandlingTests.swift",
        "EdgeCases/UtilityTests.swift",
        "ErrorHandling/ErrorHandlingTests.swift",
        "Extensions/AdvancedExtensionsTests.swift",
        "Extensions/DataExtensionsTests.swift",
        "Extensions/StringExtensionsTests.swift",
        "FileOperations/FileChunkedCompressorTests.swift",
        "FileOperations/FileOperationsTests.swift",
        "FileOperations/SimpleFileOperationsTests.swift",
        "Performance/PerformanceTests.swift",
        "Streaming/StreamingTests.swift"
      ],
      "target_dependencies" : [
        "SwiftZlib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftZlibCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftZlibCLI",
      "path" : "Sources/SwiftZlibCLI",
      "product_memberships" : [
        "SwiftZlibCLI"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftZlib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftZlib",
      "module_type" : "SwiftTarget",
      "name" : "SwiftZlib",
      "path" : "Sources/SwiftZlib",
      "product_memberships" : [
        "SwiftZlib",
        "SwiftZlibCLI"
      ],
      "sources" : [
        "API/Data+Extensions.swift",
        "API/String+Extensions.swift",
        "API/ZLib+Async.swift",
        "API/ZLib+AsyncStream.swift",
        "API/ZLib+Combine.swift",
        "API/ZLib+File.swift",
        "API/ZLib+FileChunked.swift",
        "API/ZLib+Stream.swift",
        "API/ZLib.swift",
        "API/ZLibErrorCode.swift",
        "Async/AsyncCompressor.swift",
        "Async/AsyncDecompressor.swift",
        "Async/AsyncZLibStream.swift",
        "Async/AsyncZLibStreamBuilder.swift",
        "Core/Compression/Compression.swift",
        "Core/Compression/CompressionLevel.swift",
        "Core/Compression/CompressionMethod.swift",
        "Core/Compression/CompressionPhase.swift",
        "Core/Compression/CompressionStrategy.swift",
        "Core/Compression/Compressor.swift",
        "Core/Compression/Decompressor.swift",
        "Core/Compression/InflateBackDecompressors/BaseInflateBackDecompressor.swift",
        "Core/Compression/InflateBackDecompressors/DecompressorType.swift",
        "Core/Compression/InflateBackDecompressors/EnhancedInflateBackDecompressor.swift",
        "Core/Compression/InflateBackDecompressors/InflateBackDecompressorCBridged.swift",
        "Core/FlushMode.swift",
        "Core/GzipHeader.swift",
        "Core/Logging.swift",
        "Core/MemoryLevel.swift",
        "Core/Stream/StreamingConfig.swift",
        "Core/Stream/StreamingDecompressor.swift",
        "Core/Stream/ZLibStreamBuilder.swift",
        "Core/Timer.swift",
        "Core/WindowBits.swift",
        "Core/ZLibError.swift",
        "Core/ZLibStatus.swift",
        "Core/ZLibStream.swift",
        "FileOperations/ChunkedProcessor.swift",
        "FileOperations/FileChunkedCompressor.swift",
        "FileOperations/FileChunkedDecompressor.swift",
        "FileOperations/FileCompressor.swift",
        "FileOperations/FileDecompressor.swift",
        "FileOperations/FileProcessor.swift",
        "FileOperations/GzipFile.swift",
        "FileOperations/GzipFileError.swift",
        "FileOperations/SimpleFileCompressor.swift",
        "FileOperations/SimpleFileDecompressor.swift"
      ],
      "target_dependencies" : [
        "CZLib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CZLib",
      "module_type" : "ClangTarget",
      "name" : "CZLib",
      "path" : "Sources/CZLib",
      "product_memberships" : [
        "SwiftZlib",
        "SwiftZlibCLI"
      ],
      "sources" : [
        "adler32.c",
        "compress.c",
        "crc32.c",
        "deflate.c",
        "gzclose.c",
        "gzlib.c",
        "gzread.c",
        "gzwrite.c",
        "infback.c",
        "inffast.c",
        "inflate.c",
        "inftrees.c",
        "trees.c",
        "uncompr.c",
        "zlib_shim.c",
        "zutil.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/23] Compiling CZLib adler32.c
[1/23] Compiling CZLib compress.c
[2/23] Write sources
[4/23] Compiling CZLib gzlib.c
[5/23] Compiling CZLib gzwrite.c
[6/23] Compiling CZLib gzread.c
[7/23] Compiling CZLib crc32.c
[8/23] Compiling CZLib infback.c
[9/23] Compiling CZLib uncompr.c
[10/23] Compiling CZLib deflate.c
[11/23] Compiling CZLib zutil.c
[12/23] Compiling CZLib zlib_shim.c
[13/23] Compiling CZLib inftrees.c
[14/23] Compiling CZLib trees.c
[15/23] Compiling CZLib inffast.c
[16/23] Compiling CZLib gzclose.c
[17/23] Compiling CZLib inflate.c
[18/23] Write swift-version-24593BA9C3E375BF.txt
[20/66] Compiling SwiftZlib ZLibStream.swift
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:318:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
231 |         -> AsyncThrowingStream<ProgressInfo, Error>
232 |     {
233 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
234 |             var task: Task<Void, Never>?
235 |         }
    :
316 |
317 |             continuation.onTermination = { _ in
318 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
319 |             }
320 |         }
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:249:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
240 |         -> AsyncThrowingStream<ProgressInfo, Error>
241 |     {
242 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
243 |             var task: Task<Void, Never>?
244 |         }
    :
247 |         let stream = AsyncThrowingStream<ProgressInfo, Error> { continuation in
248 |             continuation.onTermination = { @Sendable reason in
249 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
250 |             }
251 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:239:32: 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
237 |
238 |         return AsyncThrowingStream<ProgressInfo, Error> { continuation in
239 |             holder.task = Task {
    |                                `- 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
240 |                 do {
241 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
242 |                     defer { try? input.close() }
243 |                     try wrapFileError {
    |                         `- note: closure captures 'self' which is accessible to code in the current task
244 |                         guard FileManager.default.createFile(atPath: destinationPath, contents: nil) else {
245 |                             throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError, userInfo: [
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:280:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
278 |                             timestamp: now
279 |                         )
280 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
281 |                     }
282 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:252:32: 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
250 |             }
251 |
252 |             holder.task = Task {
    |                                `- 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
253 |                 do {
254 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
    :
263 |
264 |                     let decompressor = Decompressor()
265 |                     try decompressor.initializeAdvanced(windowBits: windowBits)
    |                                                                     `- note: closure captures 'self' which is accessible to code in the current task
266 |
267 |                     let totalBytes: Int
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:300:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
298 |                             timestamp: now
299 |                         )
300 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
301 |                     }
302 |
[21/66] Compiling SwiftZlib ChunkedProcessor.swift
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:318:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
231 |         -> AsyncThrowingStream<ProgressInfo, Error>
232 |     {
233 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
234 |             var task: Task<Void, Never>?
235 |         }
    :
316 |
317 |             continuation.onTermination = { _ in
318 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
319 |             }
320 |         }
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:249:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
240 |         -> AsyncThrowingStream<ProgressInfo, Error>
241 |     {
242 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
243 |             var task: Task<Void, Never>?
244 |         }
    :
247 |         let stream = AsyncThrowingStream<ProgressInfo, Error> { continuation in
248 |             continuation.onTermination = { @Sendable reason in
249 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
250 |             }
251 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:239:32: 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
237 |
238 |         return AsyncThrowingStream<ProgressInfo, Error> { continuation in
239 |             holder.task = Task {
    |                                `- 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
240 |                 do {
241 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
242 |                     defer { try? input.close() }
243 |                     try wrapFileError {
    |                         `- note: closure captures 'self' which is accessible to code in the current task
244 |                         guard FileManager.default.createFile(atPath: destinationPath, contents: nil) else {
245 |                             throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError, userInfo: [
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:280:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
278 |                             timestamp: now
279 |                         )
280 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
281 |                     }
282 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:252:32: 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
250 |             }
251 |
252 |             holder.task = Task {
    |                                `- 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
253 |                 do {
254 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
    :
263 |
264 |                     let decompressor = Decompressor()
265 |                     try decompressor.initializeAdvanced(windowBits: windowBits)
    |                                                                     `- note: closure captures 'self' which is accessible to code in the current task
266 |
267 |                     let totalBytes: Int
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:300:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
298 |                             timestamp: now
299 |                         )
300 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
301 |                     }
302 |
[22/66] Compiling SwiftZlib FileChunkedCompressor.swift
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:318:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
231 |         -> AsyncThrowingStream<ProgressInfo, Error>
232 |     {
233 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
234 |             var task: Task<Void, Never>?
235 |         }
    :
316 |
317 |             continuation.onTermination = { _ in
318 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
319 |             }
320 |         }
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:249:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
240 |         -> AsyncThrowingStream<ProgressInfo, Error>
241 |     {
242 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
243 |             var task: Task<Void, Never>?
244 |         }
    :
247 |         let stream = AsyncThrowingStream<ProgressInfo, Error> { continuation in
248 |             continuation.onTermination = { @Sendable reason in
249 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
250 |             }
251 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:239:32: 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
237 |
238 |         return AsyncThrowingStream<ProgressInfo, Error> { continuation in
239 |             holder.task = Task {
    |                                `- 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
240 |                 do {
241 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
242 |                     defer { try? input.close() }
243 |                     try wrapFileError {
    |                         `- note: closure captures 'self' which is accessible to code in the current task
244 |                         guard FileManager.default.createFile(atPath: destinationPath, contents: nil) else {
245 |                             throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError, userInfo: [
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:280:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
278 |                             timestamp: now
279 |                         )
280 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
281 |                     }
282 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:252:32: 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
250 |             }
251 |
252 |             holder.task = Task {
    |                                `- 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
253 |                 do {
254 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
    :
263 |
264 |                     let decompressor = Decompressor()
265 |                     try decompressor.initializeAdvanced(windowBits: windowBits)
    |                                                                     `- note: closure captures 'self' which is accessible to code in the current task
266 |
267 |                     let totalBytes: Int
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:300:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
298 |                             timestamp: now
299 |                         )
300 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
301 |                     }
302 |
[23/66] Compiling SwiftZlib FileChunkedDecompressor.swift
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:318:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
231 |         -> AsyncThrowingStream<ProgressInfo, Error>
232 |     {
233 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
234 |             var task: Task<Void, Never>?
235 |         }
    :
316 |
317 |             continuation.onTermination = { _ in
318 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
319 |             }
320 |         }
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:249:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
240 |         -> AsyncThrowingStream<ProgressInfo, Error>
241 |     {
242 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
243 |             var task: Task<Void, Never>?
244 |         }
    :
247 |         let stream = AsyncThrowingStream<ProgressInfo, Error> { continuation in
248 |             continuation.onTermination = { @Sendable reason in
249 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
250 |             }
251 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:239:32: 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
237 |
238 |         return AsyncThrowingStream<ProgressInfo, Error> { continuation in
239 |             holder.task = Task {
    |                                `- 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
240 |                 do {
241 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
242 |                     defer { try? input.close() }
243 |                     try wrapFileError {
    |                         `- note: closure captures 'self' which is accessible to code in the current task
244 |                         guard FileManager.default.createFile(atPath: destinationPath, contents: nil) else {
245 |                             throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError, userInfo: [
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:280:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
278 |                             timestamp: now
279 |                         )
280 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
281 |                     }
282 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:252:32: 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
250 |             }
251 |
252 |             holder.task = Task {
    |                                `- 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
253 |                 do {
254 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
    :
263 |
264 |                     let decompressor = Decompressor()
265 |                     try decompressor.initializeAdvanced(windowBits: windowBits)
    |                                                                     `- note: closure captures 'self' which is accessible to code in the current task
266 |
267 |                     let totalBytes: Int
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:300:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
298 |                             timestamp: now
299 |                         )
300 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
301 |                     }
302 |
[24/66] Compiling SwiftZlib FileCompressor.swift
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:318:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
231 |         -> AsyncThrowingStream<ProgressInfo, Error>
232 |     {
233 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
234 |             var task: Task<Void, Never>?
235 |         }
    :
316 |
317 |             continuation.onTermination = { _ in
318 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
319 |             }
320 |         }
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:249:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
240 |         -> AsyncThrowingStream<ProgressInfo, Error>
241 |     {
242 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
243 |             var task: Task<Void, Never>?
244 |         }
    :
247 |         let stream = AsyncThrowingStream<ProgressInfo, Error> { continuation in
248 |             continuation.onTermination = { @Sendable reason in
249 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
250 |             }
251 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:239:32: 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
237 |
238 |         return AsyncThrowingStream<ProgressInfo, Error> { continuation in
239 |             holder.task = Task {
    |                                `- 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
240 |                 do {
241 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
242 |                     defer { try? input.close() }
243 |                     try wrapFileError {
    |                         `- note: closure captures 'self' which is accessible to code in the current task
244 |                         guard FileManager.default.createFile(atPath: destinationPath, contents: nil) else {
245 |                             throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError, userInfo: [
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:280:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
278 |                             timestamp: now
279 |                         )
280 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
281 |                     }
282 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:252:32: 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
250 |             }
251 |
252 |             holder.task = Task {
    |                                `- 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
253 |                 do {
254 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
    :
263 |
264 |                     let decompressor = Decompressor()
265 |                     try decompressor.initializeAdvanced(windowBits: windowBits)
    |                                                                     `- note: closure captures 'self' which is accessible to code in the current task
266 |
267 |                     let totalBytes: Int
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:300:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
298 |                             timestamp: now
299 |                         )
300 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
301 |                     }
302 |
[25/66] Compiling SwiftZlib FileDecompressor.swift
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:318:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
231 |         -> AsyncThrowingStream<ProgressInfo, Error>
232 |     {
233 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
234 |             var task: Task<Void, Never>?
235 |         }
    :
316 |
317 |             continuation.onTermination = { _ in
318 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
319 |             }
320 |         }
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:249:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
240 |         -> AsyncThrowingStream<ProgressInfo, Error>
241 |     {
242 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
243 |             var task: Task<Void, Never>?
244 |         }
    :
247 |         let stream = AsyncThrowingStream<ProgressInfo, Error> { continuation in
248 |             continuation.onTermination = { @Sendable reason in
249 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
250 |             }
251 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:239:32: 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
237 |
238 |         return AsyncThrowingStream<ProgressInfo, Error> { continuation in
239 |             holder.task = Task {
    |                                `- 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
240 |                 do {
241 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
242 |                     defer { try? input.close() }
243 |                     try wrapFileError {
    |                         `- note: closure captures 'self' which is accessible to code in the current task
244 |                         guard FileManager.default.createFile(atPath: destinationPath, contents: nil) else {
245 |                             throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError, userInfo: [
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:280:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
278 |                             timestamp: now
279 |                         )
280 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
281 |                     }
282 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:252:32: 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
250 |             }
251 |
252 |             holder.task = Task {
    |                                `- 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
253 |                 do {
254 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
    :
263 |
264 |                     let decompressor = Decompressor()
265 |                     try decompressor.initializeAdvanced(windowBits: windowBits)
    |                                                                     `- note: closure captures 'self' which is accessible to code in the current task
266 |
267 |                     let totalBytes: Int
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:300:38: warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
298 |                             timestamp: now
299 |                         )
300 |                         continuation.yield(info)
    |                                      |- warning: sending 'info' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'info' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
301 |                     }
302 |
[26/71] Compiling SwiftZlib StreamingDecompressor.swift
[27/71] Compiling SwiftZlib ZLibStreamBuilder.swift
[28/71] Compiling SwiftZlib Timer.swift
[29/71] Compiling SwiftZlib WindowBits.swift
[30/71] Compiling SwiftZlib ZLibError.swift
[31/71] Compiling SwiftZlib ZLibStatus.swift
[32/71] Compiling SwiftZlib ZLib+FileChunked.swift
[33/71] Compiling SwiftZlib ZLib+Stream.swift
[34/71] Compiling SwiftZlib ZLib.swift
[35/71] Compiling SwiftZlib ZLibErrorCode.swift
[36/71] Compiling SwiftZlib AsyncCompressor.swift
[37/71] Compiling SwiftZlib AsyncDecompressor.swift
[38/71] Emitting module SwiftZlib
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:42:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Enable verbose logging
 42 |     public static var enabled: Bool = false
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Enable detailed stream state logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:45:23: warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Enable detailed stream state logging
 45 |     public static var logStreamState: Bool = false
    |                       |- warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logStreamState' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logStreamState' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /// Enable compression/decompression progress logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:48:23: warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     /// Enable compression/decompression progress logging
 48 |     public static var logProgress: Bool = false
    |                       |- warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProgress' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 |     /// Enable memory allocation logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:51:23: warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 |     /// Enable memory allocation logging
 51 |     public static var logMemory: Bool = false
    |                       |- warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMemory' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMemory' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     /// Enable error detailed logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:54:23: warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 |     /// Enable error detailed logging
 54 |     public static var logErrors: Bool = false
    |                       |- warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logErrors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logErrors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |
 56 |     /// Enable performance timing
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:57:23: warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |
 56 |     /// Enable performance timing
 57 |     public static var logTiming: Bool = false
    |                       |- warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logTiming' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logTiming' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |     /// Current minimum log level
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:60:23: warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     /// Current minimum log level
 60 |     public static var minLogLevel: LogLevel = .info
    |                       |- warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'minLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'minLogLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     /// Custom log handler
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:63:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |
 62 |     /// Custom log handler
 63 |     public static var logHandler: ((LogLevel, String) -> Void)?
    |                       |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Static Functions
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:318:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
231 |         -> AsyncThrowingStream<ProgressInfo, Error>
232 |     {
233 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
234 |             var task: Task<Void, Never>?
235 |         }
    :
316 |
317 |             continuation.onTermination = { _ in
318 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
319 |             }
320 |         }
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:249:17: warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
240 |         -> AsyncThrowingStream<ProgressInfo, Error>
241 |     {
242 |         final class TaskHolder {
    |                     `- note: class 'TaskHolder' does not conform to the 'Sendable' protocol
243 |             var task: Task<Void, Never>?
244 |         }
    :
247 |         let stream = AsyncThrowingStream<ProgressInfo, Error> { continuation in
248 |             continuation.onTermination = { @Sendable reason in
249 |                 holder.task?.cancel()
    |                 `- warning: capture of 'holder' with non-sendable type 'TaskHolder' in a '@Sendable' closure; this is an error in the Swift 6 language mode
250 |             }
251 |
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedCompressor.swift:239:32: 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
237 |
238 |         return AsyncThrowingStream<ProgressInfo, Error> { continuation in
239 |             holder.task = Task {
    |                                `- 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
240 |                 do {
241 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
242 |                     defer { try? input.close() }
243 |                     try wrapFileError {
    |                         `- note: closure captures 'self' which is accessible to code in the current task
244 |                         guard FileManager.default.createFile(atPath: destinationPath, contents: nil) else {
245 |                             throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError, userInfo: [
/host/spi-builder-workspace/Sources/SwiftZlib/FileOperations/FileChunkedDecompressor.swift:252:32: 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
250 |             }
251 |
252 |             holder.task = Task {
    |                                `- 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
253 |                 do {
254 |                     let input = try FileHandle(forReadingFrom: URL(fileURLWithPath: sourcePath))
    :
263 |
264 |                     let decompressor = Decompressor()
265 |                     try decompressor.initializeAdvanced(windowBits: windowBits)
    |                                                                     `- note: closure captures 'self' which is accessible to code in the current task
266 |
267 |                     let totalBytes: Int
[39/71] Compiling SwiftZlib Data+Extensions.swift
[40/71] Compiling SwiftZlib String+Extensions.swift
[41/71] Compiling SwiftZlib ZLib+Async.swift
[42/71] Compiling SwiftZlib ZLib+AsyncStream.swift
[43/71] Compiling SwiftZlib ZLib+Combine.swift
[44/71] Compiling SwiftZlib ZLib+File.swift
[45/71] Compiling SwiftZlib AsyncZLibStream.swift
[46/71] Compiling SwiftZlib AsyncZLibStreamBuilder.swift
[47/71] Compiling SwiftZlib Compression.swift
[48/71] Compiling SwiftZlib CompressionLevel.swift
[49/71] Compiling SwiftZlib CompressionMethod.swift
[50/71] Compiling SwiftZlib CompressionPhase.swift
[51/71] Compiling SwiftZlib CompressionStrategy.swift
[52/71] Compiling SwiftZlib Compressor.swift
[53/71] Compiling SwiftZlib Decompressor.swift
[54/71] Compiling SwiftZlib BaseInflateBackDecompressor.swift
[55/71] Compiling SwiftZlib DecompressorType.swift
[56/71] Compiling SwiftZlib EnhancedInflateBackDecompressor.swift
[57/71] Compiling SwiftZlib InflateBackDecompressorCBridged.swift
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:42:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Enable verbose logging
 42 |     public static var enabled: Bool = false
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Enable detailed stream state logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:45:23: warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Enable detailed stream state logging
 45 |     public static var logStreamState: Bool = false
    |                       |- warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logStreamState' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logStreamState' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /// Enable compression/decompression progress logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:48:23: warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     /// Enable compression/decompression progress logging
 48 |     public static var logProgress: Bool = false
    |                       |- warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProgress' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 |     /// Enable memory allocation logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:51:23: warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 |     /// Enable memory allocation logging
 51 |     public static var logMemory: Bool = false
    |                       |- warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMemory' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMemory' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     /// Enable error detailed logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:54:23: warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 |     /// Enable error detailed logging
 54 |     public static var logErrors: Bool = false
    |                       |- warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logErrors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logErrors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |
 56 |     /// Enable performance timing
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:57:23: warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |
 56 |     /// Enable performance timing
 57 |     public static var logTiming: Bool = false
    |                       |- warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logTiming' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logTiming' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |     /// Current minimum log level
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:60:23: warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     /// Current minimum log level
 60 |     public static var minLogLevel: LogLevel = .info
    |                       |- warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'minLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'minLogLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     /// Custom log handler
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:63:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |
 62 |     /// Custom log handler
 63 |     public static var logHandler: ((LogLevel, String) -> Void)?
    |                       |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Static Functions
[58/71] Compiling SwiftZlib FlushMode.swift
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:42:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Enable verbose logging
 42 |     public static var enabled: Bool = false
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Enable detailed stream state logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:45:23: warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Enable detailed stream state logging
 45 |     public static var logStreamState: Bool = false
    |                       |- warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logStreamState' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logStreamState' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /// Enable compression/decompression progress logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:48:23: warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     /// Enable compression/decompression progress logging
 48 |     public static var logProgress: Bool = false
    |                       |- warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProgress' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 |     /// Enable memory allocation logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:51:23: warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 |     /// Enable memory allocation logging
 51 |     public static var logMemory: Bool = false
    |                       |- warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMemory' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMemory' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     /// Enable error detailed logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:54:23: warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 |     /// Enable error detailed logging
 54 |     public static var logErrors: Bool = false
    |                       |- warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logErrors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logErrors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |
 56 |     /// Enable performance timing
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:57:23: warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |
 56 |     /// Enable performance timing
 57 |     public static var logTiming: Bool = false
    |                       |- warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logTiming' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logTiming' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |     /// Current minimum log level
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:60:23: warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     /// Current minimum log level
 60 |     public static var minLogLevel: LogLevel = .info
    |                       |- warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'minLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'minLogLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     /// Custom log handler
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:63:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |
 62 |     /// Custom log handler
 63 |     public static var logHandler: ((LogLevel, String) -> Void)?
    |                       |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Static Functions
[59/71] Compiling SwiftZlib GzipHeader.swift
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:42:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Enable verbose logging
 42 |     public static var enabled: Bool = false
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Enable detailed stream state logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:45:23: warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Enable detailed stream state logging
 45 |     public static var logStreamState: Bool = false
    |                       |- warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logStreamState' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logStreamState' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /// Enable compression/decompression progress logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:48:23: warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     /// Enable compression/decompression progress logging
 48 |     public static var logProgress: Bool = false
    |                       |- warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProgress' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 |     /// Enable memory allocation logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:51:23: warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 |     /// Enable memory allocation logging
 51 |     public static var logMemory: Bool = false
    |                       |- warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMemory' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMemory' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     /// Enable error detailed logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:54:23: warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 |     /// Enable error detailed logging
 54 |     public static var logErrors: Bool = false
    |                       |- warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logErrors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logErrors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |
 56 |     /// Enable performance timing
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:57:23: warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |
 56 |     /// Enable performance timing
 57 |     public static var logTiming: Bool = false
    |                       |- warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logTiming' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logTiming' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |     /// Current minimum log level
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:60:23: warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     /// Current minimum log level
 60 |     public static var minLogLevel: LogLevel = .info
    |                       |- warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'minLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'minLogLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     /// Custom log handler
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:63:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |
 62 |     /// Custom log handler
 63 |     public static var logHandler: ((LogLevel, String) -> Void)?
    |                       |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Static Functions
[60/71] Compiling SwiftZlib Logging.swift
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:42:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Enable verbose logging
 42 |     public static var enabled: Bool = false
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Enable detailed stream state logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:45:23: warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Enable detailed stream state logging
 45 |     public static var logStreamState: Bool = false
    |                       |- warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logStreamState' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logStreamState' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /// Enable compression/decompression progress logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:48:23: warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     /// Enable compression/decompression progress logging
 48 |     public static var logProgress: Bool = false
    |                       |- warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProgress' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 |     /// Enable memory allocation logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:51:23: warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 |     /// Enable memory allocation logging
 51 |     public static var logMemory: Bool = false
    |                       |- warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMemory' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMemory' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     /// Enable error detailed logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:54:23: warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 |     /// Enable error detailed logging
 54 |     public static var logErrors: Bool = false
    |                       |- warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logErrors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logErrors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |
 56 |     /// Enable performance timing
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:57:23: warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |
 56 |     /// Enable performance timing
 57 |     public static var logTiming: Bool = false
    |                       |- warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logTiming' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logTiming' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |     /// Current minimum log level
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:60:23: warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     /// Current minimum log level
 60 |     public static var minLogLevel: LogLevel = .info
    |                       |- warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'minLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'minLogLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     /// Custom log handler
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:63:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |
 62 |     /// Custom log handler
 63 |     public static var logHandler: ((LogLevel, String) -> Void)?
    |                       |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Static Functions
[61/71] Compiling SwiftZlib MemoryLevel.swift
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:42:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Enable verbose logging
 42 |     public static var enabled: Bool = false
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Enable detailed stream state logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:45:23: warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Enable detailed stream state logging
 45 |     public static var logStreamState: Bool = false
    |                       |- warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logStreamState' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logStreamState' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /// Enable compression/decompression progress logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:48:23: warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     /// Enable compression/decompression progress logging
 48 |     public static var logProgress: Bool = false
    |                       |- warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProgress' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 |     /// Enable memory allocation logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:51:23: warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 |     /// Enable memory allocation logging
 51 |     public static var logMemory: Bool = false
    |                       |- warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMemory' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMemory' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     /// Enable error detailed logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:54:23: warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 |     /// Enable error detailed logging
 54 |     public static var logErrors: Bool = false
    |                       |- warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logErrors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logErrors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |
 56 |     /// Enable performance timing
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:57:23: warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |
 56 |     /// Enable performance timing
 57 |     public static var logTiming: Bool = false
    |                       |- warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logTiming' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logTiming' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |     /// Current minimum log level
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:60:23: warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     /// Current minimum log level
 60 |     public static var minLogLevel: LogLevel = .info
    |                       |- warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'minLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'minLogLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     /// Custom log handler
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:63:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |
 62 |     /// Custom log handler
 63 |     public static var logHandler: ((LogLevel, String) -> Void)?
    |                       |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Static Functions
[62/71] Compiling SwiftZlib StreamingConfig.swift
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:42:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Enable verbose logging
 42 |     public static var enabled: Bool = false
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Enable detailed stream state logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:45:23: warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     /// Enable detailed stream state logging
 45 |     public static var logStreamState: Bool = false
    |                       |- warning: static property 'logStreamState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logStreamState' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logStreamState' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /// Enable compression/decompression progress logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:48:23: warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     /// Enable compression/decompression progress logging
 48 |     public static var logProgress: Bool = false
    |                       |- warning: static property 'logProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProgress' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProgress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |
 50 |     /// Enable memory allocation logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:51:23: warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |
 50 |     /// Enable memory allocation logging
 51 |     public static var logMemory: Bool = false
    |                       |- warning: static property 'logMemory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logMemory' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logMemory' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     /// Enable error detailed logging
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:54:23: warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 |     /// Enable error detailed logging
 54 |     public static var logErrors: Bool = false
    |                       |- warning: static property 'logErrors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logErrors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logErrors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |
 56 |     /// Enable performance timing
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:57:23: warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |
 56 |     /// Enable performance timing
 57 |     public static var logTiming: Bool = false
    |                       |- warning: static property 'logTiming' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logTiming' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logTiming' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |     /// Current minimum log level
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:60:23: warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     /// Current minimum log level
 60 |     public static var minLogLevel: LogLevel = .info
    |                       |- warning: static property 'minLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'minLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'minLogLevel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     /// Custom log handler
/host/spi-builder-workspace/Sources/SwiftZlib/Core/Logging.swift:63:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |
 62 |     /// Custom log handler
 63 |     public static var logHandler: ((LogLevel, String) -> Void)?
    |                       |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |
 65 |     // MARK: Static Functions
[63/71] Compiling SwiftZlib FileProcessor.swift
[64/71] Compiling SwiftZlib GzipFile.swift
[65/71] Compiling SwiftZlib GzipFileError.swift
[66/71] Compiling SwiftZlib SimpleFileCompressor.swift
[67/71] Compiling SwiftZlib SimpleFileDecompressor.swift
[68/72] Wrapping AST for SwiftZlib for debugging
[70/74] Emitting module SwiftZlibCLI
[71/74] Compiling SwiftZlibCLI main.swift
/host/spi-builder-workspace/Sources/SwiftZlibCLI/main.swift:575:12: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
573 |
574 |     print("\r📦 [\(bar)] \(String(format: "%.1f", percentage))% (\(String(format: "%.1f", processedMB))/\(String(format: "%.1f", totalMB)) MB) \(String(format: "%.1f", speedMB)) MB/s ETA: \(etaString)", terminator: "")
575 |     fflush(stdout)
    |            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
576 | }
577 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[72/75] Wrapping AST for SwiftZlibCLI for debugging
[73/75] Write Objects.LinkFileList
[74/75] Linking SwiftZlibCLI
Build complete! (15.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftZlib",
  "name" : "SwiftZlib",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftZlib",
      "targets" : [
        "SwiftZlib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftZlibCLI",
      "targets" : [
        "SwiftZlibCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftZlibTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftZlibTests",
      "path" : "Tests/SwiftZlibTests",
      "sources" : [
        "Advanced/AdvancedFeaturesTests.swift",
        "Advanced/AdvancedUtilityTests.swift",
        "Advanced/AsyncStreamTests.swift",
        "Advanced/DictionaryTests.swift",
        "Advanced/GzipHeaderTests.swift",
        "Advanced/InflateBackTests.swift",
        "Advanced/PrimeTests.swift",
        "Advanced/WindowBitsTests.swift",
        "Concurrency/CancellationTests.swift",
        "Concurrency/ConcurrencyTests.swift",
        "Core/CompressorCancellationTests.swift",
        "Core/CompressorTests.swift",
        "Core/DecompressorCancellationTests.swift",
        "Core/DecompressorTests.swift",
        "Core/MemoryLeakTests.swift",
        "Core/StreamTests.swift",
        "Core/ZLibTests.swift",
        "EdgeCases/EdgeCaseErrorHandlingTests.swift",
        "EdgeCases/UtilityTests.swift",
        "ErrorHandling/ErrorHandlingTests.swift",
        "Extensions/AdvancedExtensionsTests.swift",
        "Extensions/DataExtensionsTests.swift",
        "Extensions/StringExtensionsTests.swift",
        "FileOperations/FileChunkedCompressorTests.swift",
        "FileOperations/FileOperationsTests.swift",
        "FileOperations/SimpleFileOperationsTests.swift",
        "Performance/PerformanceTests.swift",
        "Streaming/StreamingTests.swift"
      ],
      "target_dependencies" : [
        "SwiftZlib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftZlibCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftZlibCLI",
      "path" : "Sources/SwiftZlibCLI",
      "product_memberships" : [
        "SwiftZlibCLI"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftZlib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftZlib",
      "module_type" : "SwiftTarget",
      "name" : "SwiftZlib",
      "path" : "Sources/SwiftZlib",
      "product_memberships" : [
        "SwiftZlib",
        "SwiftZlibCLI"
      ],
      "sources" : [
        "API/Data+Extensions.swift",
        "API/String+Extensions.swift",
        "API/ZLib+Async.swift",
        "API/ZLib+AsyncStream.swift",
        "API/ZLib+Combine.swift",
        "API/ZLib+File.swift",
        "API/ZLib+FileChunked.swift",
        "API/ZLib+Stream.swift",
        "API/ZLib.swift",
        "API/ZLibErrorCode.swift",
        "Async/AsyncCompressor.swift",
        "Async/AsyncDecompressor.swift",
        "Async/AsyncZLibStream.swift",
        "Async/AsyncZLibStreamBuilder.swift",
        "Core/Compression/Compression.swift",
        "Core/Compression/CompressionLevel.swift",
        "Core/Compression/CompressionMethod.swift",
        "Core/Compression/CompressionPhase.swift",
        "Core/Compression/CompressionStrategy.swift",
        "Core/Compression/Compressor.swift",
        "Core/Compression/Decompressor.swift",
        "Core/Compression/InflateBackDecompressors/BaseInflateBackDecompressor.swift",
        "Core/Compression/InflateBackDecompressors/DecompressorType.swift",
        "Core/Compression/InflateBackDecompressors/EnhancedInflateBackDecompressor.swift",
        "Core/Compression/InflateBackDecompressors/InflateBackDecompressorCBridged.swift",
        "Core/FlushMode.swift",
        "Core/GzipHeader.swift",
        "Core/Logging.swift",
        "Core/MemoryLevel.swift",
        "Core/Stream/StreamingConfig.swift",
        "Core/Stream/StreamingDecompressor.swift",
        "Core/Stream/ZLibStreamBuilder.swift",
        "Core/Timer.swift",
        "Core/WindowBits.swift",
        "Core/ZLibError.swift",
        "Core/ZLibStatus.swift",
        "Core/ZLibStream.swift",
        "FileOperations/ChunkedProcessor.swift",
        "FileOperations/FileChunkedCompressor.swift",
        "FileOperations/FileChunkedDecompressor.swift",
        "FileOperations/FileCompressor.swift",
        "FileOperations/FileDecompressor.swift",
        "FileOperations/FileProcessor.swift",
        "FileOperations/GzipFile.swift",
        "FileOperations/GzipFileError.swift",
        "FileOperations/SimpleFileCompressor.swift",
        "FileOperations/SimpleFileDecompressor.swift"
      ],
      "target_dependencies" : [
        "CZLib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CZLib",
      "module_type" : "ClangTarget",
      "name" : "CZLib",
      "path" : "Sources/CZLib",
      "product_memberships" : [
        "SwiftZlib",
        "SwiftZlibCLI"
      ],
      "sources" : [
        "adler32.c",
        "compress.c",
        "crc32.c",
        "deflate.c",
        "gzclose.c",
        "gzlib.c",
        "gzread.c",
        "gzwrite.c",
        "infback.c",
        "inffast.c",
        "inflate.c",
        "inftrees.c",
        "trees.c",
        "uncompr.c",
        "zlib_shim.c",
        "zutil.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.