Build Information
Successful build of CoreDataToSwiftUI, reference 0.1.0 (46878e
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 07:45:05 UTC.
Swift 6 data race errors: 49
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
47 | return entity[relationship: propertyKey]
48 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:98:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | */
97 | struct relationship: DynamicEnvironmentKey {
98 | public static var defaultValue : NSRelationshipDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | = D2SDefaultRelationship()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
52 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
56 | return roEntities.contains(entity.name ?? "")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:55:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
56 | return roEntities.contains(entity.name ?? "")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:60:41: warning: expected member name or constructor call after type name; this will be an error in Swift 6
58 | }
59 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
60 | .init { ruleContext in !ruleContext[D2SKeys.isEntityReadOnly] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:63:40: warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
63 | .init { ruleContext in ruleContext[D2SKeys.isObjectEditable] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:68:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
66 | static var propertyValue: A<D2SKeys.propertyValue> {
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:69:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:76:31: warning: expected member name or constructor call after type name; this will be an error in Swift 6
74 | static var loginEntity: A<D2SKeys.entity> {
75 | .init { ruleContext in
76 | let model = ruleContext[D2SKeys.model]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:74:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | struct entity: DynamicEnvironmentKey {
74 | public static let defaultValue : NSEntityDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | = D2SDefaultEntity.shared
76 | }
CoreData.NSEntityDescription:2:12: note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
3 | open class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription?
4 | @available(swift, obsoleted: 3, renamed: "entity(forEntityName:in:)")
[130/135] Compiling DirectToSwiftUI ZeeQLRuleParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRulePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import struct SwiftUIRules.RuleContext
11 |
12 | extension NSPredicate : RulePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | public func evaluate(in ruleContext: RuleContext) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRuleSelfAssignment.swift:39:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | * operation.
24 | */
25 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
26 | : NSObject, RuleCandidate, RuleAction
27 | {
:
37 | return ObjectIdentifier(key)
38 | }
39 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | -> Bool
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathAssignment.swift:50:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | * @see RuleAssignment
31 | */
32 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
33 | : RuleCandidate, RuleAction
34 | {
:
48 | return ObjectIdentifier(key)
49 | }
50 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
51 | -> Bool
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support NSManagedObject dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentPathes.swift:469:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
467 | extension D2SContextKVC {
468 |
469 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | "ruleObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
471 | "managedObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Logger.swift:60:12: warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalD2SLogger : D2SLogger = {
| |- warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalD2SLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | #if DEBUG
62 | let defaultLevel = D2SLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
25 | // Hm, this recursion won't fly:
26 | // \.model.d2s.isDefault == true => \.model <= \.ruleObjectContext.model // '!'
27 | guard let model = ruleContext[D2SKeys.ruleObjectContext]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
28 | .persistentStoreCoordinator?.managedObjectModel else {
29 | return D2SKeys.model.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:69:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
70 | = D2SDefaultModel.shared
71 | }
CoreData.NSManagedObjectModel:2:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
3 | open class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?
4 | @available(swift, obsoleted: 3, renamed: "mergedModel(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
9 | import protocol SwiftUIRules.DynamicEnvironmentKey
10 | import protocol SwiftUIRules.DynamicEnvironmentValues
11 | import struct SwiftUI.AnyView
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
12 | import struct SwiftUI.Text
13 | import struct SwiftUI.EmptyView
:
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | = D2SDefaultModel.shared
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
35 | static var attribute: A<D2SKeys.attribute> {
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
39 | return entity[attribute: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:38:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
39 | return entity[attribute: propertyKey]
40 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:86:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | */
85 | struct attribute: DynamicEnvironmentKey {
86 | public static var defaultValue : NSAttributeDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | = D2SDefaultAttribute()
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
43 | static var relationship: A<D2SKeys.relationship> {
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
47 | return entity[relationship: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:46:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
47 | return entity[relationship: propertyKey]
48 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:98:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | */
97 | struct relationship: DynamicEnvironmentKey {
98 | public static var defaultValue : NSRelationshipDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | = D2SDefaultRelationship()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
52 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
56 | return roEntities.contains(entity.name ?? "")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:55:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
56 | return roEntities.contains(entity.name ?? "")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:60:41: warning: expected member name or constructor call after type name; this will be an error in Swift 6
58 | }
59 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
60 | .init { ruleContext in !ruleContext[D2SKeys.isEntityReadOnly] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:63:40: warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
63 | .init { ruleContext in ruleContext[D2SKeys.isObjectEditable] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:68:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
66 | static var propertyValue: A<D2SKeys.propertyValue> {
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:69:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:76:31: warning: expected member name or constructor call after type name; this will be an error in Swift 6
74 | static var loginEntity: A<D2SKeys.entity> {
75 | .init { ruleContext in
76 | let model = ruleContext[D2SKeys.model]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:74:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | struct entity: DynamicEnvironmentKey {
74 | public static let defaultValue : NSEntityDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | = D2SDefaultEntity.shared
76 | }
CoreData.NSEntityDescription:2:12: note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
3 | open class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription?
4 | @available(swift, obsoleted: 3, renamed: "entity(forEntityName:in:)")
[131/135] Compiling DirectToSwiftUI D2SMainView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRulePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import struct SwiftUIRules.RuleContext
11 |
12 | extension NSPredicate : RulePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | public func evaluate(in ruleContext: RuleContext) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRuleSelfAssignment.swift:39:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | * operation.
24 | */
25 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
26 | : NSObject, RuleCandidate, RuleAction
27 | {
:
37 | return ObjectIdentifier(key)
38 | }
39 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | -> Bool
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathAssignment.swift:50:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | * @see RuleAssignment
31 | */
32 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
33 | : RuleCandidate, RuleAction
34 | {
:
48 | return ObjectIdentifier(key)
49 | }
50 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
51 | -> Bool
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support NSManagedObject dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentPathes.swift:469:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
467 | extension D2SContextKVC {
468 |
469 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | "ruleObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
471 | "managedObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Logger.swift:60:12: warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalD2SLogger : D2SLogger = {
| |- warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalD2SLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | #if DEBUG
62 | let defaultLevel = D2SLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
25 | // Hm, this recursion won't fly:
26 | // \.model.d2s.isDefault == true => \.model <= \.ruleObjectContext.model // '!'
27 | guard let model = ruleContext[D2SKeys.ruleObjectContext]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
28 | .persistentStoreCoordinator?.managedObjectModel else {
29 | return D2SKeys.model.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:69:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
70 | = D2SDefaultModel.shared
71 | }
CoreData.NSManagedObjectModel:2:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
3 | open class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?
4 | @available(swift, obsoleted: 3, renamed: "mergedModel(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
9 | import protocol SwiftUIRules.DynamicEnvironmentKey
10 | import protocol SwiftUIRules.DynamicEnvironmentValues
11 | import struct SwiftUI.AnyView
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
12 | import struct SwiftUI.Text
13 | import struct SwiftUI.EmptyView
:
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | = D2SDefaultModel.shared
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
35 | static var attribute: A<D2SKeys.attribute> {
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
39 | return entity[attribute: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:38:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
39 | return entity[attribute: propertyKey]
40 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:86:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | */
85 | struct attribute: DynamicEnvironmentKey {
86 | public static var defaultValue : NSAttributeDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | = D2SDefaultAttribute()
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
43 | static var relationship: A<D2SKeys.relationship> {
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
47 | return entity[relationship: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:46:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
47 | return entity[relationship: propertyKey]
48 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:98:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | */
97 | struct relationship: DynamicEnvironmentKey {
98 | public static var defaultValue : NSRelationshipDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | = D2SDefaultRelationship()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
52 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
56 | return roEntities.contains(entity.name ?? "")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:55:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
56 | return roEntities.contains(entity.name ?? "")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:60:41: warning: expected member name or constructor call after type name; this will be an error in Swift 6
58 | }
59 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
60 | .init { ruleContext in !ruleContext[D2SKeys.isEntityReadOnly] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:63:40: warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
63 | .init { ruleContext in ruleContext[D2SKeys.isObjectEditable] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:68:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
66 | static var propertyValue: A<D2SKeys.propertyValue> {
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:69:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:76:31: warning: expected member name or constructor call after type name; this will be an error in Swift 6
74 | static var loginEntity: A<D2SKeys.entity> {
75 | .init { ruleContext in
76 | let model = ruleContext[D2SKeys.model]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:74:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | struct entity: DynamicEnvironmentKey {
74 | public static let defaultValue : NSEntityDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | = D2SDefaultEntity.shared
76 | }
CoreData.NSEntityDescription:2:12: note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
3 | open class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription?
4 | @available(swift, obsoleted: 3, renamed: "entity(forEntityName:in:)")
[132/135] Compiling DirectToSwiftUI DefaultRules.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRulePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import struct SwiftUIRules.RuleContext
11 |
12 | extension NSPredicate : RulePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | public func evaluate(in ruleContext: RuleContext) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRuleSelfAssignment.swift:39:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | * operation.
24 | */
25 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
26 | : NSObject, RuleCandidate, RuleAction
27 | {
:
37 | return ObjectIdentifier(key)
38 | }
39 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | -> Bool
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathAssignment.swift:50:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | * @see RuleAssignment
31 | */
32 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
33 | : RuleCandidate, RuleAction
34 | {
:
48 | return ObjectIdentifier(key)
49 | }
50 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
51 | -> Bool
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support NSManagedObject dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentPathes.swift:469:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
467 | extension D2SContextKVC {
468 |
469 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | "ruleObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
471 | "managedObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Logger.swift:60:12: warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalD2SLogger : D2SLogger = {
| |- warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalD2SLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | #if DEBUG
62 | let defaultLevel = D2SLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
25 | // Hm, this recursion won't fly:
26 | // \.model.d2s.isDefault == true => \.model <= \.ruleObjectContext.model // '!'
27 | guard let model = ruleContext[D2SKeys.ruleObjectContext]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
28 | .persistentStoreCoordinator?.managedObjectModel else {
29 | return D2SKeys.model.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:69:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
70 | = D2SDefaultModel.shared
71 | }
CoreData.NSManagedObjectModel:2:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
3 | open class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?
4 | @available(swift, obsoleted: 3, renamed: "mergedModel(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
9 | import protocol SwiftUIRules.DynamicEnvironmentKey
10 | import protocol SwiftUIRules.DynamicEnvironmentValues
11 | import struct SwiftUI.AnyView
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
12 | import struct SwiftUI.Text
13 | import struct SwiftUI.EmptyView
:
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | = D2SDefaultModel.shared
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
35 | static var attribute: A<D2SKeys.attribute> {
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
39 | return entity[attribute: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:38:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
39 | return entity[attribute: propertyKey]
40 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:86:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | */
85 | struct attribute: DynamicEnvironmentKey {
86 | public static var defaultValue : NSAttributeDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | = D2SDefaultAttribute()
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
43 | static var relationship: A<D2SKeys.relationship> {
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
47 | return entity[relationship: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:46:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
47 | return entity[relationship: propertyKey]
48 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:98:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | */
97 | struct relationship: DynamicEnvironmentKey {
98 | public static var defaultValue : NSRelationshipDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | = D2SDefaultRelationship()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
52 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
56 | return roEntities.contains(entity.name ?? "")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:55:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
56 | return roEntities.contains(entity.name ?? "")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:60:41: warning: expected member name or constructor call after type name; this will be an error in Swift 6
58 | }
59 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
60 | .init { ruleContext in !ruleContext[D2SKeys.isEntityReadOnly] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:63:40: warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
63 | .init { ruleContext in ruleContext[D2SKeys.isObjectEditable] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:68:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
66 | static var propertyValue: A<D2SKeys.propertyValue> {
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:69:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:76:31: warning: expected member name or constructor call after type name; this will be an error in Swift 6
74 | static var loginEntity: A<D2SKeys.entity> {
75 | .init { ruleContext in
76 | let model = ruleContext[D2SKeys.model]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:74:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | struct entity: DynamicEnvironmentKey {
74 | public static let defaultValue : NSEntityDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | = D2SDefaultEntity.shared
76 | }
CoreData.NSEntityDescription:2:12: note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
3 | open class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription?
4 | @available(swift, obsoleted: 3, renamed: "entity(forEntityName:in:)")
[133/135] Compiling DirectToSwiftUI ContextKVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRulePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import struct SwiftUIRules.RuleContext
11 |
12 | extension NSPredicate : RulePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | public func evaluate(in ruleContext: RuleContext) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRuleSelfAssignment.swift:39:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | * operation.
24 | */
25 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
26 | : NSObject, RuleCandidate, RuleAction
27 | {
:
37 | return ObjectIdentifier(key)
38 | }
39 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | -> Bool
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathAssignment.swift:50:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | * @see RuleAssignment
31 | */
32 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
33 | : RuleCandidate, RuleAction
34 | {
:
48 | return ObjectIdentifier(key)
49 | }
50 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
51 | -> Bool
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support NSManagedObject dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentPathes.swift:469:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
467 | extension D2SContextKVC {
468 |
469 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | "ruleObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
471 | "managedObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Logger.swift:60:12: warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalD2SLogger : D2SLogger = {
| |- warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalD2SLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | #if DEBUG
62 | let defaultLevel = D2SLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
25 | // Hm, this recursion won't fly:
26 | // \.model.d2s.isDefault == true => \.model <= \.ruleObjectContext.model // '!'
27 | guard let model = ruleContext[D2SKeys.ruleObjectContext]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
28 | .persistentStoreCoordinator?.managedObjectModel else {
29 | return D2SKeys.model.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:69:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
70 | = D2SDefaultModel.shared
71 | }
CoreData.NSManagedObjectModel:2:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
3 | open class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?
4 | @available(swift, obsoleted: 3, renamed: "mergedModel(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
9 | import protocol SwiftUIRules.DynamicEnvironmentKey
10 | import protocol SwiftUIRules.DynamicEnvironmentValues
11 | import struct SwiftUI.AnyView
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
12 | import struct SwiftUI.Text
13 | import struct SwiftUI.EmptyView
:
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | = D2SDefaultModel.shared
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
35 | static var attribute: A<D2SKeys.attribute> {
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
39 | return entity[attribute: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:38:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
39 | return entity[attribute: propertyKey]
40 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:86:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | */
85 | struct attribute: DynamicEnvironmentKey {
86 | public static var defaultValue : NSAttributeDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | = D2SDefaultAttribute()
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
43 | static var relationship: A<D2SKeys.relationship> {
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
47 | return entity[relationship: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:46:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
47 | return entity[relationship: propertyKey]
48 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:98:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | */
97 | struct relationship: DynamicEnvironmentKey {
98 | public static var defaultValue : NSRelationshipDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | = D2SDefaultRelationship()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
52 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
56 | return roEntities.contains(entity.name ?? "")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:55:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
56 | return roEntities.contains(entity.name ?? "")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:60:41: warning: expected member name or constructor call after type name; this will be an error in Swift 6
58 | }
59 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
60 | .init { ruleContext in !ruleContext[D2SKeys.isEntityReadOnly] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:63:40: warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
63 | .init { ruleContext in ruleContext[D2SKeys.isObjectEditable] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:68:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
66 | static var propertyValue: A<D2SKeys.propertyValue> {
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:69:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:76:31: warning: expected member name or constructor call after type name; this will be an error in Swift 6
74 | static var loginEntity: A<D2SKeys.entity> {
75 | .init { ruleContext in
76 | let model = ruleContext[D2SKeys.model]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:74:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | struct entity: DynamicEnvironmentKey {
74 | public static let defaultValue : NSEntityDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | = D2SDefaultEntity.shared
76 | }
CoreData.NSEntityDescription:2:12: note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
3 | open class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription?
4 | @available(swift, obsoleted: 3, renamed: "entity(forEntityName:in:)")
[134/135] Compiling DirectToSwiftUI DefaultAssignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRulePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import struct SwiftUIRules.RuleContext
11 |
12 | extension NSPredicate : RulePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | public func evaluate(in ruleContext: RuleContext) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRuleSelfAssignment.swift:39:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | * operation.
24 | */
25 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
26 | : NSObject, RuleCandidate, RuleAction
27 | {
:
37 | return ObjectIdentifier(key)
38 | }
39 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | -> Bool
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathAssignment.swift:50:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | * @see RuleAssignment
31 | */
32 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
33 | : RuleCandidate, RuleAction
34 | {
:
48 | return ObjectIdentifier(key)
49 | }
50 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
51 | -> Bool
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support NSManagedObject dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentPathes.swift:469:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
467 | extension D2SContextKVC {
468 |
469 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | "ruleObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
471 | "managedObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Logger.swift:60:12: warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalD2SLogger : D2SLogger = {
| |- warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalD2SLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | #if DEBUG
62 | let defaultLevel = D2SLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
25 | // Hm, this recursion won't fly:
26 | // \.model.d2s.isDefault == true => \.model <= \.ruleObjectContext.model // '!'
27 | guard let model = ruleContext[D2SKeys.ruleObjectContext]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
28 | .persistentStoreCoordinator?.managedObjectModel else {
29 | return D2SKeys.model.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:69:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
70 | = D2SDefaultModel.shared
71 | }
CoreData.NSManagedObjectModel:2:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
3 | open class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?
4 | @available(swift, obsoleted: 3, renamed: "mergedModel(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
9 | import protocol SwiftUIRules.DynamicEnvironmentKey
10 | import protocol SwiftUIRules.DynamicEnvironmentValues
11 | import struct SwiftUI.AnyView
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
12 | import struct SwiftUI.Text
13 | import struct SwiftUI.EmptyView
:
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | = D2SDefaultModel.shared
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
35 | static var attribute: A<D2SKeys.attribute> {
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
39 | return entity[attribute: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:38:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
36 | .init { ruleContext in
37 | let entity = ruleContext[D2SKeys.entity]
38 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
39 | return entity[attribute: propertyKey]
40 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:86:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | */
85 | struct attribute: DynamicEnvironmentKey {
86 | public static var defaultValue : NSAttributeDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | = D2SDefaultAttribute()
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
43 | static var relationship: A<D2SKeys.relationship> {
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
47 | return entity[relationship: propertyKey]
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:46:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
44 | .init { ruleContext in
45 | let entity = ruleContext[D2SKeys.entity]
46 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
47 | return entity[relationship: propertyKey]
48 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:98:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | */
97 | struct relationship: DynamicEnvironmentKey {
98 | public static var defaultValue : NSRelationshipDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | = D2SDefaultRelationship()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
52 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
56 | return roEntities.contains(entity.name ?? "")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:55:36: warning: expected member name or constructor call after type name; this will be an error in Swift 6
53 | .init { ruleContext in
54 | let entity = ruleContext[D2SKeys.entity]
55 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
56 | return roEntities.contains(entity.name ?? "")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:60:41: warning: expected member name or constructor call after type name; this will be an error in Swift 6
58 | }
59 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
60 | .init { ruleContext in !ruleContext[D2SKeys.isEntityReadOnly] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:63:40: warning: expected member name or constructor call after type name; this will be an error in Swift 6
61 | }
62 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
63 | .init { ruleContext in ruleContext[D2SKeys.isObjectEditable] }
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:68:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
66 | static var propertyValue: A<D2SKeys.propertyValue> {
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:69:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
67 | .init { ruleContext in
68 | let object = ruleContext[D2SKeys.object]
69 | let propertyKey = ruleContext[D2SKeys.propertyKey]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
70 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:76:31: warning: expected member name or constructor call after type name; this will be an error in Swift 6
74 | static var loginEntity: A<D2SKeys.entity> {
75 | .init { ruleContext in
76 | let model = ruleContext[D2SKeys.model]
| | |- note: add arguments after the type to construct a value of the type
| | `- note: use '.self' to reference the type object
| `- warning: expected member name or constructor call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:74:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | struct entity: DynamicEnvironmentKey {
74 | public static let defaultValue : NSEntityDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | = D2SDefaultEntity.shared
76 | }
CoreData.NSEntityDescription:2:12: note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
3 | open class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription?
4 | @available(swift, obsoleted: 3, renamed: "entity(forEntityName:in:)")
[135/135] Emitting module DirectToSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRulePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import struct SwiftUIRules.RuleContext
11 |
12 | extension NSPredicate : RulePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | public func evaluate(in ruleContext: RuleContext) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRuleSelfAssignment.swift:39:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | * operation.
24 | */
25 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
26 | : NSObject, RuleCandidate, RuleAction
27 | {
:
37 | return ObjectIdentifier(key)
38 | }
39 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | -> Bool
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathAssignment.swift:50:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | * @see RuleAssignment
31 | */
32 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
33 | : RuleCandidate, RuleAction
34 | {
:
48 | return ObjectIdentifier(key)
49 | }
50 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
51 | -> Bool
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support NSManagedObject dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:37:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectContext' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // TODO: rename for CoreData
36 | struct ruleObjectContext: DynamicEnvironmentKey {
37 | public static let defaultValue : NSManagedObjectContext
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectContext' may have shared mutable state; this is an error in the Swift 6 language mode
38 | = D2SDummyObjectContext.shared
39 | }
CoreData.NSManagedObjectContext:2:12: note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectContext : NSObject, NSCoding, NSLocking {
| `- note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
3 | @available(macOS, introduced: 10.4, deprecated: 10.11, message: "Use -initWithConcurrencyType: instead")
4 | open class func new() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
9 | import protocol SwiftUIRules.DynamicEnvironmentKey
10 | import protocol SwiftUIRules.DynamicEnvironmentValues
11 | import struct SwiftUI.AnyView
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
12 | import struct SwiftUI.Text
13 | import struct SwiftUI.EmptyView
:
35 | // TODO: rename for CoreData
36 | struct ruleObjectContext: DynamicEnvironmentKey {
37 | public static let defaultValue : NSManagedObjectContext
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | = D2SDummyObjectContext.shared
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/DummyImplementations.swift:14:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectContext' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | internal final class D2SDummyObjectContext: NSManagedObjectContext {
14 | static let shared : NSManagedObjectContext = D2SDummyObjectContext()
| `- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectContext' may have shared mutable state; this is an error in the Swift 6 language mode
15 | init() {
16 | super.init(concurrencyType: .mainQueueConcurrencyType)
CoreData.NSManagedObjectContext:2:12: note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectContext : NSObject, NSCoding, NSLocking {
| `- note: class 'NSManagedObjectContext' does not conform to the 'Sendable' protocol
3 | @available(macOS, introduced: 10.4, deprecated: 10.11, message: "Use -initWithConcurrencyType: instead")
4 | open class func new() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/DummyImplementations.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
6 | //
7 |
8 | import CoreData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
9 |
10 | // Those are here to workaround the issue that we don't want any
:
12 |
13 | internal final class D2SDummyObjectContext: NSManagedObjectContext {
14 | static let shared : NSManagedObjectContext = D2SDummyObjectContext()
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | init() {
16 | super.init(concurrencyType: .mainQueueConcurrencyType)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:55:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObject' may have shared mutable state; this is an error in the Swift 6 language mode
53 | // TBD: This one should really be an EnvironmentObject, but how
54 | // would we do this? More in the keypath \.object.
55 | public static let defaultValue : NSManagedObject = D2SDefaultObject()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
CoreData.NSManagedObject:2:12: note: class 'NSManagedObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObject : NSObject {
| `- note: class 'NSManagedObject' does not conform to the 'Sendable' protocol
3 | @available(macOS 10.6, *)
4 | open class var contextShouldIgnoreUnmodeledPropertyChanges: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:63:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | struct propertyValue: DynamicEnvironmentKey {
63 | public static let defaultValue : Any? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:69:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | struct model: DynamicEnvironmentKey {
69 | public static let defaultValue : NSManagedObjectModel
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | = D2SDefaultModel.shared
71 | }
CoreData.NSManagedObjectModel:2:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
3 | open class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?
4 | @available(swift, obsoleted: 3, renamed: "mergedModel(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/DummyImplementations.swift:27:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | internal final class D2SDefaultModel: NSManagedObjectModel {
27 | static let shared : NSManagedObjectModel = D2SDefaultModel()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NSManagedObjectModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | override init() {
29 | super.init()
CoreData.NSManagedObjectModel:2:12: note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObjectModel : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSManagedObjectModel' does not conform to the 'Sendable' protocol
3 | open class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?
4 | @available(swift, obsoleted: 3, renamed: "mergedModel(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:74:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | struct entity: DynamicEnvironmentKey {
74 | public static let defaultValue : NSEntityDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSEntityDescription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | = D2SDefaultEntity.shared
76 | }
CoreData.NSEntityDescription:2:12: note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSEntityDescription : NSObject, NSCoding, NSCopying, NSFastEnumeration {
| `- note: class 'NSEntityDescription' does not conform to the 'Sendable' protocol
3 | open class func entity(forEntityName entityName: String, in context: NSManagedObjectContext) -> NSEntityDescription?
4 | @available(swift, obsoleted: 3, renamed: "entity(forEntityName:in:)")
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/DummyImplementations.swift:47:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | internal final class D2SDefaultEntity: NSEntityDescription {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
47 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | override init() {
49 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:86:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | */
85 | struct attribute: DynamicEnvironmentKey {
86 | public static var defaultValue : NSAttributeDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | = D2SDefaultAttribute()
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:98:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | */
97 | struct relationship: DynamicEnvironmentKey {
98 | public static var defaultValue : NSRelationshipDescription
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | = D2SDefaultRelationship()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:105:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | struct page: DynamicEnvironmentKey {
105 | public static let defaultValue : AnyView = AnyView(Text("No Page?"))
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:108:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
106 | }
107 | struct component: DynamicEnvironmentKey {
108 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | = AnyView(BasicLook.Property.Display.String())
110 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:108:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
106 | }
107 | struct component: DynamicEnvironmentKey {
108 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | = AnyView(BasicLook.Property.Display.String())
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:112:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
110 | }
111 | struct pageWrapper: DynamicEnvironmentKey {
112 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | }
114 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:112:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | struct pageWrapper: DynamicEnvironmentKey {
112 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:116:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
114 | struct debugComponent: DynamicEnvironmentKey {
115 | #if DEBUG
116 | public static let defaultValue : AnyView = AnyView(D2SDebugMOCInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | #else
118 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:116:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
114 | struct debugComponent: DynamicEnvironmentKey {
115 | #if DEBUG
116 | public static let defaultValue : AnyView = AnyView(D2SDebugMOCInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
117 | #else
118 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:122:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
120 | }
121 | struct rowComponent: DynamicEnvironmentKey {
122 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:142:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
140 | }
141 | struct formatter: DynamicEnvironmentKey {
142 | public static let defaultValue : Formatter? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | }
144 | struct displayStringForNil: DynamicEnvironmentKey {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:149:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | struct initialPropertyValues: DynamicEnvironmentKey {
149 | public static let defaultValue : [ String : Any? ] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | }
151 | struct creationTimestampPropertyKey: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:182:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
180 |
181 | struct platform: DynamicEnvironmentKey {
182 | public static let defaultValue = Platform.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | }
184 | struct look: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Platform.swift:8:13: note: consider making enum 'Platform' conform to the 'Sendable' protocol
6 | //
7 |
8 | public enum Platform: Hashable {
| `- note: consider making enum 'Platform' conform to the 'Sendable' protocol
9 |
10 | case desktop, watch, phone, pad, tv
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:192:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObject?' may have shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | struct user: DynamicEnvironmentKey {
192 | public static let defaultValue: NSManagedObject? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSManagedObject?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | }
194 |
CoreData.NSManagedObject:2:12: note: class 'NSManagedObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSManagedObject : NSObject {
| `- note: class 'NSManagedObject' does not conform to the 'Sendable' protocol
3 | @available(macOS 10.6, *)
4 | open class var contextShouldIgnoreUnmodeledPropertyChanges: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:206:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSPredicate?' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | struct auxiliaryPredicate : DynamicEnvironmentKey {
206 | public static let defaultValue: NSPredicate? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'NSPredicate?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | }
208 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentPathes.swift:469:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
467 | extension D2SContextKVC {
468 |
469 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | "ruleObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
471 | "managedObjectContext" : KVCMapEntry(D2SKeys.ruleObjectContext .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ComparisonOperation.swift:11:1: warning: extension declares a conformance of imported type 'Operator' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | import Foundation
10 |
11 | extension NSComparisonPredicate.Operator: Equatable {
| |- warning: extension declares a conformance of imported type 'Operator' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func ==(lhs: NSComparisonPredicate.Operator,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/AttributeExtras.swift:86:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'NSAttributeDescription'; this is an error in the Swift 6 language mode
84 |
85 | enum D2SAttributeCoercionError: Swift.Error {
86 | case failedToCoerceFromString(String?, NSAttributeDescription)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'NSAttributeDescription'; this is an error in the Swift 6 language mode
87 | }
88 |
CoreData.NSAttributeDescription:2:12: note: class 'NSAttributeDescription' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.4, *)
2 | open class NSAttributeDescription : NSPropertyDescription {
| `- note: class 'NSAttributeDescription' does not conform to the 'Sendable' protocol
3 | open var attributeType: NSAttributeType { get set }
4 | open var attributeValueClassName: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
7 |
8 | import Foundation
9 | import CoreData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreData'
10 |
11 | public extension NSAttributeDescription {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/ManagedObjectBindings.swift:16:1: warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
14 | }
15 |
16 | extension NSManagedObject: Identifiable {
| |- warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 |
18 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Logger.swift:60:12: warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalD2SLogger : D2SLogger = {
| |- warning: var 'globalD2SLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalD2SLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | #if DEBUG
62 | let defaultLevel = D2SLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Logger.swift:90:17: warning: let 'stderrLogLevel' is not concurrency-safe because non-'Sendable' type 'D2SLoggerLogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public enum D2SLoggerLogLevel : Int8 { // cannot nest types in generics
| `- note: consider making enum 'D2SLoggerLogLevel' conform to the 'Sendable' protocol
43 | case Error
44 | case Warn
:
88 | #endif
89 |
90 | fileprivate let stderrLogLevel : D2SLoggerLogLevel = .Error
| |- warning: let 'stderrLogLevel' is not concurrency-safe because non-'Sendable' type 'D2SLoggerLogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stderrLogLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | public struct D2SPrintLogger : D2SLogger {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/SparseFaultArray.swift:132:22: warning: class 'IndexGlobalID' must restate inherited '@unchecked Sendable' conformance
130 | }
131 |
132 | internal final class IndexGlobalID : NSManagedObjectID {
| `- warning: class 'IndexGlobalID' must restate inherited '@unchecked Sendable' conformance
133 |
134 | private static let sharedIndexGIDs : [ IndexGlobalID ] = { // prealloc some
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditBool.swift:23:47: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | public extension BasicLook.Property.Edit {
11 |
12 | struct Bool: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
13 |
14 | typealias String = Swift.String
:
21 | @Environment(\.propertyKey) private var propertyKey
22 | @Environment(\.propertyValue) private var propertyValue
23 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 |
25 | private var boolValue : Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:14:7: note: 'attribute' declared here
12 | associatedtype Object : NSManagedObject
13 |
14 | var attribute : NSAttributeDescription { get }
| `- note: 'attribute' declared here
15 | var object : Object { get }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditBool.swift:19:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | public init() {}
18 |
19 | @EnvironmentObject public var object : NSManagedObject
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 |
21 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:15:7: note: 'object' declared here
13 |
14 | var attribute : NSAttributeDescription { get }
15 | var object : Object { get }
| `- note: 'object' declared here
16 |
17 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditDate.swift:28:56: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | public extension BasicLook.Property.Edit {
11 |
12 | struct Date: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
13 | // Note: When used inside a Form, the DatePicker (and presumably other
14 | // pickers on iOS) uses multiple List rows.
:
26 | @Environment(\.propertyKey) private var propertyKey
27 | @Environment(\.propertyValue) private var propertyValue
28 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | @Environment(\.displayNameForProperty) private var label
30 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:14:7: note: 'attribute' declared here
12 | associatedtype Object : NSManagedObject
13 |
14 | var attribute : NSAttributeDescription { get }
| `- note: 'attribute' declared here
15 | var object : Object { get }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditDate.swift:24:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | public init() {}
23 |
24 | @EnvironmentObject public var object : NSManagedObject
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
25 |
26 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:15:7: note: 'object' declared here
13 |
14 | var attribute : NSAttributeDescription { get }
15 | var object : Object { get }
| `- note: 'object' declared here
16 |
17 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditLargeString.swift:26:56: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | * Edit long strings ...
14 | */
15 | struct LargeString: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
16 |
17 | typealias String = Swift.String
:
24 | @Environment(\.propertyKey) private var propertyKey
25 | @Environment(\.displayNameForProperty) private var label
26 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 |
28 | #if os(iOS) // use UIView, NSView is prepared, needs testing.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:14:7: note: 'attribute' declared here
12 | associatedtype Object : NSManagedObject
13 |
14 | var attribute : NSAttributeDescription { get }
| `- note: 'attribute' declared here
15 | var object : Object { get }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditLargeString.swift:22:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | public init() {}
21 |
22 | @EnvironmentObject public var object : NSManagedObject
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 |
24 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:15:7: note: 'object' declared here
13 |
14 | var attribute : NSAttributeDescription { get }
15 | var object : Object { get }
| `- note: 'object' declared here
16 |
17 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditNumber.swift:21:45: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | public extension BasicLook.Property.Edit {
12 |
13 | struct Number: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
14 |
15 | public init() {}
:
19 | @Environment(\.propertyKey) private var propertyKey
20 | @Environment(\.formatter) private var formatter
21 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | // E.g. configure for Double etc
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:14:7: note: 'attribute' declared here
12 | associatedtype Object : NSManagedObject
13 |
14 | var attribute : NSAttributeDescription { get }
| `- note: 'attribute' declared here
15 | var object : Object { get }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditNumber.swift:17:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | public init() {}
16 |
17 | @EnvironmentObject public var object : NSManagedObject
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 |
19 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:15:7: note: 'object' declared here
13 |
14 | var attribute : NSAttributeDescription { get }
15 | var object : Object { get }
| `- note: 'object' declared here
16 |
17 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditString.swift:31:50: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 | @Environment(\.displayNameForProperty) private var label
25 |
26 | private struct Labeled<V: View>: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
27 |
28 | @ObservedObject var object : NSManagedObject
29 |
30 | @Environment(\.displayNameForProperty) private var label
31 | @Environment(\.attribute) var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 |
33 | let content : V
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:14:7: note: 'attribute' declared here
12 | associatedtype Object : NSManagedObject
13 |
14 | var attribute : NSAttributeDescription { get }
| `- note: 'attribute' declared here
15 | var object : Object { get }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditString.swift:28:27: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 | private struct Labeled<V: View>: View, D2SAttributeValidator {
27 |
28 | @ObservedObject var object : NSManagedObject
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 |
30 | @Environment(\.displayNameForProperty) private var label
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:15:7: note: 'object' declared here
13 |
14 | var attribute : NSAttributeDescription { get }
15 | var object : Object { get }
| `- note: 'object' declared here
16 |
17 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Relationships/EditToOne.swift:20:45: warning: main actor-isolated property 'relationship' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | public extension BasicLook.Property.Edit {
11 |
12 | struct ToOne: View, D2SRelationshipValidator {
| `- note: add '@preconcurrency' to the 'D2SRelationshipValidator' conformance to defer isolation checking to run time
13 | // Note: Wanted to do this using a "sheet". But FB7270069.
14 | // So going w/ a navigation link for now.
:
18 | @EnvironmentObject public var object : NSManagedObject
19 |
20 | @Environment(\.relationship) public var relationship
| `- warning: main actor-isolated property 'relationship' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 |
22 | public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:34:7: note: 'relationship' declared here
32 | associatedtype Object : NSManagedObject
33 |
34 | var relationship : NSRelationshipDescription { get }
| `- note: 'relationship' declared here
35 | var object : Object { get }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Relationships/EditToOne.swift:18:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | public init() {}
17 |
18 | @EnvironmentObject public var object : NSManagedObject
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 |
20 | @Environment(\.relationship) public var relationship
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/D2SEditValidation.swift:35:7: note: 'object' declared here
33 |
34 | var relationship : NSRelationshipDescription { get }
35 | var object : Object { get }
| `- note: 'object' declared here
36 |
37 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/Debug/D2SDebugFormatter.swift:10:17: warning: var 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | fileprivate var counter = 0
| |- warning: var 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'counter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | public class D2SDebugFormatter: Formatter {
Build complete! (24.25s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftuirules",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/DirectToSwift/SwiftUIRules.git"
}
],
"manifest_display_name" : "CoreDataToSwiftUI",
"name" : "CoreDataToSwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "DirectToSwiftUI",
"targets" : [
"DirectToSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DirectToSwiftUI",
"module_type" : "SwiftTarget",
"name" : "DirectToSwiftUI",
"path" : "Sources/DirectToSwiftUI",
"product_dependencies" : [
"SwiftUIRules"
],
"product_memberships" : [
"DirectToSwiftUI"
],
"sources" : [
"CoreDataRules/KVCRulePredicate.swift",
"CoreDataRules/KVCRuleSelfAssignment.swift",
"CoreDataRules/RuleKeyPathAssignment.swift",
"CoreDataRules/RuleKeyPathPredicateExtras.swift",
"CoreDataRules/RuleModelExtras.swift",
"CoreDataRules/RuleOperatorExtras.swift",
"CoreDataRules/ZeeQLRuleParser.swift",
"D2SMainView.swift",
"DefaultRules.swift",
"Environment/ContextKVC.swift",
"Environment/DefaultAssignment/DefaultAssignment.swift",
"Environment/DefaultAssignment/EntityDefaults.swift",
"Environment/DefaultAssignment/ManagedContextDefaults.swift",
"Environment/DefaultAssignment/ManagedObjectDefaults.swift",
"Environment/DefaultAssignment/ModelDefaults.swift",
"Environment/EnvironmentKeys.swift",
"Environment/EnvironmentPathes.swift",
"Environment/ViewModifiers.swift",
"Support/AppKit/D2SInspectWindow.swift",
"Support/AppKit/D2SMainWindow.swift",
"Support/AttributeValue.swift",
"Support/ComparisonOperation.swift",
"Support/CoreData/AttributeExtras.swift",
"Support/CoreData/D2SEditValidation.swift",
"Support/CoreData/DataSource.swift",
"Support/CoreData/DetailDataSource.swift",
"Support/CoreData/DummyImplementations.swift",
"Support/CoreData/EntityExtras.swift",
"Support/CoreData/FetchRequestExtras.swift",
"Support/CoreData/KVCBindings.swift",
"Support/CoreData/ManagedObjectBindings.swift",
"Support/CoreData/ModelExtras.swift",
"Support/CoreData/PredicateExtras.swift",
"Support/EquatableType.swift",
"Support/FoundationExtras.swift",
"Support/Hashes.swift",
"Support/KeyValueCodingType.swift",
"Support/Logger.swift",
"Support/Platform.swift",
"Support/ReExport.swift",
"Support/SwiftUI/D2STransformingFormatter.swift",
"Support/SwiftUI/FormatterBinding.swift",
"ViewModel/D2SDisplayGroup.swift",
"ViewModel/D2SFault.swift",
"ViewModel/D2SObjectAction.swift",
"ViewModel/D2SRuleEnvironment.swift",
"ViewModel/D2SToOneFetch.swift",
"ViewModel/SparseFaultArray.swift",
"Views/BasicLook/BasicLook.swift",
"Views/BasicLook/PageWrapper/EntityMasterDetailPage.swift",
"Views/BasicLook/PageWrapper/EntitySidebar.swift",
"Views/BasicLook/PageWrapper/MasterDetail.swift",
"Views/BasicLook/PageWrapper/NavigationPage.swift",
"Views/BasicLook/Pages/AppKit/WindowQueryList.swift",
"Views/BasicLook/Pages/Edit.swift",
"Views/BasicLook/Pages/EntityList.swift",
"Views/BasicLook/Pages/Inspect.swift",
"Views/BasicLook/Pages/Login.swift",
"Views/BasicLook/Pages/QueryList.swift",
"Views/BasicLook/Pages/Select.swift",
"Views/BasicLook/Pages/SmallQueryList.swift",
"Views/BasicLook/Pages/UIKit/MobileQueryList.swift",
"Views/BasicLook/Pages/UIKit/MobileSelect.swift",
"Views/BasicLook/Properties/Display/DisplayBool.swift",
"Views/BasicLook/Properties/Display/DisplayDate.swift",
"Views/BasicLook/Properties/Display/DisplayEmail.swift",
"Views/BasicLook/Properties/Display/DisplayPassword.swift",
"Views/BasicLook/Properties/Display/DisplayString.swift",
"Views/BasicLook/Properties/Edit/EditBool.swift",
"Views/BasicLook/Properties/Edit/EditDate.swift",
"Views/BasicLook/Properties/Edit/EditLargeString.swift",
"Views/BasicLook/Properties/Edit/EditNumber.swift",
"Views/BasicLook/Properties/Edit/EditString.swift",
"Views/BasicLook/Properties/Relationships/DisplayToOneSummary.swift",
"Views/BasicLook/Properties/Relationships/DisplayToOneTitle.swift",
"Views/BasicLook/Properties/Relationships/EditToOne.swift",
"Views/BasicLook/Reusable/D2SComponentView.swift",
"Views/BasicLook/Reusable/D2SDisplayProperties.swift",
"Views/BasicLook/Reusable/D2SDisplayPropertiesList.swift",
"Views/BasicLook/Reusable/D2SFaultContainer.swift",
"Views/BasicLook/Reusable/D2SFaultObjectLink.swift",
"Views/BasicLook/Reusable/D2SNavigationLink.swift",
"Views/BasicLook/Reusable/D2SNilText.swift",
"Views/BasicLook/Reusable/D2SPropertyName.swift",
"Views/BasicLook/Reusable/D2SRowFault.swift",
"Views/BasicLook/Reusable/D2SSummaryView.swift",
"Views/BasicLook/Reusable/D2STitleText.swift",
"Views/BasicLook/Reusable/D2STitledSummaryView.swift",
"Views/BasicLook/Reusable/D2SToOneContainer.swift",
"Views/BasicLook/Reusable/D2SToOneLink.swift",
"Views/BasicLook/Rows/NamedToManyLink.swift",
"Views/BasicLook/Rows/PropertyNameAsTitle.swift",
"Views/BasicLook/Rows/PropertyNameValue.swift",
"Views/BasicLook/Rows/PropertyValue.swift",
"Views/Debug/D2SDebugBox.swift",
"Views/Debug/D2SDebugEntityDetails.swift",
"Views/Debug/D2SDebugEntityInfo.swift",
"Views/Debug/D2SDebugFormatter.swift",
"Views/Debug/D2SDebugLabel.swift",
"Views/Debug/D2SDebugMOCInfo.swift",
"Views/Debug/D2SDebugObjectEditInfo.swift",
"Views/DefaultLook.swift",
"Views/Generic/D2SEntityPageView.swift",
"Views/Generic/D2SPageView.swift",
"Views/Misc/ListEnabledDatePicker.swift",
"Views/Misc/MultilineEditor.swift",
"Views/Misc/SearchField.swift",
"Views/Misc/Spinner.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.