The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of Zip, reference main (49e6ec), with Swift 5.10 for Linux on 11 Apr 2025 11:57:37 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/Zip.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/vapor-community/Zip
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 49e6ec8 Drop Swift 5.9 (#14)
Cloned https://github.com/vapor-community/Zip.git
Revision (git rev-parse @):
49e6ec895c02d671c191b6ce17064b3981d5ab45
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor-community/Zip.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/vapor-community/Zip.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/6] Write sources
[1/6] Compiling CMinizip ioapi.c
[2/6] Compiling CMinizip unzip.c
[3/6] Compiling CMinizip zip.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling CMinizip crypt.c
[7/14] Compiling Zip ZipCompression.swift
[8/14] Compiling Zip URL+nativePath.swift
[9/14] Compiling Zip Zip.swift
/host/spi-builder-workspace/Sources/Zip/Zip.swift:16:24: warning: static property 'lock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    private static let lock = NSLock()
                       ^
[10/15] Compiling Zip Date+dosDate.swift
[11/15] Compiling Zip FileManager+ProcessedFilePath.swift
[12/15] Compiling Zip QuickZip.swift
[13/15] Compiling Zip ZipError.swift
[14/15] Emitting module Zip
/host/spi-builder-workspace/Sources/Zip/Zip.swift:16:24: warning: static property 'lock' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    private static let lock = NSLock()
                       ^
[15/15] Compiling Zip ArchiveFile.swift
Build complete! (5.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Zip",
  "name" : "Zip",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Zip",
      "targets" : [
        "Zip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZipTests",
      "module_type" : "SwiftTarget",
      "name" : "ZipTests",
      "path" : "Tests/ZipTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipTests/TestResources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ZipTests.swift"
      ],
      "target_dependencies" : [
        "Zip"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Zip",
      "module_type" : "SwiftTarget",
      "name" : "Zip",
      "path" : "Sources/Zip",
      "product_memberships" : [
        "Zip"
      ],
      "sources" : [
        "ArchiveFile.swift",
        "Date+dosDate.swift",
        "FileManager+ProcessedFilePath.swift",
        "QuickZip.swift",
        "URL+nativePath.swift",
        "Zip.swift",
        "ZipCompression.swift",
        "ZipError.swift"
      ],
      "target_dependencies" : [
        "CMinizip"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CMinizip",
      "module_type" : "ClangTarget",
      "name" : "CMinizip",
      "path" : "Sources/CMinizip",
      "product_memberships" : [
        "Zip"
      ],
      "sources" : [
        "crypt.c",
        "ioapi.c",
        "unzip.c",
        "zip.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.