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 (f38e9a), with Swift 5.9 for macOS (SPM) on 7 Nov 2024 12:21:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/Zip.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/Zip
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f38e9a9 Windows support and other various changes (#10)
Cloned https://github.com/vapor-community/Zip.git
Revision (git rev-parse @):
f38e9a9fb218fc15afe4e0381aea35311395c376
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor-community/Zip.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/vapor-community/Zip.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Compiling CMinizip ioapi.c
[1/4] Compiling CMinizip zip.c
[2/4] Compiling CMinizip unzip.c
[3/4] Compiling CMinizip crypt.c
[5/13] Compiling Zip ZipCompression.swift
[6/13] Compiling Zip ZipError.swift
[7/13] Compiling Zip URL+nativePath.swift
[8/13] Compiling Zip QuickZip.swift
[9/13] Compiling Zip FileManager+ProcessedFilePath.swift
[10/13] Compiling Zip ArchiveFile.swift
[11/13] Compiling Zip Date+dosDate.swift
[12/13] Emitting module Zip
[13/13] Compiling Zip Zip.swift
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:349:9: warning: reference to static property 'customFileExtensions' is not concurrency-safe because it involves shared mutable state
        customFileExtensions.insert(fileExtension)
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:18:28: note: static property declared here
        private static var customFileExtensions: Set<String> = []
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:358:9: warning: reference to static property 'customFileExtensions' is not concurrency-safe because it involves shared mutable state
        customFileExtensions.remove(fileExtension)
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:18:28: note: static property declared here
        private static var customFileExtensions: Set<String> = []
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:369:35: warning: reference to static property 'customFileExtensions' is not concurrency-safe because it involves shared mutable state
        let validFileExtensions = customFileExtensions.union(["zip", "cbz"])
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:18:28: note: static property declared here
        private static var customFileExtensions: Set<String> = []
                           ^
Build complete! (8.97s)
Build complete.
Done.