Build Information
Successful build of DirectToSwiftUI with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 48
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
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 {
SwiftUI.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 | }
SwiftUI.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 {
SwiftUI.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: 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())
SwiftUI.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: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 |
SwiftUI.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.
[222/233] 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/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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 'SwiftUI' 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 'SwiftUI' 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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 {
SwiftUI.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 | }
SwiftUI.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 {
SwiftUI.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: 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())
SwiftUI.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: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 |
SwiftUI.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/233] Emitting module DirectToSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'D2SDefaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/Rule.swift:62:23: warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
48 | // Note: immutable class because it is passed around a bit (too lazy for 🐄)
49 |
50 | public struct Priority: Comparable, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Priority' conform to the 'Sendable' protocol
51 |
52 | public let rawValue : Int16
:
60 | public static let low = Priority(50)
61 | public static let veryLow = Priority(5)
62 | public static let fallback = Priority(0)
| |- warning: static property 'fallback' is not concurrency-safe because non-'Sendable' type 'Rule.Priority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallback' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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 'SwiftUI' 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 'SwiftUI' 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/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
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/EnvironmentKeys.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import class Foundation.Formatter
9 | import class ZeeQLCombine.OActiveRecord
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
11 | import protocol SwiftUIRules.DynamicEnvironmentValues
:
35 |
36 | struct database: DynamicEnvironmentKey {
37 | public static let defaultValue : Database = D2SDummyDatabase()
| |- 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/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
| |- 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/.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: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/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/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/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: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/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/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 {
SwiftUI.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 | }
SwiftUI.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 {
SwiftUI.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: 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())
SwiftUI.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: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 |
SwiftUI.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.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentPathes.swift:479:14: warning: static property 'kvcToEnvKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kvcToEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 | "database" : KVCMapEntry(D2SKeys.database .self),
481 | "debug" : KVCMapEntry(D2SKeys.debug .self),
/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/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:60:12: warning: var 'globalZeeQLLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| |- warning: var 'globalZeeQLLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalZeeQLLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalZeeQLLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:36: warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves 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: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves 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:60:12: note: var declared here
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| `- note: var declared here
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.Log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:11:1: warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
9 | import ZeeQL
10 |
11 | extension ActiveRecord: Identifiable {
| |- warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:115:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
113 |
114 | enum D2SAttributeCoercionError: Swift.Error {
115 | case failedToCoerceFromString(String?, Attribute)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
116 | }
117 |
/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/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/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/SparseFaultArray.swift:134:22: warning: static property 'sharedIndexGIDs' is not concurrency-safe because non-'Sendable' type '[IndexGlobalID]' may have shared mutable state; this is an error in the Swift 6 language mode
130 | }
131 |
132 | internal final class IndexGlobalID : GlobalID {
| `- note: class 'IndexGlobalID' does not conform to the 'Sendable' protocol
133 |
134 | private static let sharedIndexGIDs : [ IndexGlobalID ] = { // prealloc some
| |- warning: static property 'sharedIndexGIDs' is not concurrency-safe because non-'Sendable' type '[IndexGlobalID]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedIndexGIDs' 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
135 | (0...50).map(IndexGlobalID.init)
136 | }()
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditBool.swift:24:47: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | public extension BasicLook.Property.Edit {
12 |
13 | struct Bool: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
14 |
15 | typealias String = Swift.String
:
22 | @Environment(\.propertyKey) private var propertyKey
23 | @Environment(\.propertyValue) private var propertyValue
24 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
25 |
26 | private var boolValue : Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:15:7: note: 'attribute' declared here
13 | associatedtype Object : OActiveRecord
14 |
15 | var attribute : Attribute { get }
| `- note: 'attribute' declared here
16 | var object : Object { get }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditBool.swift:20:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | public init() {}
19 |
20 | @EnvironmentObject public var object : OActiveRecord
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 |
22 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:16:7: note: 'object' declared here
14 |
15 | var attribute : Attribute { get }
16 | var object : Object { get }
| `- note: 'object' declared here
17 |
18 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditDate.swift:29:56: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | public extension BasicLook.Property.Edit {
12 |
13 | struct Date: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
14 | // Note: When used inside a Form, the DatePicker (and presumably other
15 | // pickers on iOS) uses multiple List rows.
:
27 | @Environment(\.propertyKey) private var propertyKey
28 | @Environment(\.propertyValue) private var propertyValue
29 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | @Environment(\.displayNameForProperty) private var label
31 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:15:7: note: 'attribute' declared here
13 | associatedtype Object : OActiveRecord
14 |
15 | var attribute : Attribute { get }
| `- note: 'attribute' declared here
16 | var object : Object { get }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditDate.swift:25:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | public init() {}
24 |
25 | @EnvironmentObject public var object : OActiveRecord
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 |
27 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:16:7: note: 'object' declared here
14 |
15 | var attribute : Attribute { get }
16 | var object : Object { get }
| `- note: 'object' declared here
17 |
18 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditLargeString.swift:27:56: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | * Edit long strings ...
15 | */
16 | struct LargeString: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
17 |
18 | typealias String = Swift.String
:
25 | @Environment(\.propertyKey) private var propertyKey
26 | @Environment(\.displayNameForProperty) private var label
27 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 |
29 | #if os(iOS) // use UIView, NSView is prepared, needs testing.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:15:7: note: 'attribute' declared here
13 | associatedtype Object : OActiveRecord
14 |
15 | var attribute : Attribute { get }
| `- note: 'attribute' declared here
16 | var object : Object { get }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditLargeString.swift:23:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 | public init() {}
22 |
23 | @EnvironmentObject public var object : OActiveRecord
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 |
25 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:16:7: note: 'object' declared here
14 |
15 | var attribute : Attribute { get }
16 | var object : Object { get }
| `- note: 'object' declared here
17 |
18 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditNumber.swift:22:45: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | public extension BasicLook.Property.Edit {
13 |
14 | struct Number: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
15 |
16 | public init() {}
:
20 | @Environment(\.propertyKey) private var propertyKey
21 | @Environment(\.formatter) private var formatter
22 | @Environment(\.attribute) public var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 |
24 | // E.g. configure for Double etc
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:15:7: note: 'attribute' declared here
13 | associatedtype Object : OActiveRecord
14 |
15 | var attribute : Attribute { get }
| `- note: 'attribute' declared here
16 | var object : Object { get }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditNumber.swift:18:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | public init() {}
17 |
18 | @EnvironmentObject public var object : OActiveRecord
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 |
20 | @Environment(\.propertyKey) private var propertyKey
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:16:7: note: 'object' declared here
14 |
15 | var attribute : Attribute { get }
16 | var object : Object { get }
| `- note: 'object' declared here
17 |
18 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditString.swift:32:50: warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
25 | @Environment(\.displayNameForProperty) private var label
26 |
27 | private struct Labeled<V: View>: View, D2SAttributeValidator {
| `- note: add '@preconcurrency' to the 'D2SAttributeValidator' conformance to defer isolation checking to run time
28 |
29 | @ObservedObject var object : OActiveRecord
30 |
31 | @Environment(\.displayNameForProperty) private var label
32 | @Environment(\.attribute) var attribute
| `- warning: main actor-isolated property 'attribute' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
33 |
34 | let content : V
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:15:7: note: 'attribute' declared here
13 | associatedtype Object : OActiveRecord
14 |
15 | var attribute : Attribute { get }
| `- note: 'attribute' declared here
16 | var object : Object { get }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Edit/EditString.swift:29:27: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | private struct Labeled<V: View>: View, D2SAttributeValidator {
28 |
29 | @ObservedObject var object : OActiveRecord
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 |
31 | @Environment(\.displayNameForProperty) private var label
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:16:7: note: 'object' declared here
14 |
15 | var attribute : Attribute { get }
16 | var object : Object { get }
| `- note: 'object' declared here
17 |
18 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Relationships/EditToOne.swift:21:45: warning: main actor-isolated property 'relationship' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | public extension BasicLook.Property.Edit {
12 |
13 | struct ToOne: View, D2SRelationshipValidator {
| `- note: add '@preconcurrency' to the 'D2SRelationshipValidator' conformance to defer isolation checking to run time
14 | // Note: Wanted to do this using a "sheet". But FB7270069.
15 | // So going w/ a navigation link for now.
:
19 | @EnvironmentObject public var object : OActiveRecord
20 |
21 | @Environment(\.relationship) public var relationship
| `- warning: main actor-isolated property 'relationship' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:35:7: note: 'relationship' declared here
33 | associatedtype Object : OActiveRecord
34 |
35 | var relationship : Relationship { get }
| `- note: 'relationship' declared here
36 | var object : Object { get }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/Relationships/EditToOne.swift:19:35: warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | public init() {}
18 |
19 | @EnvironmentObject public var object : OActiveRecord
| `- warning: main actor-isolated property 'object' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 |
21 | @Environment(\.relationship) public var relationship
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/D2SEditValidation.swift:36:7: note: 'object' declared here
34 |
35 | var relationship : Relationship { get }
36 | var object : Object { get }
| `- note: 'object' declared here
37 |
38 | var isValid : Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/Debug/D2SDebugFormatter.swift:10:17: warning: var 'counter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | fileprivate var counter = 0
| |- warning: var 'counter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'counter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | public class D2SDebugFormatter: Formatter {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/KVCRulePredicate.swift:27:1: warning: extension declares a conformance of imported type 'KeyValueQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
25 | // to the protocol?
26 |
27 | extension KeyValueQualifier : RulePredicate {}
| |- warning: extension declares a conformance of imported type 'KeyValueQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 | extension KeyComparisonQualifier : RulePredicate {}
29 | extension BooleanQualifier : RulePredicate {}
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/KVCRulePredicate.swift:28:1: warning: extension declares a conformance of imported type 'KeyComparisonQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
26 |
27 | extension KeyValueQualifier : RulePredicate {}
28 | extension KeyComparisonQualifier : RulePredicate {}
| |- warning: extension declares a conformance of imported type 'KeyComparisonQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | extension BooleanQualifier : RulePredicate {}
30 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/KVCRulePredicate.swift:29:1: warning: extension declares a conformance of imported type 'BooleanQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
27 | extension KeyValueQualifier : RulePredicate {}
28 | extension KeyComparisonQualifier : RulePredicate {}
29 | extension BooleanQualifier : RulePredicate {}
| |- warning: extension declares a conformance of imported type 'BooleanQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
30 |
31 | extension CompoundQualifier : RulePredicate {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/KVCRulePredicate.swift:31:1: warning: extension declares a conformance of imported type 'CompoundQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
29 | extension BooleanQualifier : RulePredicate {}
30 |
31 | extension CompoundQualifier : RulePredicate {
| |- warning: extension declares a conformance of imported type 'CompoundQualifier' to imported protocol 'RulePredicate'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
32 |
33 | public var rulePredicateComplexity : Int {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/KVCRuleSelfAssignment.swift:40:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | * operation.
25 | */
26 | open class KVCRuleSelfAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
27 | : RuleCandidate, RuleAction
28 | {
:
38 | return ObjectIdentifier(key)
39 | }
40 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
41 | -> Bool
42 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/RuleClosurePredicateExtras.swift:12:1: warning: extension declares a conformance of imported type 'RuleClosurePredicate' to imported protocols 'Qualifier', 'SmartDescription', 'CustomStringConvertible', 'EquatableType', 'Expression'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
10 | import protocol ZeeQL.QualifierEvaluation
11 |
12 | extension RuleClosurePredicate: Qualifier {
| |- warning: extension declares a conformance of imported type 'RuleClosurePredicate' to imported protocols 'Qualifier', 'SmartDescription', 'CustomStringConvertible', 'EquatableType', 'Expression'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func appendToStringRepresentation(_ ms: inout String) {
14 | ms += "<RuleClosurePredicate>"
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/RuleClosurePredicateExtras.swift:21:1: warning: extension declares a conformance of imported type 'RuleClosurePredicate' to imported protocols 'QualifierEvaluation', 'ExpressionEvaluation'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
19 | }
20 |
21 | extension RuleClosurePredicate: QualifierEvaluation {
| |- warning: extension declares a conformance of imported type 'RuleClosurePredicate' to imported protocols 'QualifierEvaluation', 'ExpressionEvaluation'; this will not behave correctly if the owners of 'SwiftUIRules' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 | public func evaluateWith(object: Any?) -> Bool {
23 | guard let ruleContext = object as? RuleContext else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/RuleKeyPathAssignment.swift:51:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | * @see RuleAssignment
32 | */
33 | public struct RuleKeyPathAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
34 | : RuleCandidate, RuleAction
35 | {
:
49 | return ObjectIdentifier(key)
50 | }
51 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 | -> Bool
53 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/RuleKeyPathPredicateExtras.swift:11:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | // Any Predicates to support ActiveRecord dynamic properties.
10 |
11 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | self.init { ruleContext in
13 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/RuleKeyPathPredicateExtras.swift:16:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | }
15 | }
16 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>, value: Value?) {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | self.init { ruleContext in
18 | eq(ruleContext[keyPath: keyPath], value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/RuleKeyPathPredicateExtras.swift:22:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | }
21 |
22 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
23 | operation: SwiftUIRules.RuleComparisonOperation,
24 | value: Value)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/RuleKeyPathPredicateExtras.swift:31:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | }
30 | }
31 | init<Value>(keyPath: Swift.KeyPath<RuleContext, Any?>,
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 | operation: SwiftUIRules.RuleComparisonOperation,
33 | value: Value?)
[224/233] 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/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 |
[225/233] 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/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/233] 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/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/233] 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/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/233] 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/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/233] 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/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/233] 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/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/233] 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/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/233] 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/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/233] 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/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! (49.45s)
Fetching https://github.com/ZeeQL/ZeeQL3.git
Fetching https://github.com/DirectToSwift/SwiftUIRules.git
Fetching https://github.com/ZeeQL/ZeeQL3Combine.git
[1/193] Fetching swiftuirules
[73/264] Fetching swiftuirules, zeeql3combine
[259/2715] Fetching swiftuirules, zeeql3combine, zeeql3
Fetched https://github.com/DirectToSwift/SwiftUIRules.git from cache (1.15s)
Fetched https://github.com/ZeeQL/ZeeQL3Combine.git from cache (1.15s)
Fetched https://github.com/ZeeQL/ZeeQL3.git from cache (1.15s)
Computing version for https://github.com/ZeeQL/ZeeQL3Combine.git
Computed https://github.com/ZeeQL/ZeeQL3Combine.git at 0.1.5 (0.68s)
Computing version for https://github.com/DirectToSwift/SwiftUIRules.git
Computed https://github.com/DirectToSwift/SwiftUIRules.git at 0.2.0 (0.69s)
Computing version for https://github.com/ZeeQL/ZeeQL3.git
Computed https://github.com/ZeeQL/ZeeQL3.git at 0.9.5 (0.69s)
Fetching https://github.com/ZeeQL/CSQLite3.git
[1/41] Fetching csqlite3
Fetched https://github.com/ZeeQL/CSQLite3.git from cache (0.62s)
Computing version for https://github.com/ZeeQL/CSQLite3.git
Computed https://github.com/ZeeQL/CSQLite3.git at 2.0.3 (2.89s)
Creating working copy for https://github.com/DirectToSwift/SwiftUIRules.git
Working copy of https://github.com/DirectToSwift/SwiftUIRules.git resolved at 0.2.0
Creating working copy for https://github.com/ZeeQL/ZeeQL3.git
Working copy of https://github.com/ZeeQL/ZeeQL3.git resolved at 0.9.5
Creating working copy for https://github.com/ZeeQL/ZeeQL3Combine.git
Working copy of https://github.com/ZeeQL/ZeeQL3Combine.git resolved at 0.1.5
Creating working copy for https://github.com/ZeeQL/CSQLite3.git
Working copy of https://github.com/ZeeQL/CSQLite3.git resolved at 2.0.3
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.