Build Information
Successful build of ZIPFoundation, reference 0.9.19 (02b6ab
), with Swift 6.0 for Linux on 4 Nov 2024 15:42:16 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/weichsel/ZIPFoundation.git
Reference: 0.9.19
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/weichsel/ZIPFoundation
* tag 0.9.19 -> FETCH_HEAD
HEAD is now at 02b6abe Prepare release
Cloned https://github.com/weichsel/ZIPFoundation.git
Revision (git rev-parse @):
02b6abe5f6eef7e3cbd5f247c5cc24e246efcfe0
SUCCESS checkout https://github.com/weichsel/ZIPFoundation.git at 0.9.19
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/weichsel/ZIPFoundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/22] Emitting module ZIPFoundation
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:146: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
144 |
145 | /// Properties that represent the maximum value of each field
146 | 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: annotate 'maxUInt32' 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
147 | var maxUInt16 = UInt16.max
148 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147: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
145 | /// Properties that represent the maximum value of each field
146 | var maxUInt32 = UInt32.max
147 | 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: annotate 'maxUInt16' 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
148 |
149 | var maxCompressedSize: UInt32 { maxUInt32 }
[4/24] Compiling ZIPFoundation Entry.swift
[5/24] Compiling ZIPFoundation FileManager+ZIP.swift
[6/24] Compiling ZIPFoundation Archive+ZIP64.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:146: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
144 |
145 | /// Properties that represent the maximum value of each field
146 | 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: annotate 'maxUInt32' 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
147 | var maxUInt16 = UInt16.max
148 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147: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
145 | /// Properties that represent the maximum value of each field
146 | var maxUInt32 = UInt32.max
147 | 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: annotate 'maxUInt16' 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
148 |
149 | var maxCompressedSize: UInt32 { maxUInt32 }
[7/24] Compiling ZIPFoundation Archive.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:146: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
144 |
145 | /// Properties that represent the maximum value of each field
146 | 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: annotate 'maxUInt32' 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
147 | var maxUInt16 = UInt16.max
148 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147: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
145 | /// Properties that represent the maximum value of each field
146 | var maxUInt32 = UInt32.max
147 | 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: annotate 'maxUInt16' 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
148 |
149 | var maxCompressedSize: UInt32 { maxUInt32 }
[8/24] Compiling ZIPFoundation Data+Compression.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:146: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
144 |
145 | /// Properties that represent the maximum value of each field
146 | 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: annotate 'maxUInt32' 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
147 | var maxUInt16 = UInt16.max
148 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147: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
145 | /// Properties that represent the maximum value of each field
146 | var maxUInt32 = UInt32.max
147 | 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: annotate 'maxUInt16' 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
148 |
149 | var maxCompressedSize: UInt32 { maxUInt32 }
[9/24] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[10/24] Compiling ZIPFoundation URL+ZIP.swift
[11/24] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[12/24] Compiling ZIPFoundation Archive+Deprecated.swift
[13/24] Compiling ZIPFoundation Archive+Helpers.swift
[14/24] Compiling ZIPFoundation Entry+Serialization.swift
[15/24] Compiling ZIPFoundation Entry+ZIP64.swift
[16/24] Compiling ZIPFoundation Archive+MemoryFile.swift
[17/24] Compiling ZIPFoundation Archive+Progress.swift
[18/24] Compiling ZIPFoundation Archive+Reading.swift
[19/24] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[20/24] Compiling ZIPFoundation Archive+Writing.swift
[21/24] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[22/24] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[23/24] Compiling ZIPFoundation Data+Serialization.swift
[24/24] Compiling ZIPFoundation Date+ZIP.swift
Build complete! (17.84s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ZIPFoundation",
"name" : "ZIPFoundation",
"path" : "/host/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"
],
"target_dependencies" : [
"ZIPFoundation"
],
"type" : "test"
},
{
"c99name" : "ZIPFoundation",
"module_type" : "SwiftTarget",
"name" : "ZIPFoundation",
"path" : "Sources/ZIPFoundation",
"product_memberships" : [
"ZIPFoundation"
],
"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+Serialization.swift",
"Entry+ZIP64.swift",
"Entry.swift",
"FileManager+ZIP.swift",
"FileManager+ZIPDeprecated.swift",
"URL+ZIP.swift"
],
"target_dependencies" : [
"CZLib"
],
"type" : "library"
},
{
"c99name" : "CZLib",
"module_type" : "SystemLibraryTarget",
"name" : "CZLib",
"path" : "Sources/CZLib",
"product_memberships" : [
"ZIPFoundation"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.