Build Information
Successful build of DirectToSwiftUI, reference develop (f7995e), with Swift 6.1 for macOS (SPM) on 10 Nov 2026 13:40:50 UTC.
Swift 6 data race errors: 42
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h:51:12: note: class 'Formatter' does not conform to the 'Sendable' protocol
49 | // This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
50 | NS_HEADER_AUDIT_END(sendability)
51 | @interface NSFormatter : NSObject <NSCopying, NSCoding>
| `- note: class 'Formatter' does not conform to the 'Sendable' protocol
52 |
53 | - (nullable NSString *)stringForObjectValue:(nullable id)obj;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import class Foundation.Formatter
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 | import class ZeeQLCombine.OActiveRecord
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
:
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:13:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
11 | * `WHERE` statement.
12 | */
13 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
14 | // TBD: A protocol because there are multiple different, and extendable versions
15 | // 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kvcToEnvKey' part of global actor 'MainActor'
| `- 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),
[228/233] Compiling DirectToSwiftUI DefaultAssignment.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: add '@MainActor' to make let 'D2SDefaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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, SmartDescription {
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:44:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
42 | * - ``CodeValueAttribute``
43 | */
44 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
45 | SmartDescription
46 | {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h:51:12: note: class 'Formatter' does not conform to the 'Sendable' protocol
49 | // This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
50 | NS_HEADER_AUDIT_END(sendability)
51 | @interface NSFormatter : NSObject <NSCopying, NSCoding>
| `- note: class 'Formatter' does not conform to the 'Sendable' protocol
52 |
53 | - (nullable NSString *)stringForObjectValue:(nullable id)obj;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import class Foundation.Formatter
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 | import class ZeeQLCombine.OActiveRecord
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
:
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:13:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
11 | * `WHERE` statement.
12 | */
13 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
14 | // TBD: A protocol because there are multiple different, and extendable versions
15 | // 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kvcToEnvKey' part of global actor 'MainActor'
| `- 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),
[229/233] Compiling DirectToSwiftUI EntityDefaults.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: add '@MainActor' to make let 'D2SDefaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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, SmartDescription {
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:44:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
42 | * - ``CodeValueAttribute``
43 | */
44 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
45 | SmartDescription
46 | {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h:51:12: note: class 'Formatter' does not conform to the 'Sendable' protocol
49 | // This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
50 | NS_HEADER_AUDIT_END(sendability)
51 | @interface NSFormatter : NSObject <NSCopying, NSCoding>
| `- note: class 'Formatter' does not conform to the 'Sendable' protocol
52 |
53 | - (nullable NSString *)stringForObjectValue:(nullable id)obj;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import class Foundation.Formatter
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 | import class ZeeQLCombine.OActiveRecord
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
:
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:13:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
11 | * `WHERE` statement.
12 | */
13 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
14 | // TBD: A protocol because there are multiple different, and extendable versions
15 | // 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kvcToEnvKey' part of global actor 'MainActor'
| `- 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),
[230/233] Compiling DirectToSwiftUI ModelDefaults.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: add '@MainActor' to make let 'D2SDefaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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, SmartDescription {
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:44:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
42 | * - ``CodeValueAttribute``
43 | */
44 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
45 | SmartDescription
46 | {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h:51:12: note: class 'Formatter' does not conform to the 'Sendable' protocol
49 | // This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
50 | NS_HEADER_AUDIT_END(sendability)
51 | @interface NSFormatter : NSObject <NSCopying, NSCoding>
| `- note: class 'Formatter' does not conform to the 'Sendable' protocol
52 |
53 | - (nullable NSString *)stringForObjectValue:(nullable id)obj;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import class Foundation.Formatter
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 | import class ZeeQLCombine.OActiveRecord
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
:
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:13:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
11 | * `WHERE` statement.
12 | */
13 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
14 | // TBD: A protocol because there are multiple different, and extendable versions
15 | // 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kvcToEnvKey' part of global actor 'MainActor'
| `- 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),
[231/233] Compiling DirectToSwiftUI EnvironmentKeys.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: add '@MainActor' to make let 'D2SDefaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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, SmartDescription {
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:44:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
42 | * - ``CodeValueAttribute``
43 | */
44 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
45 | SmartDescription
46 | {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h:51:12: note: class 'Formatter' does not conform to the 'Sendable' protocol
49 | // This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
50 | NS_HEADER_AUDIT_END(sendability)
51 | @interface NSFormatter : NSObject <NSCopying, NSCoding>
| `- note: class 'Formatter' does not conform to the 'Sendable' protocol
52 |
53 | - (nullable NSString *)stringForObjectValue:(nullable id)obj;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import class Foundation.Formatter
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 | import class ZeeQLCombine.OActiveRecord
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
:
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:13:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
11 | * `WHERE` statement.
12 | */
13 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
14 | // TBD: A protocol because there are multiple different, and extendable versions
15 | // 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kvcToEnvKey' part of global actor 'MainActor'
| `- 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),
[232/233] Compiling DirectToSwiftUI EnvironmentPathes.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| |- warning: let 'D2SDefaultRules' is not concurrency-safe because non-'Sendable' type 'RuleModel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'D2SDefaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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, SmartDescription {
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:44:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
42 | * - ``CodeValueAttribute``
43 | */
44 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
45 | SmartDescription
46 | {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h:51:12: note: class 'Formatter' does not conform to the 'Sendable' protocol
49 | // This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
50 | NS_HEADER_AUDIT_END(sendability)
51 | @interface NSFormatter : NSObject <NSCopying, NSCoding>
| `- note: class 'Formatter' does not conform to the 'Sendable' protocol
52 |
53 | - (nullable NSString *)stringForObjectValue:(nullable id)obj;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import class Foundation.Formatter
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 | import class ZeeQLCombine.OActiveRecord
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
:
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:13:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
11 | * `WHERE` statement.
12 | */
13 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
14 | // TBD: A protocol because there are multiple different, and extendable versions
15 | // 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kvcToEnvKey' part of global actor 'MainActor'
| `- 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),
[233/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: add '@MainActor' to make let 'D2SDefaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIRules/Sources/SwiftUIRules/RuleModel.swift:35:20: note: class 'RuleModel' does not conform to the 'Sendable' protocol
33 | * Though rules can also be constructed manually and then added using `addRule`.
34 | */
35 | public final class RuleModel {
| `- note: class 'RuleModel' does not conform to the 'Sendable' protocol
36 |
37 | let fallbackModel: RuleModel? // kinda the model group?
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DefaultRules.swift:22:12: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
20 | *
21 | */
22 | public let D2SDefaultRules : RuleModel = [
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | // set to true in your model if you want the red debug views
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/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, SmartDescription {
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:44:17: note: protocol 'Attribute' does not conform to the 'Sendable' protocol
42 | * - ``CodeValueAttribute``
43 | */
44 | public protocol Attribute : Property, SQLValue, ExpressionEvaluation,
| `- note: protocol 'Attribute' does not conform to the 'Sendable' protocol
45 | SmartDescription
46 | {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 | struct component: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:103:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
101 | }
102 | struct component: DynamicEnvironmentKey {
103 | public static let defaultValue : AnyView
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
104 | = AnyView(BasicLook.Property.Display.String())
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:107:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | struct pageWrapper: DynamicEnvironmentKey {
107 | public static let defaultValue : AnyView = AnyView(D2SPageView())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 | struct debugComponent: DynamicEnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:111:25: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
109 | struct debugComponent: DynamicEnvironmentKey {
110 | #if DEBUG
111 | public static let defaultValue : AnyView = AnyView(D2SDebugDatabaseInfo())
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
112 | #else
113 | public static let defaultValue : AnyView = AnyView(EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:117:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 | struct rowComponent: DynamicEnvironmentKey {
117 | public static let defaultValue : AnyView = AnyView(EmptyView())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
SwiftUICore.AnyView:2:23: note: struct 'AnyView' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyView : View {
| `- note: struct 'AnyView' does not conform to the 'Sendable' protocol
3 | public init<V>(_ view: V) where V : View
4 | public init<V>(erasing view: V) where V : View
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:137:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Formatter?' may have shared mutable state; this is an error in the Swift 6 language mode
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h:51:12: note: class 'Formatter' does not conform to the 'Sendable' protocol
49 | // This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
50 | NS_HEADER_AUDIT_END(sendability)
51 | @interface NSFormatter : NSObject <NSCopying, NSCoding>
| `- note: class 'Formatter' does not conform to the 'Sendable' protocol
52 |
53 | - (nullable NSString *)stringForObjectValue:(nullable id)obj;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/EnvironmentKeys.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | //
7 |
8 | import class Foundation.Formatter
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 | import class ZeeQLCombine.OActiveRecord
10 | import protocol SwiftUIRules.DynamicEnvironmentKey
:
135 | }
136 | struct formatter: DynamicEnvironmentKey {
137 | public static let defaultValue : Formatter? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | }
139 | struct displayStringForNil: DynamicEnvironmentKey {
/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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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:13:17: note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
11 | * `WHERE` statement.
12 | */
13 | public protocol Qualifier : Expression, EquatableType, SmartDescription {
| `- note: protocol 'Qualifier' does not conform to the 'Sendable' protocol
14 | // TBD: A protocol because there are multiple different, and extendable versions
15 | // 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
477 | extension D2SContextKVC {
478 |
479 | static var kvcToEnvKey : [ String: AnyKVCMapEntry ] = [
| |- warning: static property 'kvcToEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kvcToEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'kvcToEnvKey' part of global actor 'MainActor'
| `- 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),
Build complete! (26.61s)
Fetching https://github.com/ZeeQL/ZeeQL3Combine.git
Fetching https://github.com/DirectToSwift/SwiftUIRules.git
Fetching https://github.com/ZeeQL/ZeeQL3.git
[1/94] Fetching zeeql3combine
[95/287] Fetching zeeql3combine, swiftuirules
Fetched https://github.com/ZeeQL/ZeeQL3Combine.git from cache (0.72s)
[25/4688] Fetching swiftuirules, zeeql3
Fetched https://github.com/ZeeQL/ZeeQL3.git from cache (1.23s)
Fetched https://github.com/DirectToSwift/SwiftUIRules.git from cache (1.23s)
Computing version for https://github.com/ZeeQL/ZeeQL3Combine.git
Computed https://github.com/ZeeQL/ZeeQL3Combine.git at 0.2.1 (4.87s)
Computing version for https://github.com/ZeeQL/ZeeQL3.git
Computed https://github.com/ZeeQL/ZeeQL3.git at 0.10.2 (0.61s)
Fetching https://github.com/ZeeQL/CSQLite3.git
[1/41] Fetching csqlite3
Fetched https://github.com/ZeeQL/CSQLite3.git from cache (0.67s)
Computing version for https://github.com/DirectToSwift/SwiftUIRules.git
Computed https://github.com/DirectToSwift/SwiftUIRules.git at 0.2.0 (1.30s)
Computing version for https://github.com/ZeeQL/CSQLite3.git
Computed https://github.com/ZeeQL/CSQLite3.git at 2.0.3 (2.73s)
Creating working copy for https://github.com/ZeeQL/CSQLite3.git
Working copy of https://github.com/ZeeQL/CSQLite3.git resolved at 2.0.3
Creating working copy for https://github.com/ZeeQL/ZeeQL3Combine.git
Working copy of https://github.com/ZeeQL/ZeeQL3Combine.git resolved at 0.2.1
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.10.2
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.10.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ZeeQL/ZeeQL3.git"
},
{
"identity" : "zeeql3combine",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"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" : "26.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "DirectToSwiftUI",
"targets" : [
"DirectToSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"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" : "6.0"
}
Done.