Build Information
Successful build of AppKitUI, reference 0.9.2 (02f2b3), with Swift 6.1 for macOS (SPM) on 31 Oct 2025 04:59:17 UTC.
Swift 6 data race errors: 12
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
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/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[89/124] Compiling AppKitUI NSLayoutConstraint+extensions.swift
[90/124] Compiling AppKitUI NSObject+arbitraryValues.swift
[91/124] Compiling AppKitUI NSObject+associated.swift
[92/124] Compiling AppKitUI NSRange+extensions.swift
[93/124] Compiling AppKitUI NSView+extensions.swift
[94/124] Compiling AppKitUI OSLogger.swift
[95/124] Compiling AppKitUI Optional+extensions.swift
[96/124] Compiling AppKitUI Range+extensions.swift
[97/124] Compiling AppKitUI ReentryChecker.swift
[98/124] Compiling AppKitUI ScrollableTextView.swift
[99/124] Compiling AppKitUI ViewAppearanceObservation.swift
[100/124] Compiling AppKitUI global.swift
[101/124] Compiling AppKitUI AppKitUI+ScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[102/124] Compiling AppKitUI AppKitUI+SplitView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[103/124] Compiling AppKitUI AppKitUI+Stack.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[104/124] Compiling AppKitUI AppKitUI+TabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[105/124] Compiling AppKitUI AppKitUI+ViewSwitcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[106/124] Compiling AppKitUI AppKitUI+ZStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[107/124] Compiling AppKitUI Array+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[108/124] Compiling AppKitUI DesignTime+PreviewBackport.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[109/124] Compiling AppKitUI FlowCollectionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[110/124] Compiling AppKitUI NSColor+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[111/124] Compiling AppKitUI NSCopying+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[112/124] Compiling AppKitUI NSImage+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/utils/Array+extensions.swift:35:21: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | /// - Parameter value: The value
34 | func translatesAutoresizingMaskIntoConstraints(_ value: Bool) {
35 | self.forEach { $0.translatesAutoresizingMaskIntoConstraints = false }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[113/124] Compiling AppKitUI Bind.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[114/124] Compiling AppKitUI Bindable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[115/124] Compiling AppKitUI DelayingCall.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[116/124] Compiling AppKitUI AUIPageControl+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[117/124] Compiling AppKitUI AUIPageControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[118/124] Compiling AppKitUI PageControlIndicatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[119/124] Compiling AppKitUI PageControlIndicatorsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[120/124] Compiling AppKitUI PageImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[121/124] Compiling AppKitUI WindowedContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[122/124] Compiling AppKitUI AppKitUI+Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[123/124] Compiling AppKitUI AppKitUI+PaddedTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
[124/124] Compiling AppKitUI AppKitUI+FillStyle+Checkerboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:17: warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: call to main actor-isolated initializer 'init(pageCount:windowSize:initialPage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/WindowedContent.swift:127:2: note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
125 | @inlinable var windowIsAtRightEdge: Bool { self.window.upperBound == self.pageCount }
126 |
127 | init(pageCount: Int, windowSize: Int, initialPage: Int = 0) {
| `- note: calls to initializer 'init(pageCount:windowSize:initialPage:)' from outside of its actor context are implicitly asynchronous
128 |
129 | let windowSize = pageCount < windowSize ? pageCount : windowSize
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:49: warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The number of pages in the control
42 | @IBInspectable @objc public dynamic var numberOfPages: Int = 6 {
| `- note: property declared here
43 | didSet {
44 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize, initialPage: self.currentPage)
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'numberOfPages' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:129:81: warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | /// The window size
50 | @IBInspectable @objc public dynamic var windowSize: Int = 6
| `- note: property declared here
51 | /// The currently selected page
52 | @IBInspectable @objc public dynamic var currentPage: Int = 0 {
:
127 | public override func awakeFromNib() {
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
| `- warning: main actor-isolated property 'windowSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:130:8: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
128 | super.awakeFromNib()
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
:
150 | private var indicatorsView: PageControlIndicatorsView?
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
| `- note: mutation of this property is only permitted within the actor
153 | private var enableDetector: NSKeyValueObservation?
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:8: warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: main actor-isolated property 'indicatorsView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
:
148 | }
149 |
150 | private var indicatorsView: PageControlIndicatorsView?
| `- note: mutation of this property is only permitted within the actor
151 | private var leadingConstraint: NSLayoutConstraint?
152 | private var content: WindowedContent?
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:131:25: warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | let content = WindowedContent(pageCount: self.numberOfPages, windowSize: self.windowSize)
130 | self.content = content
131 | self.indicatorsView = PageControlIndicatorsView(
| `- warning: call to main actor-isolated initializer 'init(content:orientation:pageIndicatorSize:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorsView.swift:35:2: note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
33 | let pageIndicatorSize: CGSize
34 |
35 | init(
| `- note: calls to initializer 'init(content:orientation:pageIndicatorSize:)' from outside of its actor context are implicitly asynchronous
36 | content: WindowedContent,
37 | orientation: NSUserInterfaceLayoutOrientation = .horizontal,
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:133:22: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | @objc public class AUIPageControl: NSControl {
30 | /// Orientation
31 | @IBInspectable @objc public dynamic var isHorizontal: Bool = true
| `- note: property declared here
32 | /// Page indicator width
33 | @IBInspectable @objc public dynamic var pageIndicatorWidth: Double = AUIPageControlDefaultPageIndicatorSize.width
:
131 | self.indicatorsView = PageControlIndicatorsView(
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
| `- warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 | pageIndicatorSize: self.pageIndicatorSize
135 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:134:28: warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | @IBInspectable @objc public dynamic var pageIndicatorHeight: Double = AUIPageControlDefaultPageIndicatorSize.height
36 | /// The page indicator size
37 | private var pageIndicatorSize: CGSize {
| `- note: property declared here
38 | CGSize(width: self.pageIndicatorWidth, height: self.pageIndicatorHeight)
39 | }
:
132 | content: content,
133 | orientation: self.isHorizontal ? .horizontal : .vertical,
134 | pageIndicatorSize: self.pageIndicatorSize
| `- warning: main actor-isolated property 'pageIndicatorSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/AUIPageControl.swift:137:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 | )
136 |
137 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
177 | }
178 |
179 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
180 | self.translatesAutoresizingMaskIntoConstraints = false
181 | self.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/AppKitUI/custom-controls/AUIPageControl/private/PageControlIndicatorView.swift:22:13: warning: let 'DefaultImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
20 | import AppKit
21 |
22 | private let DefaultImage: NSImage = {
| |- warning: let 'DefaultImage' 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 'DefaultImage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let i: NSImage
24 | if #available(macOS 11.0, *) {
/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/custom-controls/AppKitUI+Image.swift:185:13: warning: let 'image1' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
183 | #if DEBUG
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
| |- warning: let 'image1' 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 'image1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private let image2 = NSImage(named: NSImage.computerName)!
187 |
/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/custom-controls/AppKitUI+Image.swift:186:13: warning: let 'image2' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
184 |
185 | private let image1 = NSImage(named: NSImage.bonjourName)!
186 | private let image2 = NSImage(named: NSImage.computerName)!
| |- warning: let 'image2' 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 'image2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | @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
Build complete! (13.45s)
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+Alert.swift",
"AppKitUI+ColorSelector.swift",
"AppKitUI+ComboButton.swift",
"AppKitUI+ContentUnavailable.swift",
"AppKitUI+Divider.swift",
"AppKitUI+DragInfo.swift",
"AppKitUI+DropView.swift",
"AppKitUI+IndexValues.swift",
"AppKitUI+LayoutContainer.swift",
"AppKitUI+LinkButton.swift",
"AppKitUI+List.swift",
"AppKitUI+NSOpenDialog.swift",
"AppKitUI+NSSaveDialog.swift",
"AppKitUI+NumberStepper.swift",
"AppKitUI+PDFView.swift",
"AppKitUI+Popover.swift",
"AppKitUI+ResolvableColor.swift",
"AppKitUI+Sheet.swift",
"AppKitUI+SpacerView.swift",
"AppKitUI+Switch.swift",
"AppKitUI+TargetAction.swift",
"AppKitUI+TextView.swift",
"AppKitUI+TokenField.swift",
"AppKitUI+TransparentButton.swift",
"AppKitUI+UserInterfaceIdentifier.swift",
"AppKitUI+ViewBodyGenerator.swift",
"AppKitUI+ViewController.swift",
"AppKitUI+WebView.swift",
"AppKitUI.swift",
"NSAlert+appkitui.swift",
"NSBox+appkitui.swift",
"NSButton+appkitui.swift",
"NSButton+checkbox.swift",
"NSButton+radio.swift",
"NSColor+appkitui.swift",
"NSColorWell+appkitui.swift",
"NSComboBox+appkitui.swift",
"NSComboButton+appkitui.swift",
"NSControl+appkitui.swift",
"NSDateControl+appkitui.swift",
"NSFont+appkitui.swift",
"NSGraphicsContent+appkitui.swift",
"NSGridView+Row+appkitui.swift",
"NSGridView+appkitui.swift",
"NSImage+appkitui.swift",
"NSImageView+appkitui.swift",
"NSLevelIndicator+appkitui.swift",
"NSMenu+appkitui.swift",
"NSMenuItem+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",
"NSTokenField+appkitui.swift",
"NSView+accessibility.swift",
"NSView+appearance.swift",
"NSView+appkitui.swift",
"NSView+constraints.swift",
"NSView+filters.swift",
"NSView+gestures.swift",
"NSVisualEffectView+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",
"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",
"shape/AppKitUI+Capsule.swift",
"shape/AppKitUI+Ellipse.swift",
"shape/AppKitUI+Rectangle.swift",
"shape/AppKitUI+Shape.swift",
"structure/AppKitUI+Disclosure.swift",
"structure/AppKitUI+Flow.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",
"utils/Array+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.