The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NVHTarGzip-Swift, reference main (b55dce), with Swift 6.1 for macOS (SPM) on 8 Jan 2026 10:52:54 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roxx990/NVHTarGzip-Swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/roxx990/NVHTarGzip-Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b55dce4 Change function access level to public
Cloned https://github.com/roxx990/NVHTarGzip-Swift.git
Revision (git rev-parse @):
b55dce4a87c9a364959b60ef9a21dc7938373bfd
SUCCESS checkout https://github.com/roxx990/NVHTarGzip-Swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/roxx990/NVHTarGzip-Swift.git
https://github.com/roxx990/NVHTarGzip-Swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NVHTarGzip-Swift",
  "name" : "NVHTarGzip-Swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "NVHTarGzip-Swift",
      "targets" : [
        "NVHTarGzip_Swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "NVHTarGzip_SwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "NVHTarGzip_SwiftTests",
      "path" : "Tests/NVHTarGzip_SwiftTests",
      "sources" : [
        "NVHTarGzip_SwiftTests.swift"
      ],
      "target_dependencies" : [
        "NVHTarGzip_Swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NVHTarGzip_Swift",
      "module_type" : "SwiftTarget",
      "name" : "NVHTarGzip_Swift",
      "path" : "Sources/NVHTarGzip_Swift",
      "product_memberships" : [
        "NVHTarGzip-Swift"
      ],
      "sources" : [
        "Constants.swift",
        "NVHFile.swift",
        "NVHGzipFile.swift",
        "NVHProgress.swift",
        "NVHTarFile.swift",
        "NVHTarGzip.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling NVHTarGzip_Swift Constants.swift
[4/9] Compiling NVHTarGzip_Swift NVHTarFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHTarFile.swift:29:21: warning: capture of 'self' with non-sendable type 'NVHTarFile' in a '@Sendable' closure
 13 | import Foundation
 14 |
 15 | public class NVHTarFile: NVHFile {
    |              `- note: class 'NVHTarFile' does not conform to the 'Sendable' protocol
 16 |     private var completedVirtualUnitCount: Int64 = 0
 17 |
    :
 27 |         DispatchQueue.global().async {
 28 |             do {
 29 |                 try self.innerCreateFilesAndDirectories(atPath: destinationPath)
    |                     `- warning: capture of 'self' with non-sendable type 'NVHTarFile' in a '@Sendable' closure
 30 |                 DispatchQueue.main.async {
 31 |                     completion(nil)
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHTarFile.swift:31:21: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
 29 |                 try self.innerCreateFilesAndDirectories(atPath: destinationPath)
 30 |                 DispatchQueue.main.async {
 31 |                     completion(nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 32 |                 }
 33 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHTarFile.swift:196:21: warning: capture of 'self' with non-sendable type 'NVHTarFile' in a '@Sendable' closure
 13 | import Foundation
 14 |
 15 | public class NVHTarFile: NVHFile {
    |              `- note: class 'NVHTarFile' does not conform to the 'Sendable' protocol
 16 |     private var completedVirtualUnitCount: Int64 = 0
 17 |
    :
194 |         DispatchQueue.global().async {
195 |             do {
196 |                 try self.innerPackFilesAndDirectories(atPath: sourcePath)
    |                     `- warning: capture of 'self' with non-sendable type 'NVHTarFile' in a '@Sendable' closure
197 |                 DispatchQueue.main.async {
198 |                     completion(nil)
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHTarFile.swift:198:21: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
196 |                 try self.innerPackFilesAndDirectories(atPath: sourcePath)
197 |                 DispatchQueue.main.async {
198 |                     completion(nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
199 |                 }
200 |             } catch {
[5/9] Compiling NVHTarGzip_Swift NVHFile.swift
[6/9] Compiling NVHTarGzip_Swift NVHProgress.swift
[7/9] Compiling NVHTarGzip_Swift NVHTarGzip.swift
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHTarGzip.swift:16:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NVHTarGzip' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | import Foundation
 14 |
 15 | public class NVHTarGzip {
    |              `- note: class 'NVHTarGzip' does not conform to the 'Sendable' protocol
 16 |     public static let shared = NVHTarGzip()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NVHTarGzip' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     private init() {}
[8/9] Compiling NVHTarGzip_Swift NVHGzipFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHGzipFile.swift:38:21: warning: capture of 'self' with non-sendable type 'NVHGzipFile' in a '@Sendable' closure
 25 | }
 26 |
 27 | public class NVHGzipFile: NVHFile {
    |              `- note: class 'NVHGzipFile' does not conform to the 'Sendable' protocol
 28 |
 29 |     func inflate(toPath destinationPath: String) throws {
    :
 36 |         DispatchQueue.global().async {
 37 |             do {
 38 |                 try self.innerInflate(toPath: destinationPath)
    |                     `- warning: capture of 'self' with non-sendable type 'NVHGzipFile' in a '@Sendable' closure
 39 |                 DispatchQueue.main.async {
 40 |                     completion(nil)
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHGzipFile.swift:40:21: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
 38 |                 try self.innerInflate(toPath: destinationPath)
 39 |                 DispatchQueue.main.async {
 40 |                     completion(nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 41 |                 }
 42 |             } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHGzipFile.swift:79:50: warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer
 77 |         let mode = "rb".cString(using: .utf8)!
 78 |
 79 |         let sourceGzFile = gzopen(sourceCString, UnsafePointer(mode))
    |                                                  |             |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |             `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                                  `- warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer
 80 |
 81 |         let bufferLength = 1024 * 256
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHGzipFile.swift:122:21: warning: capture of 'self' with non-sendable type 'NVHGzipFile' in a '@Sendable' closure
 25 | }
 26 |
 27 | public class NVHGzipFile: NVHFile {
    |              `- note: class 'NVHGzipFile' does not conform to the 'Sendable' protocol
 28 |
 29 |     func inflate(toPath destinationPath: String) throws {
    :
120 |         DispatchQueue.global().async {
121 |             do {
122 |                 try self.innerDeflate(fromPath: sourcePath)
    |                     `- warning: capture of 'self' with non-sendable type 'NVHGzipFile' in a '@Sendable' closure
123 |                 DispatchQueue.main.async {
124 |                     completion(nil)
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHGzipFile.swift:124:21: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
122 |                 try self.innerDeflate(fromPath: sourcePath)
123 |                 DispatchQueue.main.async {
124 |                     completion(nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
125 |                 }
126 |             } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHGzipFile.swift:161:60: warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer
159 |         let mode = "wb".cString(using: .utf8)!
160 |
161 |         let destinationGzFile = gzopen(destinationCString, UnsafePointer(mode))
    |                                                            |             |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                            |             `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                                            `- warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer
162 |
163 |         let bufferLength = 1024 * 256
[9/9] Emitting module NVHTarGzip_Swift
/Users/admin/builder/spi-builder-workspace/Sources/NVHTarGzip_Swift/NVHTarGzip.swift:16:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NVHTarGzip' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | import Foundation
 14 |
 15 | public class NVHTarGzip {
    |              `- note: class 'NVHTarGzip' does not conform to the 'Sendable' protocol
 16 |     public static let shared = NVHTarGzip()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NVHTarGzip' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     private init() {}
Build complete! (5.08s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NVHTarGzip-Swift",
  "name" : "NVHTarGzip-Swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "NVHTarGzip-Swift",
      "targets" : [
        "NVHTarGzip_Swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "NVHTarGzip_SwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "NVHTarGzip_SwiftTests",
      "path" : "Tests/NVHTarGzip_SwiftTests",
      "sources" : [
        "NVHTarGzip_SwiftTests.swift"
      ],
      "target_dependencies" : [
        "NVHTarGzip_Swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NVHTarGzip_Swift",
      "module_type" : "SwiftTarget",
      "name" : "NVHTarGzip_Swift",
      "path" : "Sources/NVHTarGzip_Swift",
      "product_memberships" : [
        "NVHTarGzip-Swift"
      ],
      "sources" : [
        "Constants.swift",
        "NVHFile.swift",
        "NVHGzipFile.swift",
        "NVHProgress.swift",
        "NVHTarFile.swift",
        "NVHTarGzip.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.