Build Information
Successful build of CoreDataToSwiftUI with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 48
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| | `- 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 non-isolated 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 non-isolated 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:)")
[129/135] Compiling DirectToSwiftUI RuleModelExtras.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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' 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
63 |
64 | @inlinable
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 RuleOperatorExtras.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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' 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
63 |
64 | @inlinable
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' 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
63 |
64 | @inlinable
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' 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
63 |
64 | @inlinable
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' 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
63 |
64 | @inlinable
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' 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
63 |
64 | @inlinable
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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] 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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' 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
63 |
64 | @inlinable
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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:)")
Build complete! (43.43s)
Fetching https://github.com/DirectToSwift/SwiftUIRules.git
[1/193] Fetching swiftuirules
Fetched https://github.com/DirectToSwift/SwiftUIRules.git from cache (0.73s)
Computing version for https://github.com/DirectToSwift/SwiftUIRules.git
Computed https://github.com/DirectToSwift/SwiftUIRules.git at 0.2.0 (0.65s)
Creating working copy for https://github.com/DirectToSwift/SwiftUIRules.git
Working copy of https://github.com/DirectToSwift/SwiftUIRules.git resolved at 0.2.0
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.