Build Information
Successful build of DirectToSwiftUI, reference 0.2.1 (9094a3), with Swift 6.1 for macOS (SPM) on 6 Nov 2026 14:13:08 UTC.
Swift 6 data race errors: 47
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
45 | SmartDescription
46 | {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'adaptor' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'ruleModel' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
[228/233] Compiling DirectToSwiftUI Platform.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:20:16: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
20 | let window = NSWindow(
| `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
22 | styleMask: [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
292 |
293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:29:10: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
27 | backing: .buffered, defer: false
28 | )
29 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.setFrameAutosaveName("D2SWindow")
31 |
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:30:10: warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
28 | )
29 | window.center()
30 | window.setFrameAutosaveName("D2SWindow")
| `- warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | window.titleVisibility = .hidden // just hides the title string
AppKit.NSWindow.setFrameAutosaveName:2:22: note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrameAutosaveName(_ name: NSWindow.FrameAutosaveName) -> Bool}
| |- note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:32:10: warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
30 | window.setFrameAutosaveName("D2SWindow")
31 |
32 | window.titleVisibility = .hidden // just hides the title string
| `- warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:306:35: note: mutation of this property is only permitted within the actor
304 |
305 | /// See the enum values for how this property works.
306 | @property NSWindowTitleVisibility titleVisibility API_AVAILABLE(macos(10.10)); // Default value is NSWindowTitleVisible
| `- note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:33:10: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
31 |
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
| `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
| `- note: mutation of this property is only permitted within the actor
310 |
311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:34:10: warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
| `- warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:414:53: note: mutation of this property is only permitted within the actor
412 | @property (getter=isMovable) BOOL movable API_AVAILABLE(macos(10.6));
413 |
414 | @property (getter=isMovableByWindowBackground) BOOL movableByWindowBackground;
| `- note: mutation of this property is only permitted within the actor
415 |
416 | @property BOOL hidesOnDeactivate;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| `- warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/D2SMainView.swift:16:10: note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
14 | @ObservedObject private var viewModel : D2SRuleEnvironment
15 |
16 | public init(adaptor: Adaptor, ruleModel: RuleModel) {
| |- note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | viewModel = D2SRuleEnvironment(
18 | adaptor : adaptor,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:10: warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:337:47: note: mutation of this property is only permitted within the actor
335 | - (void)setTitleWithRepresentedFilename:(NSString *)filename;
336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
337 | @property (nullable, strong) __kindof NSView *contentView;
| `- note: mutation of this property is only permitted within the actor
338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
339 | @property (readonly) NSInteger windowNumber;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:24: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
SwiftUI.NSHostingView.init:2:44: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingView {
2 | @MainActor @preconcurrency required public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: add '@MainActor' to make let 'globalD2SLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:36: warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:60:12: note: var declared here
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| `- note: var declared here
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:25: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/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/Support/SwiftUI/FormatterBinding.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 Foundation.NSString
10 | import struct SwiftUI.Binding
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:54: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:48:15: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
46 | var value : AnyObject? = nil
47 | var error : NSString? = nil
48 | guard formatter.getObjectValue(&value, for: string,
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
49 | errorDescription: &error) else {
50 | globalD2SLogger.warn("could not format:", string,
/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/Support/SwiftUI/FormatterBinding.swift:62:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
60 | return
61 | }
62 | self.wrappedValue = typedValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
63 | }
64 | )
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:11:1: warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
9 | import ZeeQL
10 |
11 | extension ActiveRecord: Identifiable {
| |- warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:31:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
29 |
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
32 | self.takeStringValue(s, forKeyPath: keyPath)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import SwiftUI
9 | import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | extension ActiveRecord: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:32:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
32 | self.takeStringValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:37:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
35 |
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:38:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:44:24: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
42 | func dateBinding(_ keyPath: String) -> Binding<Date> {
43 | return Binding(get: {
44 | guard let date = self.dateValue(for: keyPath) else {
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
45 | globalD2SLogger.warn("could not get date value for key:", keyPath)
46 | return Date()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:51:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
49 | })
50 | { s in
51 | self.takeDateValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:115:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
113 |
114 | enum D2SAttributeCoercionError: Swift.Error {
115 | case failedToCoerceFromString(String?, Attribute)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift: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/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'adaptor' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'ruleModel' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
[229/233] Compiling DirectToSwiftUI ReExport.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:20:16: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
20 | let window = NSWindow(
| `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
22 | styleMask: [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
292 |
293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:29:10: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
27 | backing: .buffered, defer: false
28 | )
29 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.setFrameAutosaveName("D2SWindow")
31 |
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:30:10: warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
28 | )
29 | window.center()
30 | window.setFrameAutosaveName("D2SWindow")
| `- warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | window.titleVisibility = .hidden // just hides the title string
AppKit.NSWindow.setFrameAutosaveName:2:22: note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrameAutosaveName(_ name: NSWindow.FrameAutosaveName) -> Bool}
| |- note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:32:10: warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
30 | window.setFrameAutosaveName("D2SWindow")
31 |
32 | window.titleVisibility = .hidden // just hides the title string
| `- warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:306:35: note: mutation of this property is only permitted within the actor
304 |
305 | /// See the enum values for how this property works.
306 | @property NSWindowTitleVisibility titleVisibility API_AVAILABLE(macos(10.10)); // Default value is NSWindowTitleVisible
| `- note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:33:10: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
31 |
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
| `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
| `- note: mutation of this property is only permitted within the actor
310 |
311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:34:10: warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
| `- warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:414:53: note: mutation of this property is only permitted within the actor
412 | @property (getter=isMovable) BOOL movable API_AVAILABLE(macos(10.6));
413 |
414 | @property (getter=isMovableByWindowBackground) BOOL movableByWindowBackground;
| `- note: mutation of this property is only permitted within the actor
415 |
416 | @property BOOL hidesOnDeactivate;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| `- warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/D2SMainView.swift:16:10: note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
14 | @ObservedObject private var viewModel : D2SRuleEnvironment
15 |
16 | public init(adaptor: Adaptor, ruleModel: RuleModel) {
| |- note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | viewModel = D2SRuleEnvironment(
18 | adaptor : adaptor,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:10: warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:337:47: note: mutation of this property is only permitted within the actor
335 | - (void)setTitleWithRepresentedFilename:(NSString *)filename;
336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
337 | @property (nullable, strong) __kindof NSView *contentView;
| `- note: mutation of this property is only permitted within the actor
338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
339 | @property (readonly) NSInteger windowNumber;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:24: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
SwiftUI.NSHostingView.init:2:44: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingView {
2 | @MainActor @preconcurrency required public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: add '@MainActor' to make let 'globalD2SLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:36: warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:60:12: note: var declared here
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| `- note: var declared here
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:25: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/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/Support/SwiftUI/FormatterBinding.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 Foundation.NSString
10 | import struct SwiftUI.Binding
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:54: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:48:15: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
46 | var value : AnyObject? = nil
47 | var error : NSString? = nil
48 | guard formatter.getObjectValue(&value, for: string,
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
49 | errorDescription: &error) else {
50 | globalD2SLogger.warn("could not format:", string,
/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/Support/SwiftUI/FormatterBinding.swift:62:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
60 | return
61 | }
62 | self.wrappedValue = typedValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
63 | }
64 | )
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:11:1: warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
9 | import ZeeQL
10 |
11 | extension ActiveRecord: Identifiable {
| |- warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:31:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
29 |
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
32 | self.takeStringValue(s, forKeyPath: keyPath)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import SwiftUI
9 | import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | extension ActiveRecord: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:32:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
32 | self.takeStringValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:37:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
35 |
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:38:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:44:24: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
42 | func dateBinding(_ keyPath: String) -> Binding<Date> {
43 | return Binding(get: {
44 | guard let date = self.dateValue(for: keyPath) else {
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
45 | globalD2SLogger.warn("could not get date value for key:", keyPath)
46 | return Date()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:51:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
49 | })
50 | { s in
51 | self.takeDateValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:115:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
113 |
114 | enum D2SAttributeCoercionError: Swift.Error {
115 | case failedToCoerceFromString(String?, Attribute)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift: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/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'adaptor' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'ruleModel' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
[230/233] Compiling DirectToSwiftUI D2STransformingFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:20:16: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
20 | let window = NSWindow(
| `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
22 | styleMask: [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
292 |
293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:29:10: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
27 | backing: .buffered, defer: false
28 | )
29 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.setFrameAutosaveName("D2SWindow")
31 |
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:30:10: warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
28 | )
29 | window.center()
30 | window.setFrameAutosaveName("D2SWindow")
| `- warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | window.titleVisibility = .hidden // just hides the title string
AppKit.NSWindow.setFrameAutosaveName:2:22: note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrameAutosaveName(_ name: NSWindow.FrameAutosaveName) -> Bool}
| |- note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:32:10: warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
30 | window.setFrameAutosaveName("D2SWindow")
31 |
32 | window.titleVisibility = .hidden // just hides the title string
| `- warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:306:35: note: mutation of this property is only permitted within the actor
304 |
305 | /// See the enum values for how this property works.
306 | @property NSWindowTitleVisibility titleVisibility API_AVAILABLE(macos(10.10)); // Default value is NSWindowTitleVisible
| `- note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:33:10: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
31 |
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
| `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
| `- note: mutation of this property is only permitted within the actor
310 |
311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:34:10: warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
| `- warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:414:53: note: mutation of this property is only permitted within the actor
412 | @property (getter=isMovable) BOOL movable API_AVAILABLE(macos(10.6));
413 |
414 | @property (getter=isMovableByWindowBackground) BOOL movableByWindowBackground;
| `- note: mutation of this property is only permitted within the actor
415 |
416 | @property BOOL hidesOnDeactivate;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| `- warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/D2SMainView.swift:16:10: note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
14 | @ObservedObject private var viewModel : D2SRuleEnvironment
15 |
16 | public init(adaptor: Adaptor, ruleModel: RuleModel) {
| |- note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | viewModel = D2SRuleEnvironment(
18 | adaptor : adaptor,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:10: warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:337:47: note: mutation of this property is only permitted within the actor
335 | - (void)setTitleWithRepresentedFilename:(NSString *)filename;
336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
337 | @property (nullable, strong) __kindof NSView *contentView;
| `- note: mutation of this property is only permitted within the actor
338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
339 | @property (readonly) NSInteger windowNumber;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:24: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
SwiftUI.NSHostingView.init:2:44: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingView {
2 | @MainActor @preconcurrency required public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: add '@MainActor' to make let 'globalD2SLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:36: warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:60:12: note: var declared here
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| `- note: var declared here
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:25: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/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/Support/SwiftUI/FormatterBinding.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 Foundation.NSString
10 | import struct SwiftUI.Binding
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:54: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:48:15: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
46 | var value : AnyObject? = nil
47 | var error : NSString? = nil
48 | guard formatter.getObjectValue(&value, for: string,
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
49 | errorDescription: &error) else {
50 | globalD2SLogger.warn("could not format:", string,
/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/Support/SwiftUI/FormatterBinding.swift:62:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
60 | return
61 | }
62 | self.wrappedValue = typedValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
63 | }
64 | )
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:11:1: warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
9 | import ZeeQL
10 |
11 | extension ActiveRecord: Identifiable {
| |- warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:31:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
29 |
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
32 | self.takeStringValue(s, forKeyPath: keyPath)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import SwiftUI
9 | import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | extension ActiveRecord: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:32:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
32 | self.takeStringValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:37:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
35 |
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:38:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:44:24: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
42 | func dateBinding(_ keyPath: String) -> Binding<Date> {
43 | return Binding(get: {
44 | guard let date = self.dateValue(for: keyPath) else {
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
45 | globalD2SLogger.warn("could not get date value for key:", keyPath)
46 | return Date()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:51:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
49 | })
50 | { s in
51 | self.takeDateValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:115:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
113 |
114 | enum D2SAttributeCoercionError: Swift.Error {
115 | case failedToCoerceFromString(String?, Attribute)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift: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/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'adaptor' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'ruleModel' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
[231/233] Compiling DirectToSwiftUI FormatterBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:20:16: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
20 | let window = NSWindow(
| `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
22 | styleMask: [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
292 |
293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:29:10: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
27 | backing: .buffered, defer: false
28 | )
29 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.setFrameAutosaveName("D2SWindow")
31 |
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:30:10: warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
28 | )
29 | window.center()
30 | window.setFrameAutosaveName("D2SWindow")
| `- warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | window.titleVisibility = .hidden // just hides the title string
AppKit.NSWindow.setFrameAutosaveName:2:22: note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrameAutosaveName(_ name: NSWindow.FrameAutosaveName) -> Bool}
| |- note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:32:10: warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
30 | window.setFrameAutosaveName("D2SWindow")
31 |
32 | window.titleVisibility = .hidden // just hides the title string
| `- warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:306:35: note: mutation of this property is only permitted within the actor
304 |
305 | /// See the enum values for how this property works.
306 | @property NSWindowTitleVisibility titleVisibility API_AVAILABLE(macos(10.10)); // Default value is NSWindowTitleVisible
| `- note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:33:10: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
31 |
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
| `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
| `- note: mutation of this property is only permitted within the actor
310 |
311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:34:10: warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
| `- warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:414:53: note: mutation of this property is only permitted within the actor
412 | @property (getter=isMovable) BOOL movable API_AVAILABLE(macos(10.6));
413 |
414 | @property (getter=isMovableByWindowBackground) BOOL movableByWindowBackground;
| `- note: mutation of this property is only permitted within the actor
415 |
416 | @property BOOL hidesOnDeactivate;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| `- warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/D2SMainView.swift:16:10: note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
14 | @ObservedObject private var viewModel : D2SRuleEnvironment
15 |
16 | public init(adaptor: Adaptor, ruleModel: RuleModel) {
| |- note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | viewModel = D2SRuleEnvironment(
18 | adaptor : adaptor,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:10: warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:337:47: note: mutation of this property is only permitted within the actor
335 | - (void)setTitleWithRepresentedFilename:(NSString *)filename;
336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
337 | @property (nullable, strong) __kindof NSView *contentView;
| `- note: mutation of this property is only permitted within the actor
338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
339 | @property (readonly) NSInteger windowNumber;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:24: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
SwiftUI.NSHostingView.init:2:44: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingView {
2 | @MainActor @preconcurrency required public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: add '@MainActor' to make let 'globalD2SLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:36: warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:60:12: note: var declared here
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| `- note: var declared here
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:25: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/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/Support/SwiftUI/FormatterBinding.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 Foundation.NSString
10 | import struct SwiftUI.Binding
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:54: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:48:15: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
46 | var value : AnyObject? = nil
47 | var error : NSString? = nil
48 | guard formatter.getObjectValue(&value, for: string,
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
49 | errorDescription: &error) else {
50 | globalD2SLogger.warn("could not format:", string,
/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/Support/SwiftUI/FormatterBinding.swift:62:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
60 | return
61 | }
62 | self.wrappedValue = typedValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
63 | }
64 | )
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:11:1: warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
9 | import ZeeQL
10 |
11 | extension ActiveRecord: Identifiable {
| |- warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:31:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
29 |
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
32 | self.takeStringValue(s, forKeyPath: keyPath)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import SwiftUI
9 | import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | extension ActiveRecord: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:32:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
32 | self.takeStringValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:37:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
35 |
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:38:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:44:24: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
42 | func dateBinding(_ keyPath: String) -> Binding<Date> {
43 | return Binding(get: {
44 | guard let date = self.dateValue(for: keyPath) else {
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
45 | globalD2SLogger.warn("could not get date value for key:", keyPath)
46 | return Date()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:51:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
49 | })
50 | { s in
51 | self.takeDateValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:115:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
113 |
114 | enum D2SAttributeCoercionError: Swift.Error {
115 | case failedToCoerceFromString(String?, Attribute)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift: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/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'adaptor' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'ruleModel' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
[232/233] Compiling DirectToSwiftUI ActiveRecordBindings.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:20:16: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
20 | let window = NSWindow(
| `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
22 | styleMask: [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
292 |
293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:29:10: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
27 | backing: .buffered, defer: false
28 | )
29 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.setFrameAutosaveName("D2SWindow")
31 |
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:30:10: warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
28 | )
29 | window.center()
30 | window.setFrameAutosaveName("D2SWindow")
| `- warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | window.titleVisibility = .hidden // just hides the title string
AppKit.NSWindow.setFrameAutosaveName:2:22: note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrameAutosaveName(_ name: NSWindow.FrameAutosaveName) -> Bool}
| |- note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:32:10: warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
30 | window.setFrameAutosaveName("D2SWindow")
31 |
32 | window.titleVisibility = .hidden // just hides the title string
| `- warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:306:35: note: mutation of this property is only permitted within the actor
304 |
305 | /// See the enum values for how this property works.
306 | @property NSWindowTitleVisibility titleVisibility API_AVAILABLE(macos(10.10)); // Default value is NSWindowTitleVisible
| `- note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:33:10: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
31 |
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
| `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
| `- note: mutation of this property is only permitted within the actor
310 |
311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:34:10: warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
| `- warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:414:53: note: mutation of this property is only permitted within the actor
412 | @property (getter=isMovable) BOOL movable API_AVAILABLE(macos(10.6));
413 |
414 | @property (getter=isMovableByWindowBackground) BOOL movableByWindowBackground;
| `- note: mutation of this property is only permitted within the actor
415 |
416 | @property BOOL hidesOnDeactivate;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| `- warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/D2SMainView.swift:16:10: note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
14 | @ObservedObject private var viewModel : D2SRuleEnvironment
15 |
16 | public init(adaptor: Adaptor, ruleModel: RuleModel) {
| |- note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | viewModel = D2SRuleEnvironment(
18 | adaptor : adaptor,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:10: warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:337:47: note: mutation of this property is only permitted within the actor
335 | - (void)setTitleWithRepresentedFilename:(NSString *)filename;
336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
337 | @property (nullable, strong) __kindof NSView *contentView;
| `- note: mutation of this property is only permitted within the actor
338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
339 | @property (readonly) NSInteger windowNumber;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:24: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
SwiftUI.NSHostingView.init:2:44: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingView {
2 | @MainActor @preconcurrency required public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: add '@MainActor' to make let 'globalD2SLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:36: warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:60:12: note: var declared here
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| `- note: var declared here
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:25: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/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/Support/SwiftUI/FormatterBinding.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 Foundation.NSString
10 | import struct SwiftUI.Binding
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:54: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:48:15: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
46 | var value : AnyObject? = nil
47 | var error : NSString? = nil
48 | guard formatter.getObjectValue(&value, for: string,
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
49 | errorDescription: &error) else {
50 | globalD2SLogger.warn("could not format:", string,
/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/Support/SwiftUI/FormatterBinding.swift:62:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
60 | return
61 | }
62 | self.wrappedValue = typedValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
63 | }
64 | )
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:11:1: warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
9 | import ZeeQL
10 |
11 | extension ActiveRecord: Identifiable {
| |- warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:31:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
29 |
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
32 | self.takeStringValue(s, forKeyPath: keyPath)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import SwiftUI
9 | import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | extension ActiveRecord: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:32:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
32 | self.takeStringValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:37:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
35 |
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:38:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:44:24: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
42 | func dateBinding(_ keyPath: String) -> Binding<Date> {
43 | return Binding(get: {
44 | guard let date = self.dateValue(for: keyPath) else {
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
45 | globalD2SLogger.warn("could not get date value for key:", keyPath)
46 | return Date()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:51:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
49 | })
50 | { s in
51 | self.takeDateValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:115:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
113 |
114 | enum D2SAttributeCoercionError: Swift.Error {
115 | case failedToCoerceFromString(String?, Attribute)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift: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/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'adaptor' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'ruleModel' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
[233/233] Compiling DirectToSwiftUI AttributeExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:20:16: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
20 | let window = NSWindow(
| `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
22 | styleMask: [
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
292 |
293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:29:10: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
27 | backing: .buffered, defer: false
28 | )
29 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.setFrameAutosaveName("D2SWindow")
31 |
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:30:10: warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
28 | )
29 | window.center()
30 | window.setFrameAutosaveName("D2SWindow")
| `- warning: call to main actor-isolated instance method 'setFrameAutosaveName' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |
32 | window.titleVisibility = .hidden // just hides the title string
AppKit.NSWindow.setFrameAutosaveName:2:22: note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrameAutosaveName(_ name: NSWindow.FrameAutosaveName) -> Bool}
| |- note: calls to instance method 'setFrameAutosaveName' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:32:10: warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
30 | window.setFrameAutosaveName("D2SWindow")
31 |
32 | window.titleVisibility = .hidden // just hides the title string
| `- warning: main actor-isolated property 'titleVisibility' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:306:35: note: mutation of this property is only permitted within the actor
304 |
305 | /// See the enum values for how this property works.
306 | @property NSWindowTitleVisibility titleVisibility API_AVAILABLE(macos(10.10)); // Default value is NSWindowTitleVisible
| `- note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:33:10: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
31 |
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
| `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
307 |
308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
| `- note: mutation of this property is only permitted within the actor
310 |
311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:34:10: warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
32 | window.titleVisibility = .hidden // just hides the title string
33 | window.titlebarAppearsTransparent = true
34 | window.isMovableByWindowBackground = true
| `- warning: main actor-isolated property 'isMovableByWindowBackground' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:414:53: note: mutation of this property is only permitted within the actor
412 | @property (getter=isMovable) BOOL movable API_AVAILABLE(macos(10.6));
413 |
414 | @property (getter=isMovableByWindowBackground) BOOL movableByWindowBackground;
| `- note: mutation of this property is only permitted within the actor
415 |
416 | @property BOOL hidesOnDeactivate;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| `- warning: call to main actor-isolated initializer 'init(adaptor:ruleModel:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/D2SMainView.swift:16:10: note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
14 | @ObservedObject private var viewModel : D2SRuleEnvironment
15 |
16 | public init(adaptor: Adaptor, ruleModel: RuleModel) {
| |- note: calls to initializer 'init(adaptor:ruleModel:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
17 | viewModel = D2SRuleEnvironment(
18 | adaptor : adaptor,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:10: warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: main actor-isolated property 'contentView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:337:47: note: mutation of this property is only permitted within the actor
335 | - (void)setTitleWithRepresentedFilename:(NSString *)filename;
336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
337 | @property (nullable, strong) __kindof NSView *contentView;
| `- note: mutation of this property is only permitted within the actor
338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
339 | @property (readonly) NSInteger windowNumber;
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:38:24: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | * Function to create a main window.
16 | */
17 | public func D2SMakeWindow(adaptor: Adaptor, ruleModel : RuleModel)
| `- note: add '@MainActor' to make global function 'D2SMakeWindow(adaptor:ruleModel:)' part of global actor 'MainActor'
18 | -> NSWindow
19 | {
:
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | return window
40 | }
SwiftUI.NSHostingView.init:2:44: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingView {
2 | @MainActor @preconcurrency required public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:12: warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: let 'globalD2SLogger' is not concurrency-safe because non-'Sendable' type 'any ZeeQLLogger' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:15:17: note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
13 | * Defaults to a simple Print based logger.
14 | */
15 | public protocol ZeeQLLogger {
| `- note: protocol 'ZeeQLLogger' does not conform to the 'Sendable' protocol
16 |
17 | func primaryLog(_ logLevel: ZeeQLLoggerLogLevel, _ msgfunc: () -> String,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:9:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | @_exported import SwiftUI
9 | @_exported import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 | @_exported import ZeeQLCombine
11 | @_exported import SwiftUIRules
:
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| |- note: add '@MainActor' to make let 'globalD2SLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ReExport.swift:15:36: warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 | infix operator => : AssignmentPrecedence
14 |
15 | public let globalD2SLogger = ZeeQL.globalZeeQLLogger
| `- warning: reference to var 'globalZeeQLLogger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Foundation/Logger.swift:60:12: note: var declared here
58 | * Log-level can be set using the `ZEEQL_LOGLEVEL` global.
59 | */
60 | public var globalZeeQLLogger : ZeeQLLogger = {
| `- note: var declared here
61 | #if DEBUG
62 | let defaultLevel = ZeeQLLoggerLogLevel.log
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:25: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/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/Support/SwiftUI/FormatterBinding.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 Foundation.NSString
10 | import struct SwiftUI.Binding
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:27:54: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
25 | get: {
26 | if editing {
27 | guard let s = formatter.editingString(for: self.wrappedValue) else {
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
28 | globalD2SLogger.trace("could not format:", self.wrappedValue,
29 | "\n using:", formatter,
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/SwiftUI/FormatterBinding.swift:48:15: warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
46 | var value : AnyObject? = nil
47 | var error : NSString? = nil
48 | guard formatter.getObjectValue(&value, for: string,
| `- warning: capture of 'formatter' with non-sendable type 'Formatter' in a '@Sendable' closure
49 | errorDescription: &error) else {
50 | globalD2SLogger.warn("could not format:", string,
/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/Support/SwiftUI/FormatterBinding.swift:62:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
60 | return
61 | }
62 | self.wrappedValue = typedValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
63 | }
64 | )
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:11:1: warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
9 | import ZeeQL
10 |
11 | extension ActiveRecord: Identifiable {
| |- warning: extension declares a conformance of imported type 'ActiveRecord' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'ZeeQL' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | // TODO: use the pkey/GID instead. This uses the ObjectIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:31:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
29 |
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
32 | self.takeStringValue(s, forKeyPath: keyPath)
33 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import SwiftUI
9 | import ZeeQL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | extension ActiveRecord: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:32:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
30 | func stringBinding(_ keyPath: String) -> Binding<String> {
31 | return Binding(get: { self.stringValue(for: keyPath) }) { s in
32 | self.takeStringValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:37:27: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
35 |
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:38:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
36 | func boolBinding(_ keyPath: String) -> Binding<Bool> {
37 | return Binding(get: { self.boolValue(for: keyPath) ?? false }) { flag in
38 | self.takeBoolValue(flag, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:44:24: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
42 | func dateBinding(_ keyPath: String) -> Binding<Date> {
43 | return Binding(get: {
44 | guard let date = self.dateValue(for: keyPath) else {
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
45 | globalD2SLogger.warn("could not get date value for key:", keyPath)
46 | return Date()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/ActiveRecordBindings.swift:51:7: warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
49 | })
50 | { s in
51 | self.takeDateValue(s, forKeyPath: keyPath)
| `- warning: capture of 'self' with non-sendable type 'ActiveRecord' in a '@Sendable' closure
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/ActiveRecord.swift:401:14: note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
399 | #if swift(>=5)
400 | @dynamicMemberLookup
401 | open class ActiveRecord : ActiveRecordBase {
| `- note: class 'ActiveRecord' does not conform to the 'Sendable' protocol
402 |
403 | public subscript(dynamicMember member: String) -> Any? {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/ZeeQL/AttributeExtras.swift:115:8: warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
113 |
114 | enum D2SAttributeCoercionError: Swift.Error {
115 | case failedToCoerceFromString(String?, Attribute)
| `- warning: associated value 'failedToCoerceFromString' of 'Sendable'-conforming enum 'D2SAttributeCoercionError' has non-sendable type 'any Attribute'; this is an error in the Swift 6 language mode
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ZeeQL3/Sources/ZeeQL/Access/Attribute.swift: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/Support/ZeeQL/AttributeExtras.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
7 |
8 | import Foundation
9 | import protocol ZeeQL.Attribute
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeeQL'
10 |
11 | public extension Attribute {
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'adaptor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'adaptor' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Support/AppKit/D2SMainWindow.swift:36:14: warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
34 | window.isMovableByWindowBackground = true
35 |
36 | let view = D2SMainView(adaptor: adaptor, ruleModel: ruleModel)
| |- warning: sending 'ruleModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'ruleModel' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
37 | .frame(maxWidth: .infinity, maxHeight: .infinity)
38 | window.contentView = NSHostingView(rootView: view)
Build complete! (26.62s)
Fetching https://github.com/ZeeQL/ZeeQL3Combine.git
Fetching https://github.com/DirectToSwift/SwiftUIRules.git
Fetching https://github.com/ZeeQL/ZeeQL3.git
[3/94] Fetching zeeql3combine
[95/287] Fetching zeeql3combine, swiftuirules
[111/4782] Fetching zeeql3combine, swiftuirules, zeeql3
Fetched https://github.com/DirectToSwift/SwiftUIRules.git from cache (0.81s)
Fetched https://github.com/ZeeQL/ZeeQL3Combine.git from cache (0.81s)
[45/4495] Fetching zeeql3
Fetched https://github.com/ZeeQL/ZeeQL3.git from cache (1.26s)
Computing version for https://github.com/ZeeQL/ZeeQL3Combine.git
Computed https://github.com/ZeeQL/ZeeQL3Combine.git at 0.2.1 (4.63s)
Computing version for https://github.com/DirectToSwift/SwiftUIRules.git
Computed https://github.com/DirectToSwift/SwiftUIRules.git at 0.2.0 (0.62s)
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.64s)
Computing version for https://github.com/ZeeQL/CSQLite3.git
Computed https://github.com/ZeeQL/CSQLite3.git at 2.0.3 (3.51s)
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/CSQLite3.git
Working copy of https://github.com/ZeeQL/CSQLite3.git resolved at 2.0.3
Creating working copy for https://github.com/ZeeQL/ZeeQL3.git
Working copy of https://github.com/ZeeQL/ZeeQL3.git resolved at 0.10.2
Creating working copy for https://github.com/ZeeQL/ZeeQL3Combine.git
Working copy of https://github.com/ZeeQL/ZeeQL3Combine.git resolved at 0.2.1
warning: 'spi-builder-workspace': found 7 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/README.md
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/README.md
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/README.md
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Views/BasicLook/Properties/README.md
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/DatabaseSetup.md
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/Environment/DefaultAssignment/README.md
/Users/admin/builder/spi-builder-workspace/Sources/DirectToSwiftUI/ZeeQLRules/README.md
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.1",
"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" : "12.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.