Build Information
Successful build of CoreDataToSwiftUI, reference 0.1.0 (46878e
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 07:32:15 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
219 | return flag
220 | }
221 | let valueType = attribute.attributeType
| `- warning: initialization of immutable value 'valueType' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
222 |
223 | func logError() throws -> Any? {
[91/135] Compiling DirectToSwiftUI PredicateExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/ManagedObjectBindings.swift:16:1: warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
14 | }
15 |
16 | extension NSManagedObject: Identifiable {
| |- warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 |
18 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/ManagedObjectBindings.swift:221:9: warning: initialization of immutable value 'valueType' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
219 | return flag
220 | }
221 | let valueType = attribute.attributeType
| `- warning: initialization of immutable value 'valueType' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
222 |
223 | func logError() throws -> Any? {
[92/135] Compiling DirectToSwiftUI D2SDebugLabel.swift
[93/135] Compiling DirectToSwiftUI D2SDebugMOCInfo.swift
[94/135] Compiling DirectToSwiftUI D2SDebugObjectEditInfo.swift
[95/135] Compiling DirectToSwiftUI DefaultLook.swift
[96/135] Compiling DirectToSwiftUI D2SEntityPageView.swift
[97/135] Compiling DirectToSwiftUI D2SPageView.swift
[98/135] Compiling DirectToSwiftUI ListEnabledDatePicker.swift
[99/135] Compiling DirectToSwiftUI MultilineEditor.swift
[100/135] Compiling DirectToSwiftUI SearchField.swift
[101/135] Compiling DirectToSwiftUI Spinner.swift
[102/135] Emitting module DirectToSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRulePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import struct SwiftUIRules.RuleContext
11 |
12 | extension NSPredicate : RulePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | public func evaluate(in ruleContext: RuleContext) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/KVCRuleSelfAssignment.swift:39:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | * operation.
24 | */
25 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
26 | : NSObject, RuleCandidate, RuleAction
27 | {
:
37 | return ObjectIdentifier(key)
38 | }
39 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | -> Bool
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathAssignment.swift:50:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | * @see RuleAssignment
31 | */
32 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
33 | : RuleCandidate, RuleAction
34 | {
:
48 | return ObjectIdentifier(key)
49 | }
50 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
51 | -> Bool
52 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support NSManagedObject dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/CoreDataRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ComparisonOperation.swift:11:1: warning: extension declares a conformance of imported type 'Operator' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | import Foundation
10 |
11 | extension NSComparisonPredicate.Operator: Equatable {
| |- warning: extension declares a conformance of imported type 'Operator' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func ==(lhs: NSComparisonPredicate.Operator,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/CoreData/ManagedObjectBindings.swift:16:1: warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
14 | }
15 |
16 | extension NSManagedObject: Identifiable {
| |- warning: extension declares a conformance of imported type 'NSManagedObject' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'CoreData' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 |
18 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/SparseFaultArray.swift:132:22: warning: class 'IndexGlobalID' must restate inherited '@unchecked Sendable' conformance
130 | }
131 |
132 | internal final class IndexGlobalID : NSManagedObjectID {
| `- warning: class 'IndexGlobalID' must restate inherited '@unchecked Sendable' conformance
133 |
134 | private static let sharedIndexGIDs : [ IndexGlobalID ] = { // prealloc some
[103/135] Compiling DirectToSwiftUI DisplayPassword.swift
[104/135] Compiling DirectToSwiftUI DisplayString.swift
[105/135] Compiling DirectToSwiftUI EditBool.swift
[106/135] Compiling DirectToSwiftUI EditDate.swift
[107/135] Compiling DirectToSwiftUI EditLargeString.swift
[108/135] Compiling DirectToSwiftUI EditNumber.swift
[109/135] Compiling DirectToSwiftUI EditString.swift
[110/135] Compiling DirectToSwiftUI DisplayToOneSummary.swift
[111/135] Compiling DirectToSwiftUI DisplayToOneTitle.swift
[112/135] Compiling DirectToSwiftUI EditToOne.swift
[113/135] Compiling DirectToSwiftUI D2SComponentView.swift
[114/135] Compiling DirectToSwiftUI EquatableType.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[115/135] Compiling DirectToSwiftUI FoundationExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[116/135] Compiling DirectToSwiftUI Hashes.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[117/135] Compiling DirectToSwiftUI KeyValueCodingType.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[118/135] Compiling DirectToSwiftUI Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[119/135] Compiling DirectToSwiftUI Platform.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[120/135] Compiling DirectToSwiftUI ReExport.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[121/135] Compiling DirectToSwiftUI D2STransformingFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[122/135] Compiling DirectToSwiftUI FormatterBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[123/135] Compiling DirectToSwiftUI D2SDisplayGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[124/135] Compiling DirectToSwiftUI D2SFault.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/FoundationExtras.swift:89:9: warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 | }
88 |
89 | let len = count
| `- warning: initialization of immutable value 'len' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | let slen = needle.count
91 | let sc = needle.first!
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:23:25: warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
16 | where Resolver: D2SFaultResolver
17 | {
:
21 |
22 | /// Keep an object reference as unowned, to break cycles
23 | public struct Unowned<Object: AnyObject> {
| `- warning: generic parameter 'Object' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | unowned let object: Object
25 | }
[125/135] Compiling DirectToSwiftUI KVCRulePredicate.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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[126/135] Compiling DirectToSwiftUI KVCRuleSelfAssignment.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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[127/135] Compiling DirectToSwiftUI RuleKeyPathAssignment.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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[128/135] Compiling DirectToSwiftUI RuleKeyPathPredicateExtras.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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
[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/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:37:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:45:37: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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/DefaultAssignment/DefaultAssignment.swift:54:36: warning: expected member name or initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer 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 initializer call after type name; this will be an error in Swift 6
77 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
78 | }
Build complete! (13.20s)
Fetching https://github.com/DirectToSwift/SwiftUIRules.git
[1/193] Fetching swiftuirules
Fetched https://github.com/DirectToSwift/SwiftUIRules.git from cache (0.71s)
Computing version for https://github.com/DirectToSwift/SwiftUIRules.git
Computed https://github.com/DirectToSwift/SwiftUIRules.git at 0.2.0 (1.23s)
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.