Build Information
Successful build of DirectToSwiftUI, reference 0.2.0 (52a550
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 16:23:54 UTC.
Swift 6 data race errors: 48
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:100:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
98 |
99 | struct page: DynamicEnvironmentKey {
100 | public static let defaultValue : AnyView = AnyView(Text("No Page?"))
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:144:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
142 |
143 | struct initialPropertyValues: DynamicEnvironmentKey {
144 | public static let defaultValue : [ String : Any? ] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | }
146 | struct creationTimestampPropertyKey: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:177:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | struct platform: DynamicEnvironmentKey {
177 | public static let defaultValue = Platform.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | }
179 | struct look: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Platform.swift:8:13: note: consider making enum 'Platform' conform to the 'Sendable' protocol
6 | //
7 |
8 | public enum Platform: Hashable {
| `- note: consider making enum 'Platform' conform to the 'Sendable' protocol
9 |
10 | case desktop, watch, phone, pad, tv
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:187:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord?' may have shared mutable state; this is an error in the Swift 6 language mode
185 |
186 | struct user: DynamicEnvironmentKey {
187 | public static let defaultValue: OActiveRecord? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:201:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any Qualifier)?' may have shared mutable state; this is an error in the Swift 6 language mode
199 |
200 | struct auxiliaryQualifier : DynamicEnvironmentKey {
201 | public static let defaultValue: Qualifier? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any Qualifier)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/Qualifier.swift:9:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
7 | //
8 |
9 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
10 | // TBD: A protocol because there are multiple different, and extendable versions
11 | // of this. You cannot add new qualifiers to an enum.
[223/234] Compiling DirectToSwiftUI EnvironmentPathes.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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/EnvironmentPathes.swift:479:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 | "database" : KVCMapEntry(D2SKeys.database .self),
481 | "debug" : KVCMapEntry(D2SKeys.debug .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:54:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord' may have shared mutable state; this is an error in the Swift 6 language mode
52 | // TBD: This one should really be an EnvironmentObject, but how
53 | // would we do this? More in the keypath \.object.
54 | public static let defaultValue : OActiveRecord = .init()
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord' may have shared mutable state; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQLCombine'
7 |
8 | import class Foundation.Formatter
9 | import class ZeeQLCombine.OActiveRecord
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQLCombine'
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
11 | import protocol SwiftUIRules.DynamicEnvironmentValues
:
52 | // TBD: This one should really be an EnvironmentObject, but how
53 | // would we do this? More in the keypath \.object.
54 | public static let defaultValue : OActiveRecord = .init()
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:37:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Database' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | struct database: DynamicEnvironmentKey {
37 | public static let defaultValue : Database = D2SDummyDatabase()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Database' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Database.swift:26:12: note: class 'Database' does not conform to the 'Sendable' protocol
24 | *
25 | */
26 | open class Database : EquatableType, Equatable {
| `- note: class 'Database' does not conform to the 'Sendable' protocol
27 |
28 | open var log : ZeeQLLogger = globalZeeQLLogger
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
25 | // Hm, this recursion won't fly:
26 | // \.model.d2s.isDefault == true => \.model <= \.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 constructor 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/EnvironmentKeys.swift:68:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Model' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | struct model: DynamicEnvironmentKey {
68 | public static let defaultValue : Model = D2SDefaultModel()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Model' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Model.swift:88:12: note: class 'Model' does not conform to the 'Sendable' protocol
86 | *
87 | */
88 | open class Model : SmartDescription, EquatableType, Equatable {
| `- note: class 'Model' does not conform to the 'Sendable' protocol
89 | // TODO: actually implement pattern models
90 | // TODO: add loading
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor 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/EnvironmentKeys.swift:83:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
81 | */
82 | struct attribute: DynamicEnvironmentKey {
83 | public static let defaultValue : Attribute = D2SDefaultAttribute()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:35:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
33 | * transformation, so it _can_ use an index)
34 | */
35 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
36 | SmartDescription
37 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor 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/EnvironmentKeys.swift:94:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Relationship' may have shared mutable state; this is an error in the Swift 6 language mode
92 | */
93 | struct relationship: DynamicEnvironmentKey {
94 | public static let defaultValue : Relationship = D2SDefaultRelationship()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Relationship' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | }
96 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Relationship.swift:14:17: note: protocol 'Relationship' does not conform to the 'Sendable' protocol
12 | * so you need to have separate `Relationship` objects for each direction.
13 | */
14 | public protocol Relationship : Property, ExpressionEvaluation,
| `- note: protocol 'Relationship' does not conform to the 'Sendable' protocol
15 | SmartDescription
16 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:72:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Entity' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | struct entity: DynamicEnvironmentKey {
72 | public static let defaultValue : Entity = D2SDefaultEntity.shared
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Entity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Entity.swift:20:17: note: protocol 'Entity' does not conform to the 'Sendable' protocol
18 | * involve incomplete attribute sets or a pattern name.
19 | */
20 | public protocol Entity: AnyObject, EquatableType, SmartDescription {
| `- note: protocol 'Entity' does not conform to the 'Sendable' protocol
21 |
22 | var name : String { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:62:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | struct propertyValue: DynamicEnvironmentKey {
62 | public static let defaultValue : Any? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:100:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
98 |
99 | struct page: DynamicEnvironmentKey {
100 | public static let defaultValue : AnyView = AnyView(Text("No Page?"))
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:144:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
142 |
143 | struct initialPropertyValues: DynamicEnvironmentKey {
144 | public static let defaultValue : [ String : Any? ] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | }
146 | struct creationTimestampPropertyKey: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:177:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | struct platform: DynamicEnvironmentKey {
177 | public static let defaultValue = Platform.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | }
179 | struct look: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Platform.swift:8:13: note: consider making enum 'Platform' conform to the 'Sendable' protocol
6 | //
7 |
8 | public enum Platform: Hashable {
| `- note: consider making enum 'Platform' conform to the 'Sendable' protocol
9 |
10 | case desktop, watch, phone, pad, tv
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:187:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord?' may have shared mutable state; this is an error in the Swift 6 language mode
185 |
186 | struct user: DynamicEnvironmentKey {
187 | public static let defaultValue: OActiveRecord? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:201:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any Qualifier)?' may have shared mutable state; this is an error in the Swift 6 language mode
199 |
200 | struct auxiliaryQualifier : DynamicEnvironmentKey {
201 | public static let defaultValue: Qualifier? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any Qualifier)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/Qualifier.swift:9:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
7 | //
8 |
9 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
10 | // TBD: A protocol because there are multiple different, and extendable versions
11 | // of this. You cannot add new qualifiers to an enum.
[224/234] Compiling DirectToSwiftUI ViewModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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/EnvironmentPathes.swift:479:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 | "database" : KVCMapEntry(D2SKeys.database .self),
481 | "debug" : KVCMapEntry(D2SKeys.debug .self),
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:54:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord' may have shared mutable state; this is an error in the Swift 6 language mode
52 | // TBD: This one should really be an EnvironmentObject, but how
53 | // would we do this? More in the keypath \.object.
54 | public static let defaultValue : OActiveRecord = .init()
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord' may have shared mutable state; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQLCombine'
7 |
8 | import class Foundation.Formatter
9 | import class ZeeQLCombine.OActiveRecord
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQLCombine'
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
11 | import protocol SwiftUIRules.DynamicEnvironmentValues
:
52 | // TBD: This one should really be an EnvironmentObject, but how
53 | // would we do this? More in the keypath \.object.
54 | public static let defaultValue : OActiveRecord = .init()
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:37:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Database' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | struct database: DynamicEnvironmentKey {
37 | public static let defaultValue : Database = D2SDummyDatabase()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Database' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Database.swift:26:12: note: class 'Database' does not conform to the 'Sendable' protocol
24 | *
25 | */
26 | open class Database : EquatableType, Equatable {
| `- note: class 'Database' does not conform to the 'Sendable' protocol
27 |
28 | open var log : ZeeQLLogger = globalZeeQLLogger
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:27:37: warning: expected member name or constructor call after type name; this will be an error in Swift 6
25 | // Hm, this recursion won't fly:
26 | // \.model.d2s.isDefault == true => \.model <= \.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 constructor 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/EnvironmentKeys.swift:68:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Model' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | struct model: DynamicEnvironmentKey {
68 | public static let defaultValue : Model = D2SDefaultModel()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Model' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Model.swift:88:12: note: class 'Model' does not conform to the 'Sendable' protocol
86 | *
87 | */
88 | open class Model : SmartDescription, EquatableType, Equatable {
| `- note: class 'Model' does not conform to the 'Sendable' protocol
89 | // TODO: actually implement pattern models
90 | // TODO: add loading
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:36:37: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor 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/EnvironmentKeys.swift:83:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
81 | */
82 | struct attribute: DynamicEnvironmentKey {
83 | public static let defaultValue : Attribute = D2SDefaultAttribute()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift:35:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
33 | * transformation, so it _can_ use an index)
34 | */
35 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
36 | SmartDescription
37 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:44:37: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor 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/EnvironmentKeys.swift:94:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Relationship' may have shared mutable state; this is an error in the Swift 6 language mode
92 | */
93 | struct relationship: DynamicEnvironmentKey {
94 | public static let defaultValue : Relationship = D2SDefaultRelationship()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Relationship' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | }
96 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Relationship.swift:14:17: note: protocol 'Relationship' does not conform to the 'Sendable' protocol
12 | * so you need to have separate `Relationship` objects for each direction.
13 | */
14 | public protocol Relationship : Property, ExpressionEvaluation,
| `- note: protocol 'Relationship' does not conform to the 'Sendable' protocol
15 | SmartDescription
16 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/DefaultAssignment.swift:53:36: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
76 | return model.lookupUserDatabaseEntity() ?? D2SKeys.entity.defaultValue
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:72:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Entity' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | struct entity: DynamicEnvironmentKey {
72 | public static let defaultValue : Entity = D2SDefaultEntity.shared
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any Entity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Entity.swift:20:17: note: protocol 'Entity' does not conform to the 'Sendable' protocol
18 | * involve incomplete attribute sets or a pattern name.
19 | */
20 | public protocol Entity: AnyObject, EquatableType, SmartDescription {
| `- note: protocol 'Entity' does not conform to the 'Sendable' protocol
21 |
22 | var name : String { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:62:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | struct propertyValue: DynamicEnvironmentKey {
62 | public static let defaultValue : Any? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:100:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
98 |
99 | struct page: DynamicEnvironmentKey {
100 | public static let defaultValue : AnyView = AnyView(Text("No Page?"))
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:144:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
142 |
143 | struct initialPropertyValues: DynamicEnvironmentKey {
144 | public static let defaultValue : [ String : Any? ] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : Any?]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | }
146 | struct creationTimestampPropertyKey: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:177:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | struct platform: DynamicEnvironmentKey {
177 | public static let defaultValue = Platform.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Platform' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | }
179 | struct look: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/Platform.swift:8:13: note: consider making enum 'Platform' conform to the 'Sendable' protocol
6 | //
7 |
8 | public enum Platform: Hashable {
| `- note: consider making enum 'Platform' conform to the 'Sendable' protocol
9 |
10 | case desktop, watch, phone, pad, tv
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:187:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord?' may have shared mutable state; this is an error in the Swift 6 language mode
185 |
186 | struct user: DynamicEnvironmentKey {
187 | public static let defaultValue: OActiveRecord? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'OActiveRecord?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:201:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any Qualifier)?' may have shared mutable state; this is an error in the Swift 6 language mode
199 |
200 | struct auxiliaryQualifier : DynamicEnvironmentKey {
201 | public static let defaultValue: Qualifier? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(any Qualifier)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | }
203 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Control/Qualifier.swift:9:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
7 | //
8 |
9 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
10 | // TBD: A protocol because there are multiple different, and extendable versions
11 | // of this. You cannot add new qualifiers to an enum.
[225/234] Compiling DirectToSwiftUI D2SEditValidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[226/234] Compiling DirectToSwiftUI DetailDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[227/234] Compiling DirectToSwiftUI DummyImplementations.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[228/234] Compiling DirectToSwiftUI EntityExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[229/234] Compiling DirectToSwiftUI KVCBindings.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[230/234] Compiling DirectToSwiftUI ModelExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[231/234] Compiling DirectToSwiftUI D2SDisplayGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[232/234] Compiling DirectToSwiftUI D2SFault.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[233/234] Compiling DirectToSwiftUI D2SObjectAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
[234/234] Compiling DirectToSwiftUI D2SRuleEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: annotate 'globalD2SLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:143:33: warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 | // TBD: Why isn't this public? I guess because we are supposed to
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
| `- warning: capture of 'self' with non-sendable type 'OActiveRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | promise(.success(destination))
145 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3Combine/Sources/ZeeQLCombine/OActiveRecord.swift:20:12: note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
18 | */
19 | @available(iOS 13, tvOS 13, watchOS 6, OSX 10.15, *)
20 | open class OActiveRecord : ActiveRecord, ObservableObject {
| `- note: class 'OActiveRecord' does not conform to the 'Sendable' protocol
21 | // Looks like we can't add this to the `ActiveRecord` using @availability
22 | // features.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DetailDataSource.swift:144:11: warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | // set the FS on the datasource.
143 | let destination = try self.primaryFetchToOneRelationship(propertyKey)
144 | promise(.success(destination))
| |- warning: capture of 'promise' with non-sendable type '(Result<OActiveRecord?, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/DummyImplementations.swift:41:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | internal final class D2SDefaultEntity: Entity {
| `- note: class 'D2SDefaultEntity' does not conform to the 'Sendable' protocol
41 | static let shared = D2SDefaultEntity()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'D2SDefaultEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | var name : String { "" }
43 | var isPattern : Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:23:53: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | if let object = object {
22 | return Binding<Any?>(get: {
23 | KeyValueCoding.value(forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }) {
25 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:27:73: warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | newValue in
26 | do {
27 | try KeyValueCoding.takeValue(newValue, forKey: key, inObject: object)
| `- warning: capture of 'object' with non-sendable type 'Any' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | catch {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:49:7: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | {
48 | return Binding<Any?>(get: {
49 | object.value(forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | }) {
51 | newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/KVCBindings.swift:53:13: warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | newValue in
52 | do {
53 | try object.takeValue(newValue, forKey: key)
| `- warning: capture of 'object' with non-sendable type 'any KeyValueCodingType & MutableKeyValueCodingType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | catch {
/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/D2SRuleEnvironment.swift:34:17: warning: expected member name or constructor 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 constructor 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 constructor 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 constructor call after type name; this will be an error in Swift 6
44 | }
45 |
Build complete! (32.54s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftuirules",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/DirectToSwift/SwiftUIRules.git"
},
{
"identity" : "zeeql3",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ZeeQL/ZeeQL3.git"
},
{
"identity" : "zeeql3combine",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ZeeQL/ZeeQL3Combine.git"
}
],
"manifest_display_name" : "DirectToSwiftUI",
"name" : "DirectToSwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "DirectToSwiftUI",
"targets" : [
"DirectToSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DirectToSwiftUI",
"module_type" : "SwiftTarget",
"name" : "DirectToSwiftUI",
"path" : "Sources/DirectToSwiftUI",
"product_dependencies" : [
"SwiftUIRules",
"ZeeQL",
"ZeeQLCombine"
],
"product_memberships" : [
"DirectToSwiftUI"
],
"sources" : [
"D2SMainView.swift",
"DefaultRules.swift",
"Environment/ContextKVC.swift",
"Environment/DefaultAssignment/ActiveRecordDefaults.swift",
"Environment/DefaultAssignment/DatabaseDefaults.swift",
"Environment/DefaultAssignment/DefaultAssignment.swift",
"Environment/DefaultAssignment/EntityDefaults.swift",
"Environment/DefaultAssignment/ModelDefaults.swift",
"Environment/EnvironmentKeys.swift",
"Environment/EnvironmentPathes.swift",
"Environment/ViewModifiers.swift",
"Support/AppKit/D2SInspectWindow.swift",
"Support/AppKit/D2SMainWindow.swift",
"Support/FoundationExtras.swift",
"Support/Hashes.swift",
"Support/Platform.swift",
"Support/ReExport.swift",
"Support/SwiftUI/D2STransformingFormatter.swift",
"Support/SwiftUI/FormatterBinding.swift",
"Support/ZeeQL/ActiveRecordBindings.swift",
"Support/ZeeQL/AttributeExtras.swift",
"Support/ZeeQL/D2SEditValidation.swift",
"Support/ZeeQL/DetailDataSource.swift",
"Support/ZeeQL/DummyImplementations.swift",
"Support/ZeeQL/EntityExtras.swift",
"Support/ZeeQL/KVCBindings.swift",
"Support/ZeeQL/ModelExtras.swift",
"ViewModel/D2SDisplayGroup.swift",
"ViewModel/D2SFault.swift",
"ViewModel/D2SObjectAction.swift",
"ViewModel/D2SRuleEnvironment.swift",
"ViewModel/D2SToOneFetch.swift",
"ViewModel/SparseFaultArray.swift",
"Views/BasicLook/BasicLook.swift",
"Views/BasicLook/PageWrapper/EntityMasterDetailPage.swift",
"Views/BasicLook/PageWrapper/EntitySidebar.swift",
"Views/BasicLook/PageWrapper/MasterDetail.swift",
"Views/BasicLook/PageWrapper/NavigationPage.swift",
"Views/BasicLook/Pages/AppKit/WindowQueryList.swift",
"Views/BasicLook/Pages/Edit.swift",
"Views/BasicLook/Pages/EntityList.swift",
"Views/BasicLook/Pages/Inspect.swift",
"Views/BasicLook/Pages/Login.swift",
"Views/BasicLook/Pages/QueryList.swift",
"Views/BasicLook/Pages/Select.swift",
"Views/BasicLook/Pages/SmallQueryList.swift",
"Views/BasicLook/Pages/UIKit/MobileQueryList.swift",
"Views/BasicLook/Pages/UIKit/MobileSelect.swift",
"Views/BasicLook/Properties/Display/DisplayBool.swift",
"Views/BasicLook/Properties/Display/DisplayDate.swift",
"Views/BasicLook/Properties/Display/DisplayEmail.swift",
"Views/BasicLook/Properties/Display/DisplayPassword.swift",
"Views/BasicLook/Properties/Display/DisplayString.swift",
"Views/BasicLook/Properties/Edit/EditBool.swift",
"Views/BasicLook/Properties/Edit/EditDate.swift",
"Views/BasicLook/Properties/Edit/EditLargeString.swift",
"Views/BasicLook/Properties/Edit/EditNumber.swift",
"Views/BasicLook/Properties/Edit/EditString.swift",
"Views/BasicLook/Properties/Relationships/DisplayToOneSummary.swift",
"Views/BasicLook/Properties/Relationships/DisplayToOneTitle.swift",
"Views/BasicLook/Properties/Relationships/EditToOne.swift",
"Views/BasicLook/Reusable/D2SComponentView.swift",
"Views/BasicLook/Reusable/D2SDisplayProperties.swift",
"Views/BasicLook/Reusable/D2SDisplayPropertiesList.swift",
"Views/BasicLook/Reusable/D2SFaultContainer.swift",
"Views/BasicLook/Reusable/D2SFaultObjectLink.swift",
"Views/BasicLook/Reusable/D2SNavigationLink.swift",
"Views/BasicLook/Reusable/D2SNilText.swift",
"Views/BasicLook/Reusable/D2SPropertyName.swift",
"Views/BasicLook/Reusable/D2SRowFault.swift",
"Views/BasicLook/Reusable/D2SSummaryView.swift",
"Views/BasicLook/Reusable/D2STitleText.swift",
"Views/BasicLook/Reusable/D2STitledSummaryView.swift",
"Views/BasicLook/Reusable/D2SToOneContainer.swift",
"Views/BasicLook/Reusable/D2SToOneLink.swift",
"Views/BasicLook/Rows/NamedToManyLink.swift",
"Views/BasicLook/Rows/PropertyNameAsTitle.swift",
"Views/BasicLook/Rows/PropertyNameValue.swift",
"Views/BasicLook/Rows/PropertyValue.swift",
"Views/Debug/D2SDebugBox.swift",
"Views/Debug/D2SDebugDatabaseInfo.swift",
"Views/Debug/D2SDebugEntityDetails.swift",
"Views/Debug/D2SDebugEntityInfo.swift",
"Views/Debug/D2SDebugFormatter.swift",
"Views/Debug/D2SDebugLabel.swift",
"Views/Debug/D2SDebugObjectEditInfo.swift",
"Views/DefaultLook.swift",
"Views/Generic/D2SEntityPageView.swift",
"Views/Generic/D2SPageView.swift",
"Views/Misc/ListEnabledDatePicker.swift",
"Views/Misc/MultilineEditor.swift",
"Views/Misc/SearchField.swift",
"Views/Misc/Spinner.swift",
"ZeeQLRules/KVCRulePredicate.swift",
"ZeeQLRules/KVCRuleSelfAssignment.swift",
"ZeeQLRules/RuleClosurePredicateExtras.swift",
"ZeeQLRules/RuleKeyPathAssignment.swift",
"ZeeQLRules/RuleKeyPathPredicateExtras.swift",
"ZeeQLRules/RuleModelExtras.swift",
"ZeeQLRules/RuleOperatorExtras.swift",
"ZeeQLRules/ZeeQLRuleParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.