Build Information
Successful build of Fusion, reference 2.2.3 (aec6bd), with Swift 6.1 for macOS (SPM) on 21 Nov 2026 09:24:01 UTC.
Swift 6 data race errors: 34
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
47 | NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
48 | */
49 | @interface NSUserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
50 | @private
51 | id _kvo_;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:86:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
84 | extension FileManager : DataStorageable {
85 |
86 | public static let shared: DataStorageable = FileManager.default
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
87 |
88 | public func value<T : Decodable>(forKey key: String) -> T? { return T.loadFile(key: key) }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:106:21: warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
| |- warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'objects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'objects' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let shared: DataStorageable = StateStorage()
108 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:107:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
107 | public static let shared: DataStorageable = StateStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
108 |
109 | public func value<T : Decodable>(forKey key: String) -> T? { StateStorage.objects[key] as? T }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:124:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
122 | extension Keychain : DataStorageable {
123 |
124 | public static let shared: DataStorageable = Keychain()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
125 | public func value<T : Decodable>(forKey key: String) -> T? { T.load(data: self[key] ?? Data()) }
126 | public func set<T : Encodable>(_ value: T?, forKey key: String) { self[key] = value?.data }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:52:4: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
50 | keysQueue.async {
51 | InMemoryCache.set(key: pendingName, newValue: false)
52 | set(withKeys { $0 }, forKey: keysName)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
53 | }
54 | }
Fusion.DataStorageable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol DataStorageable {
2 | Self : Fusion.DataStorageable}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/InMemoryCache.swift:23:21: warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @ThreadSafe
23 | private static var store = Store()
| |- warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'store' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'store' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:64:13: warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public extension DateFormatter {
63 |
64 | static var validFormats = ["yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ssZ"]
| |- warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validFormats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static var utc: DateFormatter {
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:128:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
126 | public extension JSONDecoder {
127 |
128 | static var standard: JSONDecoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | let decoder = JSONDecoder()
130 | decoder.dateDecodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:139:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | public extension JSONEncoder {
138 |
139 | static var standard: JSONEncoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | let encoder = JSONEncoder()
141 | encoder.dateEncodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:325:22: warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
323 | }
324 |
325 | internal static let dateCache: NSCache<NSString, NSDate> = {
| |- warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | let cache = NSCache<NSString, NSDate>()
327 | cache.countLimit = 4096
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:13:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0))
13 | @interface NSCache <KeyType, ObjectType> : NSObject
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
14 |
15 | @property (copy) NSString *name;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:441:19: warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
439 | var fullVersion: String { "v \(shortVersion) (\(buildNumber))" }
440 |
441 | @objc static var appGroup: String = ""
| |- warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'appGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | }
443 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/Keychain.swift:131:54: warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 | switch status {
130 | case errSecSuccess, errSecInteractionNotAllowed:
131 | if status == errSecInteractionNotAllowed && floor(NSFoundationVersionNumber) <= floor(1140.11) {
| `- warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | remove(key)
133 | set(value, key: key)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:494:26: note: var declared here
492 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
493 |
494 | FOUNDATION_EXPORT double NSFoundationVersionNumber;
| `- note: var declared here
495 |
496 | #if TARGET_OS_MAC
[30/60] Compiling Fusion JSONFunctions.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:74:20: warning: static property 'appGroup' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
72 | extension UserDefaults : DataStorageable {
73 |
74 | public static let appGroup: UserDefaults = UserDefaults(suiteName: Bundle.appGroup) ?? UserDefaults.standard
| |- warning: static property 'appGroup' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'appGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static var shared: DataStorageable { appGroup }
76 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
47 | NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
48 | */
49 | @interface NSUserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
50 | @private
51 | id _kvo_;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:86:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
84 | extension FileManager : DataStorageable {
85 |
86 | public static let shared: DataStorageable = FileManager.default
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
87 |
88 | public func value<T : Decodable>(forKey key: String) -> T? { return T.loadFile(key: key) }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:106:21: warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
| |- warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'objects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'objects' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let shared: DataStorageable = StateStorage()
108 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:107:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
107 | public static let shared: DataStorageable = StateStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
108 |
109 | public func value<T : Decodable>(forKey key: String) -> T? { StateStorage.objects[key] as? T }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:124:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
122 | extension Keychain : DataStorageable {
123 |
124 | public static let shared: DataStorageable = Keychain()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
125 | public func value<T : Decodable>(forKey key: String) -> T? { T.load(data: self[key] ?? Data()) }
126 | public func set<T : Encodable>(_ value: T?, forKey key: String) { self[key] = value?.data }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:52:4: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
50 | keysQueue.async {
51 | InMemoryCache.set(key: pendingName, newValue: false)
52 | set(withKeys { $0 }, forKey: keysName)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
53 | }
54 | }
Fusion.DataStorageable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol DataStorageable {
2 | Self : Fusion.DataStorageable}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/InMemoryCache.swift:23:21: warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @ThreadSafe
23 | private static var store = Store()
| |- warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'store' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'store' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:64:13: warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public extension DateFormatter {
63 |
64 | static var validFormats = ["yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ssZ"]
| |- warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validFormats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static var utc: DateFormatter {
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:128:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
126 | public extension JSONDecoder {
127 |
128 | static var standard: JSONDecoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | let decoder = JSONDecoder()
130 | decoder.dateDecodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:139:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | public extension JSONEncoder {
138 |
139 | static var standard: JSONEncoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | let encoder = JSONEncoder()
141 | encoder.dateEncodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:325:22: warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
323 | }
324 |
325 | internal static let dateCache: NSCache<NSString, NSDate> = {
| |- warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | let cache = NSCache<NSString, NSDate>()
327 | cache.countLimit = 4096
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:13:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0))
13 | @interface NSCache <KeyType, ObjectType> : NSObject
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
14 |
15 | @property (copy) NSString *name;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:441:19: warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
439 | var fullVersion: String { "v \(shortVersion) (\(buildNumber))" }
440 |
441 | @objc static var appGroup: String = ""
| |- warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'appGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | }
443 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/Keychain.swift:131:54: warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 | switch status {
130 | case errSecSuccess, errSecInteractionNotAllowed:
131 | if status == errSecInteractionNotAllowed && floor(NSFoundationVersionNumber) <= floor(1140.11) {
| `- warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | remove(key)
133 | set(value, key: key)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:494:26: note: var declared here
492 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
493 |
494 | FOUNDATION_EXPORT double NSFoundationVersionNumber;
| `- note: var declared here
495 |
496 | #if TARGET_OS_MAC
[31/60] Compiling Fusion Keychain.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:74:20: warning: static property 'appGroup' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
72 | extension UserDefaults : DataStorageable {
73 |
74 | public static let appGroup: UserDefaults = UserDefaults(suiteName: Bundle.appGroup) ?? UserDefaults.standard
| |- warning: static property 'appGroup' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'appGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static var shared: DataStorageable { appGroup }
76 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
47 | NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
48 | */
49 | @interface NSUserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
50 | @private
51 | id _kvo_;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:86:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
84 | extension FileManager : DataStorageable {
85 |
86 | public static let shared: DataStorageable = FileManager.default
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
87 |
88 | public func value<T : Decodable>(forKey key: String) -> T? { return T.loadFile(key: key) }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:106:21: warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
| |- warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'objects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'objects' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let shared: DataStorageable = StateStorage()
108 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:107:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
107 | public static let shared: DataStorageable = StateStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
108 |
109 | public func value<T : Decodable>(forKey key: String) -> T? { StateStorage.objects[key] as? T }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:124:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
122 | extension Keychain : DataStorageable {
123 |
124 | public static let shared: DataStorageable = Keychain()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
125 | public func value<T : Decodable>(forKey key: String) -> T? { T.load(data: self[key] ?? Data()) }
126 | public func set<T : Encodable>(_ value: T?, forKey key: String) { self[key] = value?.data }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:52:4: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
50 | keysQueue.async {
51 | InMemoryCache.set(key: pendingName, newValue: false)
52 | set(withKeys { $0 }, forKey: keysName)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
53 | }
54 | }
Fusion.DataStorageable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol DataStorageable {
2 | Self : Fusion.DataStorageable}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/InMemoryCache.swift:23:21: warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @ThreadSafe
23 | private static var store = Store()
| |- warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'store' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'store' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:64:13: warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public extension DateFormatter {
63 |
64 | static var validFormats = ["yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ssZ"]
| |- warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validFormats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static var utc: DateFormatter {
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:128:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
126 | public extension JSONDecoder {
127 |
128 | static var standard: JSONDecoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | let decoder = JSONDecoder()
130 | decoder.dateDecodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:139:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | public extension JSONEncoder {
138 |
139 | static var standard: JSONEncoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | let encoder = JSONEncoder()
141 | encoder.dateEncodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:325:22: warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
323 | }
324 |
325 | internal static let dateCache: NSCache<NSString, NSDate> = {
| |- warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | let cache = NSCache<NSString, NSDate>()
327 | cache.countLimit = 4096
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:13:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0))
13 | @interface NSCache <KeyType, ObjectType> : NSObject
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
14 |
15 | @property (copy) NSString *name;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:441:19: warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
439 | var fullVersion: String { "v \(shortVersion) (\(buildNumber))" }
440 |
441 | @objc static var appGroup: String = ""
| |- warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'appGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | }
443 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/Keychain.swift:131:54: warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 | switch status {
130 | case errSecSuccess, errSecInteractionNotAllowed:
131 | if status == errSecInteractionNotAllowed && floor(NSFoundationVersionNumber) <= floor(1140.11) {
| `- warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | remove(key)
133 | set(value, key: key)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:494:26: note: var declared here
492 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
493 |
494 | FOUNDATION_EXPORT double NSFoundationVersionNumber;
| `- note: var declared here
495 |
496 | #if TARGET_OS_MAC
[32/60] Compiling Fusion LocalNotification.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:74:20: warning: static property 'appGroup' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
72 | extension UserDefaults : DataStorageable {
73 |
74 | public static let appGroup: UserDefaults = UserDefaults(suiteName: Bundle.appGroup) ?? UserDefaults.standard
| |- warning: static property 'appGroup' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'appGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static var shared: DataStorageable { appGroup }
76 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
47 | NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
48 | */
49 | @interface NSUserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
50 | @private
51 | id _kvo_;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:86:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
84 | extension FileManager : DataStorageable {
85 |
86 | public static let shared: DataStorageable = FileManager.default
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
87 |
88 | public func value<T : Decodable>(forKey key: String) -> T? { return T.loadFile(key: key) }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:106:21: warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
| |- warning: static property 'objects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'objects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'objects' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let shared: DataStorageable = StateStorage()
108 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:107:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
105 | @ThreadSafe
106 | private static var objects: [String : Any] = [:]
107 | public static let shared: DataStorageable = StateStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
108 |
109 | public func value<T : Decodable>(forKey key: String) -> T? { StateStorage.objects[key] as? T }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:124:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public protocol DataStorageable {
| `- note: protocol 'DataStorageable' does not conform to the 'Sendable' protocol
19 |
20 | static var shared: DataStorageable { get }
:
122 | extension Keychain : DataStorageable {
123 |
124 | public static let shared: DataStorageable = Keychain()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'any DataStorageable' 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
125 | public func value<T : Decodable>(forKey key: String) -> T? { T.load(data: self[key] ?? Data()) }
126 | public func set<T : Encodable>(_ value: T?, forKey key: String) { self[key] = value?.data }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/DataStorageable.swift:52:4: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
50 | keysQueue.async {
51 | InMemoryCache.set(key: pendingName, newValue: false)
52 | set(withKeys { $0 }, forKey: keysName)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
53 | }
54 | }
Fusion.DataStorageable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol DataStorageable {
2 | Self : Fusion.DataStorageable}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/InMemoryCache.swift:23:21: warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @ThreadSafe
23 | private static var store = Store()
| |- warning: static property 'store' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'store' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'store' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:64:13: warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | public extension DateFormatter {
63 |
64 | static var validFormats = ["yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ssZ"]
| |- warning: static property 'validFormats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validFormats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'validFormats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static var utc: DateFormatter {
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:128:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
126 | public extension JSONDecoder {
127 |
128 | static var standard: JSONDecoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | let decoder = JSONDecoder()
130 | decoder.dateDecodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:139:13: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 | public extension JSONEncoder {
138 |
139 | static var standard: JSONEncoder = {
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | let encoder = JSONEncoder()
141 | encoder.dateEncodingStrategy = .standardDates
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:325:22: warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
323 | }
324 |
325 | internal static let dateCache: NSCache<NSString, NSDate> = {
| |- warning: static property 'dateCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, NSDate>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | let cache = NSCache<NSString, NSDate>()
327 | cache.countLimit = 4096
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:13:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0))
13 | @interface NSCache <KeyType, ObjectType> : NSObject
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
14 |
15 | @property (copy) NSString *name;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/JSONFunctions.swift:441:19: warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
439 | var fullVersion: String { "v \(shortVersion) (\(buildNumber))" }
440 |
441 | @objc static var appGroup: String = ""
| |- warning: static property 'appGroup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appGroup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'appGroup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | }
443 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/Keychain.swift:131:54: warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 | switch status {
130 | case errSecSuccess, errSecInteractionNotAllowed:
131 | if status == errSecInteractionNotAllowed && floor(NSFoundationVersionNumber) <= floor(1140.11) {
| `- warning: reference to var 'NSFoundationVersionNumber' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | remove(key)
133 | set(value, key: key)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:494:26: note: var declared here
492 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
493 |
494 | FOUNDATION_EXPORT double NSFoundationVersionNumber;
| `- note: var declared here
495 |
496 | #if TARGET_OS_MAC
[33/60] Compiling Fusion HapticControl.swift
[34/60] Compiling Fusion ObserverFunctions.swift
[35/60] Compiling Fusion PresentationController.swift
[36/60] Compiling Fusion UIControlFunctions.swift
[37/60] Compiling Fusion UIScrollViewFunctions.swift
[38/60] Compiling Fusion UserFlow.swift
[39/60] Compiling Fusion TextFunctions.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:60:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
58 |
59 | /// The singleton instance of ``TimerControl``.
60 | public static let shared: TimerControl = TimerControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' 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 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:103:11: warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
101 | let queue = item.value.queue
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
| `- warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
104 | callback()
105 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:104:5: warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
104 | callback()
| |- warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Encryption.swift:12:13: warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public extension String.CompareOptions {
11 |
12 | static var regEx: Self = [.regularExpression, .caseInsensitive]
| |- warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regEx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'regEx' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:53:25: warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | static let queue = DispatchQueue(label: "Fusion.Logger", qos: .utility)
52 |
53 | @ThreadSafe static var maxFileSize: UInt64 = 15 * 1024 * 1024
| |- warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxFileSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxFileSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | static func persistsAsynchronously(forKey key: Key) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:154:20: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | /// The global logger configuration, determined by the `Constant.isDebug` flag.
154 | public static var global: Logger = Constant.isDebug ? .basic : .none
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// A local cache of all log entries.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:76:4: warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
74 | let namespace = namespace(Key.logs)
75 | queue.async {
76 | entry.data?.appendToFile(key: namespace, newLine: true, maxSize: maxFileSize)
| `- warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
77 | InMemoryCache.flush(key: namespace)
78 | }
:
87 |
88 | /// A structure that represents a log entry with a `basic` and `full` log message.
89 | public struct LogEntry: Codable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
90 |
91 | /// The date the log entry was created.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:150:5: warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
148 | } else {
149 | DispatchQueue.main.async {
150 | work()
| |- warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'work' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
151 | }
152 | }
[40/60] Compiling Fusion TimerControl.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:60:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
58 |
59 | /// The singleton instance of ``TimerControl``.
60 | public static let shared: TimerControl = TimerControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' 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 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:103:11: warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
101 | let queue = item.value.queue
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
| `- warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
104 | callback()
105 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:104:5: warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
104 | callback()
| |- warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Encryption.swift:12:13: warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public extension String.CompareOptions {
11 |
12 | static var regEx: Self = [.regularExpression, .caseInsensitive]
| |- warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regEx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'regEx' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:53:25: warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | static let queue = DispatchQueue(label: "Fusion.Logger", qos: .utility)
52 |
53 | @ThreadSafe static var maxFileSize: UInt64 = 15 * 1024 * 1024
| |- warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxFileSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxFileSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | static func persistsAsynchronously(forKey key: Key) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:154:20: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | /// The global logger configuration, determined by the `Constant.isDebug` flag.
154 | public static var global: Logger = Constant.isDebug ? .basic : .none
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// A local cache of all log entries.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:76:4: warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
74 | let namespace = namespace(Key.logs)
75 | queue.async {
76 | entry.data?.appendToFile(key: namespace, newLine: true, maxSize: maxFileSize)
| `- warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
77 | InMemoryCache.flush(key: namespace)
78 | }
:
87 |
88 | /// A structure that represents a log entry with a `basic` and `full` log message.
89 | public struct LogEntry: Codable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
90 |
91 | /// The date the log entry was created.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:150:5: warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
148 | } else {
149 | DispatchQueue.main.async {
150 | work()
| |- warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'work' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
151 | }
152 | }
[41/60] Compiling Fusion Trigonometry.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:60:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
58 |
59 | /// The singleton instance of ``TimerControl``.
60 | public static let shared: TimerControl = TimerControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' 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 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:103:11: warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
101 | let queue = item.value.queue
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
| `- warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
104 | callback()
105 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:104:5: warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
104 | callback()
| |- warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Encryption.swift:12:13: warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public extension String.CompareOptions {
11 |
12 | static var regEx: Self = [.regularExpression, .caseInsensitive]
| |- warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regEx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'regEx' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:53:25: warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | static let queue = DispatchQueue(label: "Fusion.Logger", qos: .utility)
52 |
53 | @ThreadSafe static var maxFileSize: UInt64 = 15 * 1024 * 1024
| |- warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxFileSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxFileSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | static func persistsAsynchronously(forKey key: Key) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:154:20: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | /// The global logger configuration, determined by the `Constant.isDebug` flag.
154 | public static var global: Logger = Constant.isDebug ? .basic : .none
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// A local cache of all log entries.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:76:4: warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
74 | let namespace = namespace(Key.logs)
75 | queue.async {
76 | entry.data?.appendToFile(key: namespace, newLine: true, maxSize: maxFileSize)
| `- warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
77 | InMemoryCache.flush(key: namespace)
78 | }
:
87 |
88 | /// A structure that represents a log entry with a `basic` and `full` log message.
89 | public struct LogEntry: Codable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
90 |
91 | /// The date the log entry was created.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:150:5: warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
148 | } else {
149 | DispatchQueue.main.async {
150 | work()
| |- warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'work' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
151 | }
152 | }
[42/60] Compiling Fusion Encryption.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:60:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
58 |
59 | /// The singleton instance of ``TimerControl``.
60 | public static let shared: TimerControl = TimerControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' 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 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:103:11: warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
101 | let queue = item.value.queue
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
| `- warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
104 | callback()
105 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:104:5: warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
104 | callback()
| |- warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Encryption.swift:12:13: warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public extension String.CompareOptions {
11 |
12 | static var regEx: Self = [.regularExpression, .caseInsensitive]
| |- warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regEx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'regEx' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:53:25: warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | static let queue = DispatchQueue(label: "Fusion.Logger", qos: .utility)
52 |
53 | @ThreadSafe static var maxFileSize: UInt64 = 15 * 1024 * 1024
| |- warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxFileSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxFileSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | static func persistsAsynchronously(forKey key: Key) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:154:20: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | /// The global logger configuration, determined by the `Constant.isDebug` flag.
154 | public static var global: Logger = Constant.isDebug ? .basic : .none
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// A local cache of all log entries.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:76:4: warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
74 | let namespace = namespace(Key.logs)
75 | queue.async {
76 | entry.data?.appendToFile(key: namespace, newLine: true, maxSize: maxFileSize)
| `- warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
77 | InMemoryCache.flush(key: namespace)
78 | }
:
87 |
88 | /// A structure that represents a log entry with a `basic` and `full` log message.
89 | public struct LogEntry: Codable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
90 |
91 | /// The date the log entry was created.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:150:5: warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
148 | } else {
149 | DispatchQueue.main.async {
150 | work()
| |- warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'work' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
151 | }
152 | }
[43/60] Compiling Fusion HTTPCookieHelper.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:60:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
58 |
59 | /// The singleton instance of ``TimerControl``.
60 | public static let shared: TimerControl = TimerControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' 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 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:103:11: warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
101 | let queue = item.value.queue
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
| `- warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
104 | callback()
105 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:104:5: warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
104 | callback()
| |- warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Encryption.swift:12:13: warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public extension String.CompareOptions {
11 |
12 | static var regEx: Self = [.regularExpression, .caseInsensitive]
| |- warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regEx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'regEx' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:53:25: warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | static let queue = DispatchQueue(label: "Fusion.Logger", qos: .utility)
52 |
53 | @ThreadSafe static var maxFileSize: UInt64 = 15 * 1024 * 1024
| |- warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxFileSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxFileSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | static func persistsAsynchronously(forKey key: Key) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:154:20: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | /// The global logger configuration, determined by the `Constant.isDebug` flag.
154 | public static var global: Logger = Constant.isDebug ? .basic : .none
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// A local cache of all log entries.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:76:4: warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
74 | let namespace = namespace(Key.logs)
75 | queue.async {
76 | entry.data?.appendToFile(key: namespace, newLine: true, maxSize: maxFileSize)
| `- warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
77 | InMemoryCache.flush(key: namespace)
78 | }
:
87 |
88 | /// A structure that represents a log entry with a `basic` and `full` log message.
89 | public struct LogEntry: Codable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
90 |
91 | /// The date the log entry was created.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:150:5: warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
148 | } else {
149 | DispatchQueue.main.async {
150 | work()
| |- warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'work' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
151 | }
152 | }
[44/60] Compiling Fusion Logger.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:60:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
58 |
59 | /// The singleton instance of ``TimerControl``.
60 | public static let shared: TimerControl = TimerControl()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimerControl' 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 | // MARK: - Constructors
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:103:11: warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
34 |
35 | /// This class creates a single unique loop running with the interval defined by the constant ``Constant/maxFps``.
36 | final public class TimerControl {
| `- note: class 'TimerControl' does not conform to the 'Sendable' protocol
37 |
38 | // MARK: - Properties
:
101 | let queue = item.value.queue
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
| `- warning: capture of 'self' with non-sendable type 'TimerControl?' in a '@Sendable' closure
104 | callback()
105 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:104:5: warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
102 | queue.async { [weak self] in
103 | guard self?.items[key] != nil else { return }
104 | callback()
| |- warning: capture of 'callback' with non-sendable type 'TimerCallback' (aka '() -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Encryption.swift:12:13: warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public extension String.CompareOptions {
11 |
12 | static var regEx: Self = [.regularExpression, .caseInsensitive]
| |- warning: static property 'regEx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regEx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'regEx' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:53:25: warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | static let queue = DispatchQueue(label: "Fusion.Logger", qos: .utility)
52 |
53 | @ThreadSafe static var maxFileSize: UInt64 = 15 * 1024 * 1024
| |- warning: static property 'maxFileSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxFileSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxFileSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | static func persistsAsynchronously(forKey key: Key) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:154:20: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | /// The global logger configuration, determined by the `Constant.isDebug` flag.
154 | public static var global: Logger = Constant.isDebug ? .basic : .none
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// A local cache of all log entries.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Networking/Logger.swift:76:4: warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
74 | let namespace = namespace(Key.logs)
75 | queue.async {
76 | entry.data?.appendToFile(key: namespace, newLine: true, maxSize: maxFileSize)
| `- warning: capture of 'entry' with non-sendable type 'LogEntry' in a '@Sendable' closure
77 | InMemoryCache.flush(key: namespace)
78 | }
:
87 |
88 | /// A structure that represents a log entry with a `basic` and `full` log message.
89 | public struct LogEntry: Codable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'LogEntry' conform to the 'Sendable' protocol
90 |
91 | /// The date the log entry was created.
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Controls/TimerControl.swift:150:5: warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
148 | } else {
149 | DispatchQueue.main.async {
150 | work()
| |- warning: sending 'work' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'work' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
151 | }
152 | }
[45/60] Compiling Fusion TextUpdateModifier.swift
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:21:10: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
19 | switch view {
20 | case let label as NSTextField:
21 | label.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
22 | case let button as NSButton:
23 | button.title = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:23:11: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
21 | label.stringValue = self
22 | case let button as NSButton:
23 | button.title = self
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | case let textView as NSTextView:
25 | textView.string = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:25:13: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
23 | button.title = self
24 | case let textView as NSTextView:
25 | textView.string = self
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
26 | case let textField as NSTextField:
27 | textField.stringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:69:28: note: mutation of this property is only permitted within the actor
67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
68 |
69 | @property (copy) NSString *string;
| `- note: mutation of this property is only permitted within the actor
70 |
71 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:27:14: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
25 | textView.string = self
26 | case let textField as NSTextField:
27 | textField.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 | default:
29 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:32:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
30 | }
31 |
32 | view.setAccessibilityIdentifier(originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:58:10: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
56 | switch view {
57 | case let label as NSTextField:
58 | label.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
59 | case let button as NSButton:
60 | button.attributedTitle = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:60:11: warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
58 | label.attributedStringValue = self
59 | case let button as NSButton:
60 | button.attributedTitle = self
| `- warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:78:38: note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
78 | @property (copy) NSAttributedString *attributedTitle;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /*! The title that the button displays when the button is in an on state, or an empty string if there is no such title. Note that some button types do not display an alternate title. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:62:13: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
60 | button.attributedTitle = self
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
| `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:113:55: note: property declared here
111 | @property (nullable, readonly, assign) NSLayoutManager *layoutManager;
112 |
113 | @property (nullable, readonly, assign) NSTextStorage *textStorage;
| `- note: property declared here
114 |
115 | // The text views's text layout manager, if its text container is configured with one; null otherwise.
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:64:14: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
62 | textView.textStorage?.setAttributedString(self)
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
65 | default:
66 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:69:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
67 | }
68 |
69 | view.setAccessibilityIdentifier(content.originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[46/60] Compiling Fusion WaveTextRenderer.swift
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:21:10: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
19 | switch view {
20 | case let label as NSTextField:
21 | label.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
22 | case let button as NSButton:
23 | button.title = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:23:11: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
21 | label.stringValue = self
22 | case let button as NSButton:
23 | button.title = self
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | case let textView as NSTextView:
25 | textView.string = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:25:13: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
23 | button.title = self
24 | case let textView as NSTextView:
25 | textView.string = self
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
26 | case let textField as NSTextField:
27 | textField.stringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:69:28: note: mutation of this property is only permitted within the actor
67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
68 |
69 | @property (copy) NSString *string;
| `- note: mutation of this property is only permitted within the actor
70 |
71 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:27:14: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
25 | textView.string = self
26 | case let textField as NSTextField:
27 | textField.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 | default:
29 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:32:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
30 | }
31 |
32 | view.setAccessibilityIdentifier(originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:58:10: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
56 | switch view {
57 | case let label as NSTextField:
58 | label.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
59 | case let button as NSButton:
60 | button.attributedTitle = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:60:11: warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
58 | label.attributedStringValue = self
59 | case let button as NSButton:
60 | button.attributedTitle = self
| `- warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:78:38: note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
78 | @property (copy) NSAttributedString *attributedTitle;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /*! The title that the button displays when the button is in an on state, or an empty string if there is no such title. Note that some button types do not display an alternate title. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:62:13: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
60 | button.attributedTitle = self
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
| `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:113:55: note: property declared here
111 | @property (nullable, readonly, assign) NSLayoutManager *layoutManager;
112 |
113 | @property (nullable, readonly, assign) NSTextStorage *textStorage;
| `- note: property declared here
114 |
115 | // The text views's text layout manager, if its text container is configured with one; null otherwise.
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:64:14: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
62 | textView.textStorage?.setAttributedString(self)
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
65 | default:
66 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:69:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
67 | }
68 |
69 | view.setAccessibilityIdentifier(content.originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[47/60] Compiling Fusion TextStyle.swift
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:21:10: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
19 | switch view {
20 | case let label as NSTextField:
21 | label.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
22 | case let button as NSButton:
23 | button.title = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:23:11: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
21 | label.stringValue = self
22 | case let button as NSButton:
23 | button.title = self
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | case let textView as NSTextView:
25 | textView.string = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:25:13: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
23 | button.title = self
24 | case let textView as NSTextView:
25 | textView.string = self
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
26 | case let textField as NSTextField:
27 | textField.stringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:69:28: note: mutation of this property is only permitted within the actor
67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
68 |
69 | @property (copy) NSString *string;
| `- note: mutation of this property is only permitted within the actor
70 |
71 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:27:14: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
25 | textView.string = self
26 | case let textField as NSTextField:
27 | textField.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 | default:
29 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:32:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
30 | }
31 |
32 | view.setAccessibilityIdentifier(originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:58:10: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
56 | switch view {
57 | case let label as NSTextField:
58 | label.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
59 | case let button as NSButton:
60 | button.attributedTitle = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:60:11: warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
58 | label.attributedStringValue = self
59 | case let button as NSButton:
60 | button.attributedTitle = self
| `- warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:78:38: note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
78 | @property (copy) NSAttributedString *attributedTitle;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /*! The title that the button displays when the button is in an on state, or an empty string if there is no such title. Note that some button types do not display an alternate title. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:62:13: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
60 | button.attributedTitle = self
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
| `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:113:55: note: property declared here
111 | @property (nullable, readonly, assign) NSLayoutManager *layoutManager;
112 |
113 | @property (nullable, readonly, assign) NSTextStorage *textStorage;
| `- note: property declared here
114 |
115 | // The text views's text layout manager, if its text container is configured with one; null otherwise.
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:64:14: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
62 | textView.textStorage?.setAttributedString(self)
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
65 | default:
66 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:69:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
67 | }
68 |
69 | view.setAccessibilityIdentifier(content.originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[48/60] Compiling Fusion UIViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:21:10: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
19 | switch view {
20 | case let label as NSTextField:
21 | label.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
22 | case let button as NSButton:
23 | button.title = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:23:11: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
21 | label.stringValue = self
22 | case let button as NSButton:
23 | button.title = self
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | case let textView as NSTextView:
25 | textView.string = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:25:13: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
23 | button.title = self
24 | case let textView as NSTextView:
25 | textView.string = self
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
26 | case let textField as NSTextField:
27 | textField.stringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:69:28: note: mutation of this property is only permitted within the actor
67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
68 |
69 | @property (copy) NSString *string;
| `- note: mutation of this property is only permitted within the actor
70 |
71 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:27:14: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
25 | textView.string = self
26 | case let textField as NSTextField:
27 | textField.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 | default:
29 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:32:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
30 | }
31 |
32 | view.setAccessibilityIdentifier(originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:58:10: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
56 | switch view {
57 | case let label as NSTextField:
58 | label.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
59 | case let button as NSButton:
60 | button.attributedTitle = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:60:11: warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
58 | label.attributedStringValue = self
59 | case let button as NSButton:
60 | button.attributedTitle = self
| `- warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:78:38: note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
78 | @property (copy) NSAttributedString *attributedTitle;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /*! The title that the button displays when the button is in an on state, or an empty string if there is no such title. Note that some button types do not display an alternate title. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:62:13: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
60 | button.attributedTitle = self
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
| `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:113:55: note: property declared here
111 | @property (nullable, readonly, assign) NSLayoutManager *layoutManager;
112 |
113 | @property (nullable, readonly, assign) NSTextStorage *textStorage;
| `- note: property declared here
114 |
115 | // The text views's text layout manager, if its text container is configured with one; null otherwise.
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:64:14: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
62 | textView.textStorage?.setAttributedString(self)
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
65 | default:
66 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:69:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
67 | }
68 |
69 | view.setAccessibilityIdentifier(content.originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[49/60] Compiling Fusion resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:21:10: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
19 | switch view {
20 | case let label as NSTextField:
21 | label.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
22 | case let button as NSButton:
23 | button.title = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:23:11: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
21 | label.stringValue = self
22 | case let button as NSButton:
23 | button.title = self
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | case let textView as NSTextView:
25 | textView.string = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:25:13: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
23 | button.title = self
24 | case let textView as NSTextView:
25 | textView.string = self
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
26 | case let textField as NSTextField:
27 | textField.stringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:69:28: note: mutation of this property is only permitted within the actor
67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
68 |
69 | @property (copy) NSString *string;
| `- note: mutation of this property is only permitted within the actor
70 |
71 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:27:14: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
25 | textView.string = self
26 | case let textField as NSTextField:
27 | textField.stringValue = self
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 | default:
29 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:36:28: note: mutation of this property is only permitted within the actor
34 |
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
| `- note: mutation of this property is only permitted within the actor
37 | @property (copy) NSAttributedString *attributedStringValue;
38 | @property int intValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:32:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 | // MARK: - Exposed Methods
13 |
14 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
15 | guard let view = target as? NSView else {
16 | return
:
30 | }
31 |
32 | view.setAccessibilityIdentifier(originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:58:10: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
56 | switch view {
57 | case let label as NSTextField:
58 | label.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
59 | case let button as NSButton:
60 | button.attributedTitle = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:60:11: warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
58 | label.attributedStringValue = self
59 | case let button as NSButton:
60 | button.attributedTitle = self
| `- warning: main actor-isolated property 'attributedTitle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:78:38: note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
78 | @property (copy) NSAttributedString *attributedTitle;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /*! The title that the button displays when the button is in an on state, or an empty string if there is no such title. Note that some button types do not display an alternate title. */
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:62:13: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
60 | button.attributedTitle = self
61 | case let textView as NSTextView:
62 | textView.textStorage?.setAttributedString(self)
| `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:113:55: note: property declared here
111 | @property (nullable, readonly, assign) NSLayoutManager *layoutManager;
112 |
113 | @property (nullable, readonly, assign) NSTextStorage *textStorage;
| `- note: property declared here
114 |
115 | // The text views's text layout manager, if its text container is configured with one; null otherwise.
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:64:14: warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
62 | textView.textStorage?.setAttributedString(self)
63 | case let textField as NSTextField:
64 | textField.attributedStringValue = self
| `- warning: main actor-isolated property 'attributedStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
65 | default:
66 | break
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:37:38: note: mutation of this property is only permitted within the actor
35 | @property (nullable, copy) id /* id<NSCopying> */ objectValue;
36 | @property (copy) NSString *stringValue;
37 | @property (copy) NSAttributedString *attributedStringValue;
| `- note: mutation of this property is only permitted within the actor
38 | @property int intValue;
39 | @property NSInteger integerValue;
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Styling/TextStyle.swift:69:8: warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | // MARK: - Exposed Methods
50 |
51 | func render(on target: Any?) {
| `- note: add '@MainActor' to make instance method 'render(on:)' part of global actor 'MainActor'
52 | guard let view = target as? NSView else {
53 | return
:
67 | }
68 |
69 | view.setAccessibilityIdentifier(content.originalKey)
| `- warning: call to main actor-isolated instance method 'setAccessibilityIdentifier' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSView.setAccessibilityIdentifier:3:24: note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func setAccessibilityIdentifier(_ accessibilityIdentifier: String?)}
| |- note: calls to instance method 'setAccessibilityIdentifier' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[50/60] Compiling Fusion StoragePersistence.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:35:21: warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| `- warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | #if canImport(UIKit) && !os(watchOS)
7 | import UIKit
:
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| |- note: add '@MainActor' to make static property 'lifecycleObservers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Animation/Ease.swift:236:20: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | }
235 |
236 | public static var allCases: [Ease] = [.linear,
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | .smoothIn, .smoothOut, .smoothInOut,
238 | .strongIn, .strongOut, .strongInOut,
[51/60] Compiling Fusion ThreadSafe.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:35:21: warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| `- warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | #if canImport(UIKit) && !os(watchOS)
7 | import UIKit
:
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| |- note: add '@MainActor' to make static property 'lifecycleObservers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Animation/Ease.swift:236:20: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | }
235 |
236 | public static var allCases: [Ease] = [.linear,
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | .smoothIn, .smoothOut, .smoothInOut,
238 | .strongIn, .strongOut, .strongInOut,
[52/60] Compiling Fusion DisplayLinkDriver.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:35:21: warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| `- warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | #if canImport(UIKit) && !os(watchOS)
7 | import UIKit
:
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| |- note: add '@MainActor' to make static property 'lifecycleObservers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Animation/Ease.swift:236:20: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | }
235 |
236 | public static var allCases: [Ease] = [.linear,
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | .smoothIn, .smoothOut, .smoothInOut,
238 | .strongIn, .strongOut, .strongInOut,
[53/60] Compiling Fusion Ease.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:35:21: warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| `- warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | #if canImport(UIKit) && !os(watchOS)
7 | import UIKit
:
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| |- note: add '@MainActor' to make static property 'lifecycleObservers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Animation/Ease.swift:236:20: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | }
235 |
236 | public static var allCases: [Ease] = [.linear,
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | .smoothIn, .smoothOut, .smoothInOut,
238 | .strongIn, .strongOut, .strongInOut,
[54/60] Compiling Fusion Tween.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:35:21: warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| `- warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | #if canImport(UIKit) && !os(watchOS)
7 | import UIKit
:
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| |- note: add '@MainActor' to make static property 'lifecycleObservers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Animation/Ease.swift:236:20: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | }
235 |
236 | public static var allCases: [Ease] = [.linear,
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | .smoothIn, .smoothOut, .smoothInOut,
238 | .strongIn, .strongOut, .strongInOut,
[55/60] Compiling Fusion ControlAction.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:35:21: warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| `- warning: static property 'lifecycleObservers' is not concurrency-safe because non-'Sendable' type '[any NSObjectProtocol]' may have shared mutable state; this is an error in the Swift 6 language mode
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Fusion/Core/Sources/Storage/StoragePersistence.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | #if canImport(UIKit) && !os(watchOS)
7 | import UIKit
:
33 | private static let state = ThreadSafe<PendingState>(wrappedValue: .init())
34 |
35 | private static let lifecycleObservers: [NSObjectProtocol] = {
| |- note: add '@MainActor' to make static property 'lifecycleObservers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | #if canImport(UIKit) && !os(watchOS)
37 | let names: [Notification.Name] = [
/Users/admin/builder/spi-builder-workspace/Fusion/UI/Sources/Animation/Ease.swift:236:20: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | }
235 |
236 | public static var allCases: [Ease] = [.linear,
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | .smoothIn, .smoothOut, .smoothInOut,
238 | .strongIn, .strongOut, .strongInOut,
[56/60] Compiling Fusion ViewHierarchy.swift
[57/60] Compiling Fusion AnimatedImageView.swift
[58/60] Compiling Fusion Colors.swift
[59/60] Compiling Fusion Fonts.swift
[60/60] Compiling Fusion GeometricalShapes.swift
Build complete! (14.29s)
Fetching https://github.com/db-in/LocalServer.git
[10/976] Fetching localserver
Fetched https://github.com/db-in/LocalServer.git from cache (1.26s)
Computing version for https://github.com/db-in/LocalServer.git
Computed https://github.com/db-in/LocalServer.git at 2.1.9 (4.81s)
Creating working copy for https://github.com/db-in/LocalServer.git
Working copy of https://github.com/db-in/LocalServer.git resolved at 2.1.9
warning: 'spi-builder-workspace': found 38 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/FusionSuite.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/LoggerTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/TimerTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/PerformanceTestCase.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/TweenTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/ServerMock.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/InMemoryCacheTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/JSON/Response.json
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/LocalizationCacheTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/LocalizationTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/ImagePipelinePerformanceTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/AsyncOperationTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/CountryInfoTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/HashableIdentityTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/EncryptionTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/StoragePerformanceTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/StoregeableTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/TextFunctionsTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/UIPerformanceTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/StoragePersistenceTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/DateFormattingTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/JSONTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/NumberFormatterCacheTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/ImagePipelineTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/MathTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/LocalNotificationTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/NetworkingTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/PresentationCacheTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/HTTPCookieTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/KeychainTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/FusionTestCase.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/RESTAuthenticatorTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/TextAnimationTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/CorePerformanceTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Fusion.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/HotPathPerformanceTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/DataBindableAsyncTests.swift
/Users/admin/builder/spi-builder-workspace/Fusion/Tests/JSON/Person.json
Build complete.
{
"dependencies" : [
{
"identity" : "localserver",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.7",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/db-in/LocalServer.git"
}
],
"manifest_display_name" : "Fusion",
"name" : "Fusion",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Fusion",
"targets" : [
"Fusion"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "FusionTests",
"module_type" : "SwiftTarget",
"name" : "FusionTests",
"path" : "Fusion/Tests",
"product_dependencies" : [
"LocalServer"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Fusion/Tests/JSON/Person.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Fusion/Tests/JSON/Response.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AsyncOperationTests.swift",
"CorePerformanceTests.swift",
"CountryInfoTests.swift",
"DataBindableAsyncTests.swift",
"DateFormattingTests.swift",
"EncryptionTests.swift",
"FusionSuite.swift",
"FusionTestCase.swift",
"HTTPCookieTests.swift",
"HashableIdentityTests.swift",
"HotPathPerformanceTests.swift",
"ImagePipelinePerformanceTests.swift",
"ImagePipelineTests.swift",
"InMemoryCacheTests.swift",
"JSONTests.swift",
"KeychainTests.swift",
"LocalNotificationTests.swift",
"LocalizationCacheTests.swift",
"LocalizationTests.swift",
"LoggerTests.swift",
"MathTests.swift",
"NetworkingTests.swift",
"NumberFormatterCacheTests.swift",
"PerformanceTestCase.swift",
"PresentationCacheTests.swift",
"RESTAuthenticatorTests.swift",
"ServerMock.swift",
"StoragePerformanceTests.swift",
"StoragePersistenceTests.swift",
"StoregeableTests.swift",
"TextAnimationTests.swift",
"TextFunctionsTests.swift",
"TimerTests.swift",
"TweenTests.swift",
"UIPerformanceTests.swift"
],
"target_dependencies" : [
"Fusion"
],
"type" : "test"
},
{
"c99name" : "Fusion",
"module_type" : "SwiftTarget",
"name" : "Fusion",
"path" : "Fusion",
"product_memberships" : [
"Fusion"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Fusion/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Core/Sources/Controls/AsyncOperation.swift",
"Core/Sources/Controls/Constants.swift",
"Core/Sources/Controls/CountryInfo.swift",
"Core/Sources/Controls/Dates.swift",
"Core/Sources/Controls/Localization.swift",
"Core/Sources/Controls/Math.swift",
"Core/Sources/Controls/TextFunctions.swift",
"Core/Sources/Controls/TimerControl.swift",
"Core/Sources/Controls/Trigonometry.swift",
"Core/Sources/Networking/Encryption.swift",
"Core/Sources/Networking/HTTPCookieHelper.swift",
"Core/Sources/Networking/Logger.swift",
"Core/Sources/Networking/RESTAuthenticator.swift",
"Core/Sources/Networking/RESTBuilder.swift",
"Core/Sources/Networking/RESTRequest.swift",
"Core/Sources/Storage/AnyCodable.swift",
"Core/Sources/Storage/CollectionFunctions.swift",
"Core/Sources/Storage/DataBindable.swift",
"Core/Sources/Storage/DataManageable.swift",
"Core/Sources/Storage/DataStorageable.swift",
"Core/Sources/Storage/InMemoryCache.swift",
"Core/Sources/Storage/JSONFunctions.swift",
"Core/Sources/Storage/Keychain.swift",
"Core/Sources/Storage/LocalNotification.swift",
"Core/Sources/Storage/StoragePersistence.swift",
"Core/Sources/Storage/ThreadSafe.swift",
"UI/Sources/Animation/DisplayLinkDriver.swift",
"UI/Sources/Animation/Ease.swift",
"UI/Sources/Animation/Tween.swift",
"UI/Sources/Controls/ControlAction.swift",
"UI/Sources/Controls/HapticControl.swift",
"UI/Sources/Controls/ObserverFunctions.swift",
"UI/Sources/Controls/PresentationController.swift",
"UI/Sources/Controls/UIControlFunctions.swift",
"UI/Sources/Controls/UIScrollViewFunctions.swift",
"UI/Sources/Controls/UserFlow.swift",
"UI/Sources/Controls/ViewHierarchy.swift",
"UI/Sources/Styling/AnimatedImageView.swift",
"UI/Sources/Styling/Colors.swift",
"UI/Sources/Styling/Fonts.swift",
"UI/Sources/Styling/GeometricalShapes.swift",
"UI/Sources/Styling/GradientView.swift",
"UI/Sources/Styling/ImageConvertible.swift",
"UI/Sources/Styling/ImageFunctions.swift",
"UI/Sources/Styling/ImageLoader.swift",
"UI/Sources/Styling/ImagePipeline.swift",
"UI/Sources/Styling/SwiftUIModifiers.swift",
"UI/Sources/Styling/SwiftUIStyle.swift",
"UI/Sources/Styling/TextAnimation/OdometerText.swift",
"UI/Sources/Styling/TextAnimation/TextAnimationSegments.swift",
"UI/Sources/Styling/TextAnimation/TextAnimationStyle.swift",
"UI/Sources/Styling/TextAnimation/TextUpdateModifier.swift",
"UI/Sources/Styling/TextAnimation/WaveTextRenderer.swift",
"UI/Sources/Styling/TextStyle.swift",
"UI/Sources/Styling/UIViewStyle.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.