Build Information
Successful build of AppKitUI, reference main (d2f4d5), with Swift 6.1 for macOS (SPM) on 21 Apr 2026 03:43:01 UTC.
Swift 6 data race errors: 15
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
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[126/136] Compiling AppKitUI NSSwitch+appkitui.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[127/136] Compiling AppKitUI NSTextField+appkitui.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[128/136] Compiling AppKitUI NSView+accessibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[129/136] Compiling AppKitUI NSView+appearance.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[130/136] Compiling AppKitUI NSView+appkitui.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[131/136] Compiling AppKitUI NSView+constraints.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[132/136] Compiling AppKitUI NSView+filters.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[133/136] Compiling AppKitUI NSView+gestures.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[134/136] Compiling AppKitUI NSView+mask.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[135/136] Compiling AppKitUI NSViewController+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
[136/136] Compiling AppKitUI NSVisualEffectView+appkitui.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:25:13: warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
| |- warning: let 'darkMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'darkMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | private let lightMode__ = NSAppearance(named: .aqua)!
27 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appearance.swift:26:13: warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
24 | @available(macOS 10.14, *)
25 | private let darkMode__ = NSAppearance(named: .darkAqua)!
26 | private let lightMode__ = NSAppearance(named: .aqua)!
| |- warning: let 'lightMode__' is not concurrency-safe because non-'Sendable' type 'NSAppearance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'lightMode__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Modifiers
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:20:12: note: class 'NSAppearance' does not conform to the 'Sendable' protocol
18 |
19 | API_AVAILABLE(macos(10.9))
20 | @interface NSAppearance : NSObject <NSSecureCoding>
| `- note: class 'NSAppearance' does not conform to the 'Sendable' protocol
21 |
22 | @property (readonly, copy) NSAppearanceName name API_AVAILABLE(macos(10.9));
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:125:13: warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| `- warning: let 'mono' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
21 |
22 | /// Methods for applying `CIFilter`s to a view
:
123 | #if DEBUG
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
| |- note: add '@MainActor' to make let 'mono' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:126:13: warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
| |- warning: let 'sepia' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sepia' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:127:13: warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
125 | private let mono = CIFilter(name: "CIPhotoEffectMono", parameters: [:])!
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
| |- warning: let 'boxBlur' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'boxBlur' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+filters.swift:128:13: warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
126 | private let sepia = CIFilter(name: "CISepiaTone", parameters: [:])!
127 | private let boxBlur = CIFilter(name: "CIBoxBlur", parameters: [:])!
128 | private let crystallize = CIFilter(name: "CICrystallize", parameters: [:])!
| |- warning: let 'crystallize' is not concurrency-safe because non-'Sendable' type 'CIFilter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'crystallize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | private func makeSepiaFilter(_ intensity: Double) -> CIFilter {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:202:12: note: class 'CIFilter' does not conform to the 'Sendable' protocol
200 |
201 | NS_CLASS_AVAILABLE(10_4, 5_0)
202 | @interface CIFilter : NSObject <NSSecureCoding, NSCopying>
| `- note: class 'CIFilter' does not conform to the 'Sendable' protocol
203 | {
204 | void *_priv[8];
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:92:13: warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
| |- warning: let 'compima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'compima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
94 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+mask.swift:93:13: warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
91 | #if DEBUG
92 | private let compima__ = NSImage(named: NSImage.computerName)!
93 | private let ima__ = NSImage(named: NSImage.everyoneName)!
| |- warning: let 'ima__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ima__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | @available(macOS 14, *)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:723:9: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
721 | deinit {
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:726:25: warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
651 | /// Windowed content associated with a view (eg. alerts, sheets etc)
652 | @MainActor
653 | protocol WindowedContentProtocol {
| `- note: protocol 'WindowedContentProtocol' does not conform to the 'Sendable' protocol
654 | func willCloseWindowedContent()
655 | }
:
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
725 | }
726 | self.windowedContent = []
| `- warning: cannot access property 'windowedContent' with a non-sendable type '[any WindowedContentProtocol]' from nonisolated deinit; this is an error in the Swift 6 language mode
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:727:26: warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
725 | }
726 | self.windowedContent = []
727 | self.frameObservation = nil
| `- warning: cannot access property 'frameObservation' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
728 | self.frameChangeBlock = nil
729 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
18 | //
19 |
20 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
21 | import os.log
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:728:26: warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
726 | self.windowedContent = []
727 | self.frameObservation = nil
728 | self.frameChangeBlock = nil
| `- warning: cannot access property 'frameChangeBlock' with a non-sendable type '((NSRect) -> Void)?' (aka 'Optional<(CGRect) -> ()>') from nonisolated deinit; this is an error in the Swift 6 language mode
729 | }
730 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/NSView+appkitui.swift:724:32: warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
722 | os_log("deinit: NSView.Storage", log: logger, type: .debug)
723 | self.windowedContent.forEach { wc in
724 | DispatchQueue.main.async { wc.willCloseWindowedContent() }
| |- warning: sending 'wc' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'wc' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
725 | }
726 | self.windowedContent = []
Build complete! (15.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AppKitUI",
"name" : "AppKitUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "AppKitUI",
"targets" : [
"AppKitUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AppKitUITests",
"module_type" : "SwiftTarget",
"name" : "AppKitUITests",
"path" : "Tests/AppKitUITests",
"sources" : [
"AppKitUITests.swift"
],
"target_dependencies" : [
"AppKitUI"
],
"type" : "test"
},
{
"c99name" : "AppKitUI",
"module_type" : "SwiftTarget",
"name" : "AppKitUI",
"path" : "Sources/AppKitUI",
"product_memberships" : [
"AppKitUI"
],
"sources" : [
"AppKitUI+ColorSelector.swift",
"AppKitUI+ContentUnavailable.swift",
"AppKitUI+Divider.swift",
"AppKitUI+DragInfo.swift",
"AppKitUI+DropView.swift",
"AppKitUI+IndexValues.swift",
"AppKitUI+LayoutContainer.swift",
"AppKitUI+List.swift",
"AppKitUI+NumberStepper.swift",
"AppKitUI+PDFView.swift",
"AppKitUI+ResolvableColor.swift",
"AppKitUI+SpacerView.swift",
"AppKitUI+Switch.swift",
"AppKitUI+TargetAction.swift",
"AppKitUI+TextView.swift",
"AppKitUI+UserInterfaceIdentifier.swift",
"AppKitUI+ViewBodyGenerator.swift",
"AppKitUI+ViewController.swift",
"AppKitUI+WebView.swift",
"AppKitUI.swift",
"NSBackgroundExtensionView+appkitui.swift",
"NSBox+appkitui.swift",
"NSColor+appkitui.swift",
"NSColorWell+appkitui.swift",
"NSComboBox+appkitui.swift",
"NSComboButton+appkitui.swift",
"NSControl+appkitui.swift",
"NSDateControl+appkitui.swift",
"NSFont+appkitui.swift",
"NSGlassEffectContainerView+appkitui.swift",
"NSGlassEffectView+appkitui.swift",
"NSGraphicsContent+appkitui.swift",
"NSGridView+Row+appkitui.swift",
"NSGridView+appkitui.swift",
"NSLevelIndicator+appkitui.swift",
"NSPathControl+appkitui.swift",
"NSPopUpButton+appkitui.swift",
"NSProgressIndicator+appkitui.swift",
"NSSearchField+appkitui.swift",
"NSSecureTextField+appkitui.swift",
"NSSegmentedControl+appkitui.swift",
"NSSlider+appkitui.swift",
"NSStackView+appkitui.swift",
"NSStepper+appkitui.swift",
"NSSwitch+appkitui.swift",
"NSTextField+appkitui.swift",
"NSView+accessibility.swift",
"NSView+appearance.swift",
"NSView+appkitui.swift",
"NSView+constraints.swift",
"NSView+filters.swift",
"NSView+gestures.swift",
"NSView+mask.swift",
"NSViewController+extensions.swift",
"NSVisualEffectView+appkitui.swift",
"NSWindow+appkitui.swift",
"NumberFormatter+appkitui.swift",
"bind/Bind+Aggregator.swift",
"bind/Bind+OneWayTransform.swift",
"bind/Bind+Transformers.swift",
"bind/Bind+TwoWayTransform.swift",
"bind/Bind.swift",
"bind/Bindable.swift",
"bind/DelayingCall.swift",
"button/AppKitUI+ComboButton.swift",
"button/AppKitUI+LinkButton.swift",
"button/AppKitUI+TransparentButton.swift",
"button/NSButton+appkitui.swift",
"button/NSButton+checkbox.swift",
"button/NSButton+radio.swift",
"custom-controls/AUIPageControl/AUIPageControl+SwiftUI.swift",
"custom-controls/AUIPageControl/AUIPageControl.swift",
"custom-controls/AUIPageControl/private/PageControlIndicatorView.swift",
"custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift",
"custom-controls/AUIPageControl/private/PageImageView.swift",
"custom-controls/AUIPageControl/private/WindowedContent.swift",
"custom-controls/AppKitUI+Image.swift",
"custom-controls/AppKitUI+PaddedTextField.swift",
"fill/AppKitUI+FillStyle+Checkerboard.swift",
"fill/AppKitUI+FillStyle+Color.swift",
"fill/AppKitUI+FillStyle+Gradient.swift",
"fill/AppKitUI+FillStyle+Image.swift",
"fill/AppKitUI+FillStyle+Stripes.swift",
"fill/AppKitUI+FillStyle.swift",
"image/NSImage+appkitui.swift",
"image/NSImageView+appkitui.swift",
"menu/NSMenu+appkitui.swift",
"menu/NSMenuItem+appkitui.swift",
"menu/NSMenuItem+palette.swift",
"menu/NSMenuItem+view.swift",
"panel/AppKitUI+Alert.swift",
"panel/AppKitUI+Popover.swift",
"panel/AppKitUI+Sheet.swift",
"panel/NSAlert+appkitui.swift",
"panel/NSOpenPanel+appkitui.swift",
"panel/NSSavePanel+appkitui.swift",
"shape/AppKitUI+Capsule.swift",
"shape/AppKitUI+Circle.swift",
"shape/AppKitUI+Ellipse.swift",
"shape/AppKitUI+Rectangle.swift",
"shape/AppKitUI+Shape.swift",
"structure/AppKitUI+Disclosure.swift",
"structure/AppKitUI+Flow.swift",
"structure/AppKitUI+GlassEffect.swift",
"structure/AppKitUI+GlassEffectContainer.swift",
"structure/AppKitUI+HidingView.swift",
"structure/AppKitUI+ScrollView.swift",
"structure/AppKitUI+SplitView.swift",
"structure/AppKitUI+Stack.swift",
"structure/AppKitUI+TabView.swift",
"structure/AppKitUI+ViewSwitcher.swift",
"structure/AppKitUI+ZStack.swift",
"tokenfield/AppKitUI+TokenField.swift",
"tokenfield/NSTokenField+appkitui.swift",
"utils/Array+extensions.swift",
"utils/CATransaction+extensions.swift",
"utils/DesignTime+PreviewBackport.swift",
"utils/FlowCollectionView.swift",
"utils/NSColor+extensions.swift",
"utils/NSCopying+extensions.swift",
"utils/NSImage+extensions.swift",
"utils/NSLayoutConstraint+extensions.swift",
"utils/NSObject+arbitraryValues.swift",
"utils/NSObject+associated.swift",
"utils/NSRange+extensions.swift",
"utils/NSView+extensions.swift",
"utils/OSLogger.swift",
"utils/Optional+extensions.swift",
"utils/Range+extensions.swift",
"utils/ReentryChecker.swift",
"utils/ScrollableTextView.swift",
"utils/ViewAppearanceObservation.swift",
"utils/global.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.