Build Information
Successful build of RVS_Persistent_Prefs, reference 1.3.10 (78812d
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 14:05:43 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
Reference: 1.3.10
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RiftValleySoftware/RVS_PersistentPrefs
* tag 1.3.10 -> FETCH_HEAD
HEAD is now at 78812d2 Added a cache, to reduce the number of times the defaults are loaded (It's a memory-intensive operation).
Cloned https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
Revision (git rev-parse @):
78812d207ea36b722647503d1944a67100993570
SUCCESS checkout https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git at 1.3.10
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "rvs_persistentprefs",
"name": "RVS_Persistent_Prefs",
"url": "https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RVS_PersistentPrefs",
"dependencies": [
]
}
]
}
Fetching https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
[1/2212] Fetching rvs_persistentprefs
Fetched https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git from cache (1.73s)
Creating working copy for https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
Working copy of https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git resolved at 1.3.10 (78812d2)
warning: '.resolve-product-dependencies': dependency 'rvs_persistentprefs' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Compiling RVS_Persistent_Prefs RVS_PersistentPrefs.swift
/Users/admin/builder/spi-builder-workspace/Sources/RVS_Persistent_Prefs/RVS_PersistentPrefs.swift:47:24: warning: static property '_cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | The first key is the general prefs key, and the second key is each prefs key.
46 | */
47 | private static var _cache: [String: [String: Any]] = [:]
| |- warning: static property '_cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cache' 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
48 |
49 | /* ################################################################## */
[4/4] Emitting module RVS_Persistent_Prefs
/Users/admin/builder/spi-builder-workspace/Sources/RVS_Persistent_Prefs/RVS_PersistentPrefs.swift:47:24: warning: static property '_cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | The first key is the general prefs key, and the second key is each prefs key.
46 | */
47 | private static var _cache: [String: [String: Any]] = [:]
| |- warning: static property '_cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cache' 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
48 |
49 | /* ################################################################## */
Build complete! (5.95s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RVS_Persistent_Prefs",
"name" : "RVS_Persistent_Prefs",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "RVS_Persistent_Prefs",
"targets" : [
"RVS_Persistent_Prefs"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RVS_Persistent_PrefsTest",
"module_type" : "SwiftTarget",
"name" : "RVS_Persistent_PrefsTest",
"path" : "Tests/RVS_Persistent_PrefsTest",
"sources" : [
"RVS_Persistent_Prefs_MixedType_Tests.swift",
"RVS_Persistent_Prefs_Simple_Tests.swift",
"RVS_Persistent_Prefs_Thread_Tests.swift"
],
"target_dependencies" : [
"RVS_Persistent_Prefs"
],
"type" : "test"
},
{
"c99name" : "RVS_Persistent_Prefs",
"module_type" : "SwiftTarget",
"name" : "RVS_Persistent_Prefs",
"path" : "Sources/RVS_Persistent_Prefs",
"product_memberships" : [
"RVS_Persistent_Prefs"
],
"sources" : [
"RVS_PersistentPrefs.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.