Build Information
Successful build of Zip, reference main (567d51
), with Swift 6.0 (beta) for macOS (SPM) on 17 Sep 2024 03:19:16 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.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 567d515 Fix inconsistent behaviour between macOS and Linux (#8)
Cloned https://github.com/vapor-community/Zip.git
Revision (git rev-parse @):
567d51516b3bdbc823669a943d8b4f6bc6c6dafc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor-community/Zip.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/vapor-community/Zip.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version-117DEE11B69C53C9.txt
[2/6] Compiling Minizip ioapi.c
[3/6] Compiling Minizip unzip.c
[4/6] Compiling Minizip zip.c
[5/6] Compiling Minizip crypt.c
[7/14] Compiling Zip ZipUtilities.swift
[8/14] Emitting module Zip
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:15:25: warning: static property 'customFileExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class Zip {
14 | // Set of vaild file extensions
15 | internal static var customFileExtensions: Set<String> = []
| |- warning: static property 'customFileExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customFileExtensions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customFileExtensions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | @available(*, deprecated, message: "Do not use this initializer. Zip is a utility class and should not be instantiated.")
[9/14] Compiling Zip ArchiveFile.swift
[10/14] Compiling Zip ZipError.swift
[11/14] Compiling Zip Zip.swift
/Users/admin/builder/spi-builder-workspace/Sources/Zip/Zip.swift:15:25: warning: static property 'customFileExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class Zip {
14 | // Set of vaild file extensions
15 | internal static var customFileExtensions: Set<String> = []
| |- warning: static property 'customFileExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customFileExtensions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customFileExtensions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | @available(*, deprecated, message: "Do not use this initializer. Zip is a utility class and should not be instantiated.")
[12/14] Compiling Zip ZipCompression.swift
[13/14] Compiling Zip Date+dosDate.swift
[14/14] Compiling Zip QuickZip.swift
Build complete! (10.11s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Zip",
"name" : "Zip",
"path" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Tests/ZipTests/Resources",
"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",
"QuickZip.swift",
"Zip.swift",
"ZipCompression.swift",
"ZipError.swift",
"ZipUtilities.swift"
],
"target_dependencies" : [
"Minizip"
],
"type" : "library"
},
{
"c99name" : "Minizip",
"module_type" : "ClangTarget",
"name" : "Minizip",
"path" : "Sources/Minizip",
"product_memberships" : [
"Zip"
],
"sources" : [
"crypt.c",
"ioapi.c",
"unzip.c",
"zip.c"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.