Build Information
Failed to build DirectToSwiftUI, reference 0.2.0 (52a550
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 11:41:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[203/232] Compiling DirectToSwiftUI DetailDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[204/232] Compiling DirectToSwiftUI DummyImplementations.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[205/232] Compiling DirectToSwiftUI EntityExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[206/232] Compiling DirectToSwiftUI KVCBindings.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[207/232] Compiling DirectToSwiftUI ModelExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[208/232] Compiling DirectToSwiftUI D2SDisplayGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[209/232] Compiling DirectToSwiftUI D2SFault.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[210/232] Compiling DirectToSwiftUI D2SObjectAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[211/232] Compiling DirectToSwiftUI D2SRuleEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:48:22: error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
46 | }
47 |
48 | internal final class D2SDefaultAttribute: Attribute {
| |- error: type 'D2SDefaultAttribute' does not conform to protocol 'Attribute'
| `- note: add stubs for conformance
49 | var name: String { "" }
50 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:69:7: note: protocol requires property 'userData' with type '[String : Any]'
67 | var isPattern : Bool { get }
68 |
69 | var userData : [ String : Any ] { get }
| `- note: protocol requires property 'userData' with type '[String : Any]'
70 |
71 | /// A persistent ID used to track renaming when doing model-to-model
72 | /// migrations. Used in Core Data.
73 | var elementID : String? { get }
| `- note: protocol requires property 'elementID' with type 'String?'
74 |
75 | /// CoreData (e.g. for `Date` attributes)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:86:16: error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
84 | if let keys = displayPropertyKeys, let entity = dataSource.entity {
85 | self.fetchSpecification.prefetchingRelationshipKeyPathes =
86 | entity.prefetchPathesForPropertyKeys(keys)
| |- error: value of optional type '[String]?' must be unwrapped to a value of type '[String]'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:230:27: warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
228 | public func resolveFaultWithID(_ gid: GlobalID) {
229 | // Yeah, we are just prepping things for the real imp using regular GIDs
230 | if let indexGID = gid as? IndexGlobalID {
| `- warning: cast from 'GlobalID' (aka 'KeyGlobalID') to unrelated type 'IndexGlobalID' always fails
231 | return resolveFault(at: indexGID.index)
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:249:57: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
247 | let entity = fetchSpecification.entity ?? dataSource.entity
248 | let fs = fetchSpecification.range(fetchRange)
249 | assert(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true))
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
250 |
251 | let query = Query(range: fetchRange)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:326:23: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
324 |
325 | // We NEED a sort ordering (unless we prefetch all IDs)
326 | if (fs.sortOrderings?.count ?? 0) == 0 {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
327 | fs.sortOrderings = dataSource.entity?.d2s.defaultSortOrderings ?? []
328 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SDisplayGroup.swift:330:55: error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
328 | }
329 | #if os(macOS)
330 | if !(fs.sortOrderings != nil && !(fs.sortOrderings?.isEmpty ?? true)) {
| `- error: cannot use optional chaining on non-optional value of type '[SortOrdering]'
331 | globalD2SLogger.error("got no sort orderings for fetchspec:", fs)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:9:14: error: 'GlobalID' was imported as 'class', but is a struct
7 |
8 | import protocol Swift.Identifiable
9 | import class ZeeQL.GlobalID
| `- error: 'GlobalID' was imported as 'class', but is a struct
10 |
11 | public protocol D2SFaultResolver: AnyObject {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/GlobalID.swift:17:18: note: 'GlobalID' declared here
15 | // This could also be a protocol, but again, this just overcomplicates the thing
16 | // and right now we only really need KeyGlobalID's for ZeeQL.
17 | public typealias GlobalID = KeyGlobalID
| `- note: 'GlobalID' declared here
18 |
19 | public typealias SingleIntKeyGlobalID = KeyGlobalID // compact to object version
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:22: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
14 | }
15 |
16 | public enum D2SFault<Object /*: AnyObject*/, Resolver>
| `- note: 'Object' previously declared here
17 | where Resolver: D2SFaultResolver
18 | {
:
20 |
21 | /// Keep an object reference as unowned, to break cycles
22 | 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
23 | unowned let object: Object
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SFault.swift:30:29: error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
28 | }
29 | init(index: Int, resolver: Resolver) {
30 | self.init(IndexGlobalID.make(index), resolver)
| `- error: cannot convert value of type 'IndexGlobalID' to expected argument type 'GlobalID' (aka 'KeyGlobalID')
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:34:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
32 |
33 | ruleContext = RuleContext(ruleModel: ruleModel)
34 | ruleContext[D2SKeys.database] = Database(adaptor: adaptor)
| | |- note: add 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
35 |
36 | if let model = adaptor.model {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ViewModel/D2SRuleEnvironment.swift:43:17: warning: expected member name or initializer call after type name; this will be an error in Swift 6
41 | private func setupWithModel(_ model: Model) {
42 | self.databaseModel = model
43 | ruleContext[D2SKeys.model] = 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
44 | }
45 |
[212/232] Compiling DirectToSwiftUI D2STitleText.swift
[213/232] Compiling DirectToSwiftUI D2STitledSummaryView.swift
[214/232] Compiling DirectToSwiftUI D2SToOneContainer.swift
[215/232] Compiling DirectToSwiftUI D2SToOneLink.swift
[216/232] Compiling DirectToSwiftUI NamedToManyLink.swift
[217/232] Compiling DirectToSwiftUI PropertyNameAsTitle.swift
[218/232] Compiling DirectToSwiftUI PropertyNameValue.swift
[219/232] Compiling DirectToSwiftUI PropertyValue.swift
[220/232] Compiling DirectToSwiftUI D2SDebugBox.swift
[221/232] Compiling DirectToSwiftUI D2SDebugDatabaseInfo.swift
[222/232] Compiling DirectToSwiftUI D2SMainView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[223/232] Compiling DirectToSwiftUI DefaultRules.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[224/232] Compiling DirectToSwiftUI ContextKVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[225/232] Compiling DirectToSwiftUI ActiveRecordDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[226/232] Compiling DirectToSwiftUI DatabaseDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[227/232] Compiling DirectToSwiftUI DefaultAssignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[228/232] Compiling DirectToSwiftUI EntityDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[229/232] Compiling DirectToSwiftUI ModelDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[230/232] Compiling DirectToSwiftUI EnvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[231/232] Compiling DirectToSwiftUI EnvironmentPathes.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
[232/232] Compiling DirectToSwiftUI ViewModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:12:1: warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
10 | import struct SwiftUI.EnvironmentValues
11 |
12 | extension EnvironmentValues: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'EnvironmentValues' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/ContextKVC.swift:23:1: warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
21 | }
22 |
23 | extension RuleContext: KeyValueCodingType {
| |- warning: extension declares a conformance of imported type 'RuleContext' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 |
25 | /**
/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 <= \.database.model // '!'
27 | guard let model = ruleContext[D2SKeys.database].model else {
| | |- note: add 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 | return D2SKeys.model.defaultValue
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
34 | static var attribute: A<D2SKeys.attribute> {
35 | .init { ruleContext in
36 | 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
37 | let propertyKey = ruleContext[D2SKeys.propertyKey]
38 | return entity[attribute: propertyKey]
/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 | .init { ruleContext in
36 | let entity = ruleContext[D2SKeys.entity]
37 | 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
38 | return entity[attribute: propertyKey]
39 | ?? D2SKeys.attribute.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
42 | static var relationship: A<D2SKeys.relationship> {
43 | .init { ruleContext in
44 | 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
45 | let propertyKey = ruleContext[D2SKeys.propertyKey]
46 | return entity[relationship: propertyKey]
/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 | .init { ruleContext in
44 | let entity = ruleContext[D2SKeys.entity]
45 | 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
46 | return entity[relationship: propertyKey]
47 | ?? D2SKeys.relationship.defaultValue
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or initializer call after type name; this will be an error in Swift 6
51 | static var isEntityReadOnly: A<D2SKeys.isEntityReadOnly> {
52 | .init { ruleContext in
53 | 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
54 | let roEntities = ruleContext[D2SKeys.readOnlyEntityNames]
55 | return roEntities.contains(entity.name)
/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 | .init { ruleContext in
53 | let entity = ruleContext[D2SKeys.entity]
54 | 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
55 | return roEntities.contains(entity.name)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:59:41: warning: expected member name or initializer call after type name; this will be an error in Swift 6
57 | }
58 | static var isObjectEditable: A<D2SKeys.isObjectEditable> {
59 | .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
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:62:40: warning: expected member name or initializer call after type name; this will be an error in Swift 6
60 | }
61 | static var isObjectDeletable: A<D2SKeys.isObjectDeletable> {
62 | .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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:67:37: warning: expected member name or initializer call after type name; this will be an error in Swift 6
65 | static var propertyValue: A<D2SKeys.propertyValue> {
66 | .init { ruleContext in
67 | 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
68 | let propertyKey = ruleContext[D2SKeys.propertyKey]
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
/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 | .init { ruleContext in
67 | let object = ruleContext[D2SKeys.object]
68 | 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
69 | return KeyValueCoding.value(forKeyPath: propertyKey, inObject: object)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:75:31: warning: expected member name or initializer call after type name; this will be an error in Swift 6
73 | static var loginEntity: A<D2SKeys.entity> {
74 | .init { ruleContext in
75 | 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
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
BUILD FAILURE 6.1 macosSpm