Build Information
Successful build of UUSwiftCore, reference 1.3.3 (109170), with Swift 6.1 for macOS (SPM) on 11 Feb 2026 05:12:31 UTC.
Swift 6 data race errors: 6
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/SilverPineSoftware/UUSwiftCore.git
Reference: 1.3.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SilverPineSoftware/UUSwiftCore
* tag 1.3.3 -> FETCH_HEAD
HEAD is now at 1091702 Merge branch 'develop' of https://github.com/SilverPineSoftware/UUSwiftCore
Cloned https://github.com/SilverPineSoftware/UUSwiftCore.git
Revision (git rev-parse @):
10917028aadb970948b37610dd03e84eec467c05
SUCCESS checkout https://github.com/SilverPineSoftware/UUSwiftCore.git at 1.3.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/SilverPineSoftware/UUSwiftCore.git
https://github.com/SilverPineSoftware/UUSwiftCore.git
{
"dependencies" : [
{
"identity" : "uuswifttestcore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SilverPineSoftware/UUSwiftTestCore.git"
}
],
"manifest_display_name" : "UUSwiftCore",
"name" : "UUSwiftCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "UUSwiftCore",
"targets" : [
"UUSwiftCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "UUSwiftCoreTests",
"module_type" : "SwiftTarget",
"name" : "UUSwiftCoreTests",
"path" : "Tests",
"product_dependencies" : [
"UUSwiftTestCore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/zip_cmd_line.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/zip_data.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/zip_data_windows.zip",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Logging/UULoggerTests.swift",
"UUArrayTests.swift",
"UUCompressionTests.swift",
"UUCoreDataTests.swift",
"UUDataTests.swift",
"UUJsonTests.swift",
"UUNumberTests.swift",
"UUStringTests.swift",
"UUTimeMeasurementTests.swift",
"UUTimerTests.swift"
],
"target_dependencies" : [
"UUSwiftCore"
],
"type" : "test"
},
{
"c99name" : "UUSwiftCore",
"module_type" : "SwiftTarget",
"name" : "UUSwiftCore",
"path" : "UUSwiftCore",
"product_memberships" : [
"UUSwiftCore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/UUSwiftCore/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Logging/UUConsoleLogWriter.swift",
"Logging/UULog.swift",
"Logging/UULogLevel.swift",
"Logging/UULogWriter.swift",
"Logging/UULogger+Ext.swift",
"Logging/UULogger.swift",
"Logging/UUPrintLogWriter.swift",
"UUArray.swift",
"UUCollection.swift",
"UUColor.swift",
"UUComparable.swift",
"UUCompression.swift",
"UUCoreData.swift",
"UUData.swift",
"UUDataCache.swift",
"UUDate.swift",
"UUDictionary.swift",
"UUJson.swift",
"UUKeychain.swift",
"UULocalization.swift",
"UUNumber.swift",
"UUObject.swift",
"UUObjectFactory.swift",
"UURandom.swift",
"UUString.swift",
"UUSwiftCore.swift",
"UUThread.swift",
"UUTimeMeasurement.swift",
"UUTimer.swift",
"UUTypeAliases.swift",
"UUURL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/33] Emitting module UUSwiftCore
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/Logging/UULog.swift:41:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | {
40 | /// The logger instance used to handle log messages.
41 | private static var logger: UULogger? = nil
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Initializes the current logger `UULog` with an optional logger.
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:60:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
40 | //
41 | // Meta Data is persisted with CoreData
42 | public class UUDataCache : NSObject, UUDataCacheProtocol
| `- note: class 'UUDataCache' does not conform to the 'Sendable' protocol
43 | {
44 | ////////////////////////////////////////////////////////////////////////////
:
58 | // Class Data Memebers
59 | ////////////////////////////////////////////////////////////////////////////
60 | public static let shared = UUDataCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | ////////////////////////////////////////////////////////////////////////////
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:325:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 |
322 | private class UUDataCacheDb
| `- note: class 'UUDataCacheDb' does not conform to the 'Sendable' protocol
323 | {
324 | private static let cacheKeyName = "UUDataCacheDb"
325 | static let shared = UUDataCacheDb()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 |
327 | let mutex = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDate.swift:68:24: warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | extension DateFormatter
67 | {
68 | private static var uuSharedFormatterCache : Dictionary<String, DateFormatter> = Dictionary()
| |- warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uuSharedFormatterCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uuSharedFormatterCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | private static let lockingQueue: DispatchQueue = DispatchQueue(label: "UUDateFormatter_LockingQueue")
70 |
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:110:24: warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | private let activeTimersLock = NSRecursiveLock()
109 |
110 | private static var pools: [String:UUTimerPool] = [:]
| |- warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pools' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pools' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | private static let poolsLock = NSRecursiveLock()
112 |
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:113:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
103 | find all active timers in the pool.
104 | */
105 | public class UUTimerPool
| `- note: class 'UUTimerPool' does not conform to the 'Sendable' protocol
106 | {
107 | private var activeTimers: [String:UUTimer] = [:]
:
111 | private static let poolsLock = NSRecursiveLock()
112 |
113 | public static let shared = UUTimerPool.getPool("UUTimerPool.shared", queue: DispatchQueue.main)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | public let identifier: String
[5/36] Compiling UUSwiftCore UUTypeAliases.swift
[6/36] Compiling UUSwiftCore UUURL.swift
[7/36] Compiling UUSwiftCore resource_bundle_accessor.swift
[8/36] Compiling UUSwiftCore UUJson.swift
[9/36] Compiling UUSwiftCore UUKeychain.swift
[10/36] Compiling UUSwiftCore UULocalization.swift
[11/36] Compiling UUSwiftCore UUNumber.swift
[12/36] Compiling UUSwiftCore UUObject.swift
[13/36] Compiling UUSwiftCore UUObjectFactory.swift
[14/36] Compiling UUSwiftCore UUConsoleLogWriter.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/Logging/UULog.swift:41:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | {
40 | /// The logger instance used to handle log messages.
41 | private static var logger: UULogger? = nil
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Initializes the current logger `UULog` with an optional logger.
[15/36] Compiling UUSwiftCore UULog.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/Logging/UULog.swift:41:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | {
40 | /// The logger instance used to handle log messages.
41 | private static var logger: UULogger? = nil
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Initializes the current logger `UULog` with an optional logger.
[16/36] Compiling UUSwiftCore UULogLevel.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/Logging/UULog.swift:41:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | {
40 | /// The logger instance used to handle log messages.
41 | private static var logger: UULogger? = nil
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Initializes the current logger `UULog` with an optional logger.
[17/36] Compiling UUSwiftCore UULogWriter.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/Logging/UULog.swift:41:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | {
40 | /// The logger instance used to handle log messages.
41 | private static var logger: UULogger? = nil
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Initializes the current logger `UULog` with an optional logger.
[18/36] Compiling UUSwiftCore UUThread.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUThread.swift:240:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
238 | DispatchQueue.global(qos: .background).async
239 | {
240 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
241 | }
242 | }
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:110:24: warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | private let activeTimersLock = NSRecursiveLock()
109 |
110 | private static var pools: [String:UUTimerPool] = [:]
| |- warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pools' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pools' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | private static let poolsLock = NSRecursiveLock()
112 |
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:113:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
103 | find all active timers in the pool.
104 | */
105 | public class UUTimerPool
| `- note: class 'UUTimerPool' does not conform to the 'Sendable' protocol
106 | {
107 | private var activeTimers: [String:UUTimer] = [:]
:
111 | private static let poolsLock = NSRecursiveLock()
112 |
113 | public static let shared = UUTimerPool.getPool("UUTimerPool.shared", queue: DispatchQueue.main)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | public let identifier: String
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUThread.swift:248:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
246 | DispatchQueue.main.async
247 | {
248 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
249 | }
250 | }
[19/36] Compiling UUSwiftCore UUTimeMeasurement.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUThread.swift:240:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
238 | DispatchQueue.global(qos: .background).async
239 | {
240 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
241 | }
242 | }
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:110:24: warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | private let activeTimersLock = NSRecursiveLock()
109 |
110 | private static var pools: [String:UUTimerPool] = [:]
| |- warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pools' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pools' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | private static let poolsLock = NSRecursiveLock()
112 |
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:113:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
103 | find all active timers in the pool.
104 | */
105 | public class UUTimerPool
| `- note: class 'UUTimerPool' does not conform to the 'Sendable' protocol
106 | {
107 | private var activeTimers: [String:UUTimer] = [:]
:
111 | private static let poolsLock = NSRecursiveLock()
112 |
113 | public static let shared = UUTimerPool.getPool("UUTimerPool.shared", queue: DispatchQueue.main)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | public let identifier: String
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUThread.swift:248:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
246 | DispatchQueue.main.async
247 | {
248 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
249 | }
250 | }
[20/36] Compiling UUSwiftCore UUTimer.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUThread.swift:240:9: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
238 | DispatchQueue.global(qos: .background).async
239 | {
240 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
241 | }
242 | }
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:110:24: warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | private let activeTimersLock = NSRecursiveLock()
109 |
110 | private static var pools: [String:UUTimerPool] = [:]
| |- warning: static property 'pools' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pools' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pools' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | private static let poolsLock = NSRecursiveLock()
112 |
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUTimer.swift:113:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
103 | find all active timers in the pool.
104 | */
105 | public class UUTimerPool
| `- note: class 'UUTimerPool' does not conform to the 'Sendable' protocol
106 | {
107 | private var activeTimers: [String:UUTimer] = [:]
:
111 | private static let poolsLock = NSRecursiveLock()
112 |
113 | public static let shared = UUTimerPool.getPool("UUTimerPool.shared", queue: DispatchQueue.main)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUTimerPool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | public let identifier: String
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUThread.swift:248:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
246 | DispatchQueue.main.async
247 | {
248 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
249 | }
250 | }
[21/36] Compiling UUSwiftCore UUDataCache.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:60:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
40 | //
41 | // Meta Data is persisted with CoreData
42 | public class UUDataCache : NSObject, UUDataCacheProtocol
| `- note: class 'UUDataCache' does not conform to the 'Sendable' protocol
43 | {
44 | ////////////////////////////////////////////////////////////////////////////
:
58 | // Class Data Memebers
59 | ////////////////////////////////////////////////////////////////////////////
60 | public static let shared = UUDataCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | ////////////////////////////////////////////////////////////////////////////
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:325:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 |
322 | private class UUDataCacheDb
| `- note: class 'UUDataCacheDb' does not conform to the 'Sendable' protocol
323 | {
324 | private static let cacheKeyName = "UUDataCacheDb"
325 | static let shared = UUDataCacheDb()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 |
327 | let mutex = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDate.swift:68:24: warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | extension DateFormatter
67 | {
68 | private static var uuSharedFormatterCache : Dictionary<String, DateFormatter> = Dictionary()
| |- warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uuSharedFormatterCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uuSharedFormatterCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | private static let lockingQueue: DispatchQueue = DispatchQueue(label: "UUDateFormatter_LockingQueue")
70 |
[22/36] Compiling UUSwiftCore UUDate.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:60:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
40 | //
41 | // Meta Data is persisted with CoreData
42 | public class UUDataCache : NSObject, UUDataCacheProtocol
| `- note: class 'UUDataCache' does not conform to the 'Sendable' protocol
43 | {
44 | ////////////////////////////////////////////////////////////////////////////
:
58 | // Class Data Memebers
59 | ////////////////////////////////////////////////////////////////////////////
60 | public static let shared = UUDataCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | ////////////////////////////////////////////////////////////////////////////
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:325:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 |
322 | private class UUDataCacheDb
| `- note: class 'UUDataCacheDb' does not conform to the 'Sendable' protocol
323 | {
324 | private static let cacheKeyName = "UUDataCacheDb"
325 | static let shared = UUDataCacheDb()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 |
327 | let mutex = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDate.swift:68:24: warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | extension DateFormatter
67 | {
68 | private static var uuSharedFormatterCache : Dictionary<String, DateFormatter> = Dictionary()
| |- warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uuSharedFormatterCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uuSharedFormatterCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | private static let lockingQueue: DispatchQueue = DispatchQueue(label: "UUDateFormatter_LockingQueue")
70 |
[23/36] Compiling UUSwiftCore UUDictionary.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:60:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
40 | //
41 | // Meta Data is persisted with CoreData
42 | public class UUDataCache : NSObject, UUDataCacheProtocol
| `- note: class 'UUDataCache' does not conform to the 'Sendable' protocol
43 | {
44 | ////////////////////////////////////////////////////////////////////////////
:
58 | // Class Data Memebers
59 | ////////////////////////////////////////////////////////////////////////////
60 | public static let shared = UUDataCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | ////////////////////////////////////////////////////////////////////////////
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDataCache.swift:325:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 |
322 | private class UUDataCacheDb
| `- note: class 'UUDataCacheDb' does not conform to the 'Sendable' protocol
323 | {
324 | private static let cacheKeyName = "UUDataCacheDb"
325 | static let shared = UUDataCacheDb()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UUDataCacheDb' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 |
327 | let mutex = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUDate.swift:68:24: warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | extension DateFormatter
67 | {
68 | private static var uuSharedFormatterCache : Dictionary<String, DateFormatter> = Dictionary()
| |- warning: static property 'uuSharedFormatterCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uuSharedFormatterCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uuSharedFormatterCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | private static let lockingQueue: DispatchQueue = DispatchQueue(label: "UUDateFormatter_LockingQueue")
70 |
[24/36] Compiling UUSwiftCore UUCollection.swift
[25/36] Compiling UUSwiftCore UUColor.swift
[26/36] Compiling UUSwiftCore UUComparable.swift
[27/36] Compiling UUSwiftCore UULogger+Ext.swift
[28/36] Compiling UUSwiftCore UULogger.swift
[29/36] Compiling UUSwiftCore UUPrintLogWriter.swift
[30/36] Compiling UUSwiftCore UUArray.swift
[31/36] Compiling UUSwiftCore UURandom.swift
[32/36] Compiling UUSwiftCore UUString.swift
[33/36] Compiling UUSwiftCore UUSwiftCore.swift
[34/36] Compiling UUSwiftCore UUCompression.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUCoreData.swift:1137:45: warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1135 | }
1136 |
1137 | container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
| `- warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1138 | container.viewContext.automaticallyMergesChangesFromParent = true
1139 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSMergePolicy.h:25:20: note: var declared here
23 |
24 | // This singleton policy merges conflicts between the persistent store's version of the object and the current in memory version. The merge occurs by individual property. For properties which have been changed in both the external source and in memory, the in memory changes trump the external ones.
25 | COREDATA_EXTERN id NSMergeByPropertyObjectTrumpMergePolicy API_AVAILABLE(macosx(10.4),ios(3.0));
| `- note: var declared here
26 |
27 | // This singleton policy overwrites all state for the changed objects in conflict The current object's state is pushed upon the persistent store.
[35/36] Compiling UUSwiftCore UUCoreData.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUCoreData.swift:1137:45: warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1135 | }
1136 |
1137 | container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
| `- warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1138 | container.viewContext.automaticallyMergesChangesFromParent = true
1139 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSMergePolicy.h:25:20: note: var declared here
23 |
24 | // This singleton policy merges conflicts between the persistent store's version of the object and the current in memory version. The merge occurs by individual property. For properties which have been changed in both the external source and in memory, the in memory changes trump the external ones.
25 | COREDATA_EXTERN id NSMergeByPropertyObjectTrumpMergePolicy API_AVAILABLE(macosx(10.4),ios(3.0));
| `- note: var declared here
26 |
27 | // This singleton policy overwrites all state for the changed objects in conflict The current object's state is pushed upon the persistent store.
[36/36] Compiling UUSwiftCore UUData.swift
/Users/admin/builder/spi-builder-workspace/UUSwiftCore/UUCoreData.swift:1137:45: warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1135 | }
1136 |
1137 | container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
| `- warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1138 | container.viewContext.automaticallyMergesChangesFromParent = true
1139 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSMergePolicy.h:25:20: note: var declared here
23 |
24 | // This singleton policy merges conflicts between the persistent store's version of the object and the current in memory version. The merge occurs by individual property. For properties which have been changed in both the external source and in memory, the in memory changes trump the external ones.
25 | COREDATA_EXTERN id NSMergeByPropertyObjectTrumpMergePolicy API_AVAILABLE(macosx(10.4),ios(3.0));
| `- note: var declared here
26 |
27 | // This singleton policy overwrites all state for the changed objects in conflict The current object's state is pushed upon the persistent store.
Build complete! (8.70s)
Fetching https://github.com/SilverPineSoftware/UUSwiftTestCore.git
[1/70] Fetching uuswifttestcore
Fetched https://github.com/SilverPineSoftware/UUSwiftTestCore.git from cache (0.71s)
Computing version for https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Computed https://github.com/SilverPineSoftware/UUSwiftTestCore.git at 0.0.4 (1.31s)
Creating working copy for https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Working copy of https://github.com/SilverPineSoftware/UUSwiftTestCore.git resolved at 0.0.4
Build complete.
{
"dependencies" : [
{
"identity" : "uuswifttestcore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SilverPineSoftware/UUSwiftTestCore.git"
}
],
"manifest_display_name" : "UUSwiftCore",
"name" : "UUSwiftCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "UUSwiftCore",
"targets" : [
"UUSwiftCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "UUSwiftCoreTests",
"module_type" : "SwiftTarget",
"name" : "UUSwiftCoreTests",
"path" : "Tests",
"product_dependencies" : [
"UUSwiftTestCore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/zip_cmd_line.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/zip_data.zip",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/zip_data_windows.zip",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Logging/UULoggerTests.swift",
"UUArrayTests.swift",
"UUCompressionTests.swift",
"UUCoreDataTests.swift",
"UUDataTests.swift",
"UUJsonTests.swift",
"UUNumberTests.swift",
"UUStringTests.swift",
"UUTimeMeasurementTests.swift",
"UUTimerTests.swift"
],
"target_dependencies" : [
"UUSwiftCore"
],
"type" : "test"
},
{
"c99name" : "UUSwiftCore",
"module_type" : "SwiftTarget",
"name" : "UUSwiftCore",
"path" : "UUSwiftCore",
"product_memberships" : [
"UUSwiftCore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/UUSwiftCore/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Logging/UUConsoleLogWriter.swift",
"Logging/UULog.swift",
"Logging/UULogLevel.swift",
"Logging/UULogWriter.swift",
"Logging/UULogger+Ext.swift",
"Logging/UULogger.swift",
"Logging/UUPrintLogWriter.swift",
"UUArray.swift",
"UUCollection.swift",
"UUColor.swift",
"UUComparable.swift",
"UUCompression.swift",
"UUCoreData.swift",
"UUData.swift",
"UUDataCache.swift",
"UUDate.swift",
"UUDictionary.swift",
"UUJson.swift",
"UUKeychain.swift",
"UULocalization.swift",
"UUNumber.swift",
"UUObject.swift",
"UUObjectFactory.swift",
"UURandom.swift",
"UUString.swift",
"UUSwiftCore.swift",
"UUThread.swift",
"UUTimeMeasurement.swift",
"UUTimer.swift",
"UUTypeAliases.swift",
"UUURL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.