Build Information
Successful build of ZIPFoundation, reference development (d6e0da), with Swift 6.1 for macOS (SPM) on 11 Jan 2026 03:14:38 UTC.
Swift 6 data race errors: 2
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/weichsel/ZIPFoundation.git
Reference: development
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/weichsel/ZIPFoundation
* branch development -> FETCH_HEAD
* [new branch] development -> origin/development
HEAD is now at d6e0da4 Update copyright year
Cloned https://github.com/weichsel/ZIPFoundation.git
Revision (git rev-parse @):
d6e0da4509c22274b2775b0e8c741518194acba1
SUCCESS checkout https://github.com/weichsel/ZIPFoundation.git at development
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/weichsel/ZIPFoundation.git
https://github.com/weichsel/ZIPFoundation.git
{
"dependencies" : [
],
"manifest_display_name" : "ZIPFoundation",
"name" : "ZIPFoundation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ZIPFoundation",
"targets" : [
"ZIPFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "ZIPFoundationTests",
"module_type" : "SwiftTarget",
"name" : "ZIPFoundationTests",
"path" : "Tests/ZIPFoundationTests",
"sources" : [
"ZIPFoundationArchiveTests+ZIP64.swift",
"ZIPFoundationArchiveTests.swift",
"ZIPFoundationDataSerializationTests.swift",
"ZIPFoundationEntryTests+ZIP64.swift",
"ZIPFoundationEntryTests.swift",
"ZIPFoundationErrorConditionTests+ZIP64.swift",
"ZIPFoundationErrorConditionTests.swift",
"ZIPFoundationFileAttributeTests.swift",
"ZIPFoundationFileManagerTests+ZIP64.swift",
"ZIPFoundationFileManagerTests.swift",
"ZIPFoundationMemoryTests.swift",
"ZIPFoundationPerformanceTests.swift",
"ZIPFoundationProgressTests.swift",
"ZIPFoundationReadingTests+ZIP64.swift",
"ZIPFoundationReadingTests.swift",
"ZIPFoundationTests.swift",
"ZIPFoundationWritingTests+ZIP64.swift",
"ZIPFoundationWritingTests.swift",
"ZipFoundationEntryTests+InfoZIP.swift"
],
"target_dependencies" : [
"ZIPFoundation"
],
"type" : "test"
},
{
"c99name" : "ZIPFoundation",
"module_type" : "SwiftTarget",
"name" : "ZIPFoundation",
"path" : "Sources/ZIPFoundation",
"product_memberships" : [
"ZIPFoundation"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Archive+BackingConfiguration.swift",
"Archive+Deprecated.swift",
"Archive+Helpers.swift",
"Archive+MemoryFile.swift",
"Archive+Progress.swift",
"Archive+Reading.swift",
"Archive+ReadingDeprecated.swift",
"Archive+Writing.swift",
"Archive+WritingDeprecated.swift",
"Archive+ZIP64.swift",
"Archive.swift",
"Data+Compression.swift",
"Data+CompressionDeprecated.swift",
"Data+Serialization.swift",
"Date+ZIP.swift",
"Entry+InfoZIP.swift",
"Entry+Serialization.swift",
"Entry+ZIP64.swift",
"Entry.swift",
"FileManager+ZIP.swift",
"FileManager+ZIPDeprecated.swift",
"URL+ZIP.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/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/25] Emitting module ZIPFoundation
/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:142:5: warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
140 |
141 | /// Properties that represent the maximum value of each field
142 | var maxUInt32 = UInt32.max
| |- warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxUInt32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maxUInt32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | var maxUInt16 = UInt16.max
144 |
/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:143:5: warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | /// Properties that represent the maximum value of each field
142 | var maxUInt32 = UInt32.max
143 | var maxUInt16 = UInt16.max
| |- warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxUInt16' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maxUInt16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | var maxCompressedSize: UInt32 { maxUInt32 }
[5/27] Compiling ZIPFoundation Entry+InfoZIP.swift
[6/27] Compiling ZIPFoundation Entry+Serialization.swift
[7/27] Compiling ZIPFoundation URL+ZIP.swift
[8/27] Compiling ZIPFoundation resource_bundle_accessor.swift
[9/27] Compiling ZIPFoundation Data+Compression.swift
[10/27] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[11/27] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[12/27] Compiling ZIPFoundation Archive+Deprecated.swift
[13/27] Compiling ZIPFoundation Archive+Helpers.swift
[14/27] Compiling ZIPFoundation Archive+MemoryFile.swift
[15/27] Compiling ZIPFoundation Archive+Progress.swift
[16/27] Compiling ZIPFoundation Archive+Reading.swift
[17/27] Compiling ZIPFoundation Archive+ZIP64.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:142:5: warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
140 |
141 | /// Properties that represent the maximum value of each field
142 | var maxUInt32 = UInt32.max
| |- warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxUInt32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maxUInt32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | var maxUInt16 = UInt16.max
144 |
/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:143:5: warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | /// Properties that represent the maximum value of each field
142 | var maxUInt32 = UInt32.max
143 | var maxUInt16 = UInt16.max
| |- warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxUInt16' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maxUInt16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | var maxCompressedSize: UInt32 { maxUInt32 }
[18/27] Compiling ZIPFoundation Archive.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:142:5: warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
140 |
141 | /// Properties that represent the maximum value of each field
142 | var maxUInt32 = UInt32.max
| |- warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxUInt32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maxUInt32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | var maxUInt16 = UInt16.max
144 |
/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:143:5: warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | /// Properties that represent the maximum value of each field
142 | var maxUInt32 = UInt32.max
143 | var maxUInt16 = UInt16.max
| |- warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxUInt16' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maxUInt16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | var maxCompressedSize: UInt32 { maxUInt32 }
[19/27] Compiling ZIPFoundation Data+Serialization.swift
[20/27] Compiling ZIPFoundation Date+ZIP.swift
[21/27] Compiling ZIPFoundation Entry+ZIP64.swift
[22/27] Compiling ZIPFoundation Entry.swift
[23/27] Compiling ZIPFoundation FileManager+ZIP.swift
[24/27] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[25/27] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[26/27] Compiling ZIPFoundation Archive+Writing.swift
[27/27] Compiling ZIPFoundation Archive+WritingDeprecated.swift
Build complete! (6.50s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ZIPFoundation",
"name" : "ZIPFoundation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ZIPFoundation",
"targets" : [
"ZIPFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "ZIPFoundationTests",
"module_type" : "SwiftTarget",
"name" : "ZIPFoundationTests",
"path" : "Tests/ZIPFoundationTests",
"sources" : [
"ZIPFoundationArchiveTests+ZIP64.swift",
"ZIPFoundationArchiveTests.swift",
"ZIPFoundationDataSerializationTests.swift",
"ZIPFoundationEntryTests+ZIP64.swift",
"ZIPFoundationEntryTests.swift",
"ZIPFoundationErrorConditionTests+ZIP64.swift",
"ZIPFoundationErrorConditionTests.swift",
"ZIPFoundationFileAttributeTests.swift",
"ZIPFoundationFileManagerTests+ZIP64.swift",
"ZIPFoundationFileManagerTests.swift",
"ZIPFoundationMemoryTests.swift",
"ZIPFoundationPerformanceTests.swift",
"ZIPFoundationProgressTests.swift",
"ZIPFoundationReadingTests+ZIP64.swift",
"ZIPFoundationReadingTests.swift",
"ZIPFoundationTests.swift",
"ZIPFoundationWritingTests+ZIP64.swift",
"ZIPFoundationWritingTests.swift",
"ZipFoundationEntryTests+InfoZIP.swift"
],
"target_dependencies" : [
"ZIPFoundation"
],
"type" : "test"
},
{
"c99name" : "ZIPFoundation",
"module_type" : "SwiftTarget",
"name" : "ZIPFoundation",
"path" : "Sources/ZIPFoundation",
"product_memberships" : [
"ZIPFoundation"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Archive+BackingConfiguration.swift",
"Archive+Deprecated.swift",
"Archive+Helpers.swift",
"Archive+MemoryFile.swift",
"Archive+Progress.swift",
"Archive+Reading.swift",
"Archive+ReadingDeprecated.swift",
"Archive+Writing.swift",
"Archive+WritingDeprecated.swift",
"Archive+ZIP64.swift",
"Archive.swift",
"Data+Compression.swift",
"Data+CompressionDeprecated.swift",
"Data+Serialization.swift",
"Date+ZIP.swift",
"Entry+InfoZIP.swift",
"Entry+Serialization.swift",
"Entry+ZIP64.swift",
"Entry.swift",
"FileManager+ZIP.swift",
"FileManager+ZIPDeprecated.swift",
"URL+ZIP.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.