Build Information
Successful build of DSFColorPicker, reference 3.1.0 (bc2123
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 04:12:26 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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFColorPicker.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFColorPicker
* tag 3.1.0 -> FETCH_HEAD
HEAD is now at bc21231 more dependency update
Cloned https://github.com/dagronf/DSFColorPicker.git
Revision (git rev-parse @):
bc21231c86aab2e2872f9099fd2e402ebe6ff308
SUCCESS checkout https://github.com/dagronf/DSFColorPicker.git at 3.1.0
Fetching https://github.com/dagronf/DSFAppearanceManager
Fetching https://github.com/dagronf/DSFColorSampler
[1/459] Fetching dsfappearancemanager
[102/717] Fetching dsfappearancemanager, dsfcolorsampler
Fetched https://github.com/dagronf/DSFColorSampler from cache (1.01s)
Fetched https://github.com/dagronf/DSFAppearanceManager from cache (1.01s)
Computing version for https://github.com/dagronf/DSFAppearanceManager
Computed https://github.com/dagronf/DSFAppearanceManager at 3.5.1 (1.62s)
Computing version for https://github.com/dagronf/DSFColorSampler
Computed https://github.com/dagronf/DSFColorSampler at 3.0.1 (0.58s)
Creating working copy for https://github.com/dagronf/DSFColorSampler
Working copy of https://github.com/dagronf/DSFColorSampler resolved at 3.0.1
Creating working copy for https://github.com/dagronf/DSFAppearanceManager
Working copy of https://github.com/dagronf/DSFAppearanceManager resolved at 3.5.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "dsfcolorpicker",
"name": "DSFColorPicker",
"url": "https://github.com/dagronf/DSFColorPicker.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFColorPicker",
"dependencies": [
{
"identity": "dsfcolorsampler",
"name": "DSFColorSampler",
"url": "https://github.com/dagronf/DSFColorSampler",
"version": "3.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFColorSampler",
"dependencies": [
]
},
{
"identity": "dsfappearancemanager",
"name": "DSFAppearanceManager",
"url": "https://github.com/dagronf/DSFAppearanceManager",
"version": "3.5.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFAppearanceManager",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dagronf/DSFColorPicker.git
[8/393] Fetching dsfcolorpicker
Fetched https://github.com/dagronf/DSFColorPicker.git from cache (1.25s)
Fetching https://github.com/dagronf/DSFColorSampler from cache
Fetching https://github.com/dagronf/DSFAppearanceManager from cache
Fetched https://github.com/dagronf/DSFAppearanceManager from cache (0.45s)
Fetched https://github.com/dagronf/DSFColorSampler from cache (0.45s)
Computing version for https://github.com/dagronf/DSFAppearanceManager
Computed https://github.com/dagronf/DSFAppearanceManager at 3.5.1 (0.51s)
Computing version for https://github.com/dagronf/DSFColorSampler
Computed https://github.com/dagronf/DSFColorSampler at 3.0.1 (0.02s)
Creating working copy for https://github.com/dagronf/DSFColorSampler
Working copy of https://github.com/dagronf/DSFColorSampler resolved at 3.0.1
Creating working copy for https://github.com/dagronf/DSFColorPicker.git
Working copy of https://github.com/dagronf/DSFColorPicker.git resolved at 3.1.0 (bc21231)
Creating working copy for https://github.com/dagronf/DSFAppearanceManager
Working copy of https://github.com/dagronf/DSFAppearanceManager resolved at 3.5.1
warning: '.resolve-product-dependencies': dependency 'dsfcolorpicker' is not used by any target
Found 2 product dependencies
- DSFColorSampler
- DSFAppearanceManager
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dagronf/DSFColorPicker.git
https://github.com/dagronf/DSFColorPicker.git
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "dsfcolorsampler",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "3.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/DSFColorSampler"
},
{
"identity" : "dsfappearancemanager",
"requirement" : {
"range" : [
{
"lower_bound" : "3.5.0",
"upper_bound" : "3.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/DSFAppearanceManager"
}
],
"manifest_display_name" : "DSFColorPicker",
"name" : "DSFColorPicker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFColorPicker",
"targets" : [
"DSFColorPicker"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFColorPicker",
"module_type" : "SwiftTarget",
"name" : "DSFColorPicker",
"path" : "Sources/DSFColorPicker",
"product_dependencies" : [
"DSFColorSampler",
"DSFAppearanceManager"
],
"product_memberships" : [
"DSFColorPicker"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/localizations/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"DSFColorPicker+SwiftUI.swift",
"DSFColorPickerPalette.swift",
"DSFColorPickerPopover.swift",
"DSFColorPickerTheme.swift",
"DSFColorPickerView.swift",
"private/ColorPanelButton.swift",
"private/DSFColorPickerButton+Private.swift",
"private/DSFColorPickerView+Private.swift",
"private/DSFColorSampler+icon.swift",
"private/NSColor+dsfextensions.swift",
"private/SemLock.swift",
"private/Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Running build ...
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 InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[1/6] Copying Localizable.strings
[1/6] Copying Info.plist
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/20] Emitting module DSFColorSampler
[8/20] Compiling DSFColorSampler DSFColorSampler.swift
[9/20] Compiling DSFAppearanceManager NSWindow+Appearance.swift
[10/21] Compiling DSFAppearanceManager WeakBag.swift
[11/21] Compiling DSFAppearanceManager NSAppearance+extensions.swift
[12/21] Compiling DSFAppearanceManager DSFDebounce.swift
[13/21] Compiling DSFAppearanceManager DSFAppearanceManager+Listeners.swift
[14/21] Compiling DSFAppearanceManager AutoplayAnimatedImages.swift
[15/21] Compiling DSFAppearanceManager DSFSimpleLock.swift
[16/21] Compiling DSFAppearanceManager DSFAppearanceManager.swift
[17/21] Compiling DSFAppearanceManager NSView+Appearance.swift
[18/21] Emitting module DSFAppearanceManager
[19/21] Compiling DSFAppearanceManager DSFAppearanceCache.swift
[20/21] Compiling DSFAppearanceManager DSFAppearanceManager+ChangeDetector.swift
[21/21] Compiling DSFAppearanceManager WeakBox.swift
[22/34] Compiling DSFColorPicker SemLock.swift
[23/35] Compiling DSFColorPicker resource_bundle_accessor.swift
[24/35] Compiling DSFColorPicker Utils.swift
[25/35] Compiling DSFColorPicker NSColor+dsfextensions.swift
[26/35] Compiling DSFColorPicker DSFColorPickerButton+Private.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerButton+Private.swift:30:11: warning: main actor-isolated property 'drawLayer' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
28 | if self.showSelected {
29 | self.stateObserver = self.observe(\.cell?.state, options: [.new]) { _, state in
30 | self.drawLayer?.selected = state.newValue == .on
| `- warning: main actor-isolated property 'drawLayer' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
31 | self.setNeedsDisplay()
32 | }
:
161 | // MARK: Implementation
162 |
163 | private var drawLayer: DSFColorPickerButton.Layer?
| `- note: property declared here
164 |
165 | var startDragPoint: NSPoint?
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerButton+Private.swift:31:11: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | self.stateObserver = self.observe(\.cell?.state, options: [.new]) { _, state in
30 | self.drawLayer?.selected = state.newValue == .on
31 | self.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | } else {
AppKit.NSControl.setNeedsDisplay:3:24: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
1 | class NSControl {
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, message: "Set the needsDisplay property to YES instead")
3 | @MainActor open func setNeedsDisplay()}
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerButton+Private.swift:319:21: warning: main actor-isolated property 'color' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
172 | }
173 |
174 | var color: NSColor? {
| `- note: property declared here
175 | didSet {
176 | self.isEnabled = self.color != nil
:
317 | func pasteboard(_ pasteboard: NSPasteboard?, item _: NSPasteboardItem, provideDataForType type: NSPasteboard.PasteboardType) {
318 | if type == .color,
319 | let color = self.color {
| `- warning: main actor-isolated property 'color' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
320 | color.write(to: pasteboard!)
321 | }
[27/35] Compiling DSFColorPicker DSFColorSampler+icon.swift
[28/35] Emitting module DSFColorPicker
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:94:21: warning: static property 'recents' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
| |- warning: static property 'recents' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// Show titles on each of the colorpicker components
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:96:21: warning: static property 'titles' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
95 | /// Show titles on each of the colorpicker components
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
| |- warning: static property 'titles' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | /// Show the color picker
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:98:21: warning: static property 'colorDropper' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
97 | /// Show the color picker
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
| |- warning: static property 'colorDropper' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorDropper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | /// Show the current color
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:100:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
99 | /// Show the current color
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | /// Show the system color picker
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:102:21: warning: static property 'colorPicker' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
101 | /// Show the system color picker
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
| |- warning: static property 'colorPicker' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorPicker' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Show the palette picker
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:104:21: warning: static property 'palettes' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
103 | /// Show the palette picker
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
| |- warning: static property 'palettes' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'palettes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The default settings
106 | public static let `default`: DisplaySettings = [.recents, .titles, .colorDropper, .current]
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:106:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
105 | /// The default settings
106 | public static let `default`: DisplaySettings = [.recents, .titles, .colorDropper, .current]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public let rawValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPalette.swift:92:22: warning: static property 'emptyPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A color palette
25 | public class DSFColorPickerPalette {
| `- note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
26 | /// The name of the palette
27 | public let name: String
:
90 |
91 | /// Standard 'empty' palette
92 | internal static let emptyPalette = DSFColorPickerPalette(name: "", colors: [[NSColor.clear]])
| |- warning: static property 'emptyPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emptyPalette' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | private static func validateGrid<T>(_ gridData: [[T]]) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerTheme.swift:67:13: warning: let '__defaultPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | /// A palette that mimics the color palette in Preview
67 | private let __defaultPalette: DSFColorPickerPalette = {
| |- warning: let '__defaultPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__defaultPalette' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | let colorLiterals = [
69 | [#colorLiteral(red: 0.880, green: 0.929, blue: 0.831, alpha: 1), #colorLiteral(red: 0.970, green: 0.983, blue: 0.859, alpha: 1), #colorLiteral(red: 0.991, green: 0.994, blue: 0.862, alpha: 1), #colorLiteral(red: 0.997, green: 0.949, blue: 0.831, alpha: 1), #colorLiteral(red: 1.000, green: 0.928, blue: 0.833, alpha: 1), #colorLiteral(red: 1.000, green: 0.886, blue: 0.837, alpha: 1), #colorLiteral(red: 0.998, green: 0.857, blue: 0.848, alpha: 1), #colorLiteral(red: 0.971, green: 0.829, blue: 0.876, alpha: 1), #colorLiteral(red: 0.941, green: 0.790, blue: 0.998, alpha: 1), #colorLiteral(red: 0.846, green: 0.791, blue: 0.999, alpha: 1), #colorLiteral(red: 0.832, green: 0.887, blue: 0.998, alpha: 1), #colorLiteral(red: 0.791, green: 0.941, blue: 0.999, alpha: 1)],
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPalette.swift:25:14: note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
23 |
24 | /// A color palette
25 | public class DSFColorPickerPalette {
| `- note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
26 | /// The name of the palette
27 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/ColorPanelButton.swift:125:7: warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated requirement from protocol 'DSFAppearanceCacheNotifiable'; this is an error in the Swift 6 language mode
25 | // Internal class for displaying the system color panel and handling the
26 | // well interactions
27 | internal class ColorPanelButton: NSButton, DSFAppearanceCacheNotifiable {
| `- note: add '@preconcurrency' to the 'DSFAppearanceCacheNotifiable' conformance to defer isolation checking to run time
28 | override init(frame frameRect: NSRect) {
29 | super.init(frame: frameRect)
:
123 |
124 | // Called when the system appearance changes
125 | func appearanceDidChange() {
| |- warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated requirement from protocol 'DSFAppearanceCacheNotifiable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'appearanceDidChange()' to make this instance method not isolated to the actor
126 | self.usingEffectiveAppearance {
127 | if self.fakeWell.isActive {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFAppearanceManager/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:38:13: note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
36 | /// A protocol for receiving appearance notifications
37 | @objc public protocol DSFAppearanceCacheNotifiable: NSObjectProtocol {
38 | @objc func appearanceDidChange()
| `- note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerButton+Private.swift:30:11: warning: main actor-isolated property 'drawLayer' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
28 | if self.showSelected {
29 | self.stateObserver = self.observe(\.cell?.state, options: [.new]) { _, state in
30 | self.drawLayer?.selected = state.newValue == .on
| `- warning: main actor-isolated property 'drawLayer' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
31 | self.setNeedsDisplay()
32 | }
:
161 | // MARK: Implementation
162 |
163 | private var drawLayer: DSFColorPickerButton.Layer?
| `- note: property declared here
164 |
165 | var startDragPoint: NSPoint?
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerButton+Private.swift:31:11: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | self.stateObserver = self.observe(\.cell?.state, options: [.new]) { _, state in
30 | self.drawLayer?.selected = state.newValue == .on
31 | self.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 | } else {
AppKit.NSControl.setNeedsDisplay:3:24: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
1 | class NSControl {
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, message: "Set the needsDisplay property to YES instead")
3 | @MainActor open func setNeedsDisplay()}
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
[29/35] Compiling DSFColorPicker DSFColorPickerView+Private.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerView+Private.swift:146:8: warning: call to main actor-isolated instance method 'configurePalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | extension DSFColorPickerView {
64 |
65 | func configurePalette() {
| |- note: calls to instance method 'configurePalette()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
66 | if self.selectedPalette != nil {
67 | return
:
144 | open override func awakeFromNib() {
145 | super.awakeFromNib()
146 | self.configurePalette()
| `- warning: call to main actor-isolated instance method 'configurePalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
147 | }
148 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerView+Private.swift:171:8: warning: call to main actor-isolated instance method 'configurePalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | extension DSFColorPickerView {
64 |
65 | func configurePalette() {
| |- note: calls to instance method 'configurePalette()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
66 | if self.selectedPalette != nil {
67 | return
:
169 |
170 | open override func prepareForInterfaceBuilder() {
171 | self.configurePalette()
| `- warning: call to main actor-isolated instance method 'configurePalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 | self.invalidateIntrinsicContentSize()
173 | self.frame = self.colorPickerStack.frame
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerView+Private.swift:172:8: warning: call to main actor-isolated instance method 'invalidateIntrinsicContentSize()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
170 | open override func prepareForInterfaceBuilder() {
171 | self.configurePalette()
172 | self.invalidateIntrinsicContentSize()
| `- warning: call to main actor-isolated instance method 'invalidateIntrinsicContentSize()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
173 | self.frame = self.colorPickerStack.frame
174 | }
AppKit.NSView.invalidateIntrinsicContentSize:3:24: note: calls to instance method 'invalidateIntrinsicContentSize()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func invalidateIntrinsicContentSize()}
| |- note: calls to instance method 'invalidateIntrinsicContentSize()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerView+Private.swift:173:8: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
171 | self.configurePalette()
172 | self.invalidateIntrinsicContentSize()
173 | self.frame = self.colorPickerStack.frame
| `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
174 | }
175 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
| `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerView+Private.swift:173:38: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
171 | self.configurePalette()
172 | self.invalidateIntrinsicContentSize()
173 | self.frame = self.colorPickerStack.frame
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
174 | }
175 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
| `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
[30/35] Compiling DSFColorPicker DSFColorPicker+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:94:21: warning: static property 'recents' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
| |- warning: static property 'recents' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// Show titles on each of the colorpicker components
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:96:21: warning: static property 'titles' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
95 | /// Show titles on each of the colorpicker components
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
| |- warning: static property 'titles' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | /// Show the color picker
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:98:21: warning: static property 'colorDropper' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
97 | /// Show the color picker
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
| |- warning: static property 'colorDropper' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorDropper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | /// Show the current color
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:100:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
99 | /// Show the current color
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | /// Show the system color picker
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:102:21: warning: static property 'colorPicker' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
101 | /// Show the system color picker
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
| |- warning: static property 'colorPicker' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorPicker' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Show the palette picker
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:104:21: warning: static property 'palettes' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
103 | /// Show the palette picker
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
| |- warning: static property 'palettes' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'palettes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The default settings
106 | public static let `default`: DisplaySettings = [.recents, .titles, .colorDropper, .current]
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:106:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
105 | /// The default settings
106 | public static let `default`: DisplaySettings = [.recents, .titles, .colorDropper, .current]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public let rawValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPalette.swift:92:22: warning: static property 'emptyPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A color palette
25 | public class DSFColorPickerPalette {
| `- note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
26 | /// The name of the palette
27 | public let name: String
:
90 |
91 | /// Standard 'empty' palette
92 | internal static let emptyPalette = DSFColorPickerPalette(name: "", colors: [[NSColor.clear]])
| |- warning: static property 'emptyPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emptyPalette' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | private static func validateGrid<T>(_ gridData: [[T]]) -> Bool {
[31/35] Compiling DSFColorPicker DSFColorPickerPalette.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:94:21: warning: static property 'recents' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
| |- warning: static property 'recents' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// Show titles on each of the colorpicker components
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:96:21: warning: static property 'titles' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
95 | /// Show titles on each of the colorpicker components
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
| |- warning: static property 'titles' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | /// Show the color picker
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:98:21: warning: static property 'colorDropper' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
96 | public static let titles = DisplaySettings(rawValue: 1 << 1)
97 | /// Show the color picker
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
| |- warning: static property 'colorDropper' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorDropper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | /// Show the current color
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:100:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
98 | public static let colorDropper = DisplaySettings(rawValue: 1 << 3)
99 | /// Show the current color
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | /// Show the system color picker
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:102:21: warning: static property 'colorPicker' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
100 | public static let current = DisplaySettings(rawValue: 1 << 4)
101 | /// Show the system color picker
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
| |- warning: static property 'colorPicker' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorPicker' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Show the palette picker
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:104:21: warning: static property 'palettes' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
102 | public static let colorPicker = DisplaySettings(rawValue: 1 << 5)
103 | /// Show the palette picker
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
| |- warning: static property 'palettes' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'palettes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The default settings
106 | public static let `default`: DisplaySettings = [.recents, .titles, .colorDropper, .current]
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPicker+SwiftUI.swift:106:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
90 | extension DSFColorPickerUI {
91 | /// The components of the color picker to display
92 | public struct DisplaySettings: OptionSet {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
93 | /// Show the recents line
94 | public static let recents = DisplaySettings(rawValue: 1 << 0)
:
104 | public static let palettes = DisplaySettings(rawValue: 1 << 6)
105 | /// The default settings
106 | public static let `default`: DisplaySettings = [.recents, .titles, .colorDropper, .current]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | public let rawValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPalette.swift:92:22: warning: static property 'emptyPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// A color palette
25 | public class DSFColorPickerPalette {
| `- note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
26 | /// The name of the palette
27 | public let name: String
:
90 |
91 | /// Standard 'empty' palette
92 | internal static let emptyPalette = DSFColorPickerPalette(name: "", colors: [[NSColor.clear]])
| |- warning: static property 'emptyPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'emptyPalette' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | private static func validateGrid<T>(_ gridData: [[T]]) -> Bool {
[32/35] Compiling DSFColorPicker DSFColorPickerPopover.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:65:16: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
63 |
64 | if let openPopover = self.popover {
65 | openPopover.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | self.popover = nil
67 | }
AppKit.NSPopover.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSPopover {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:69:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
67 | }
68 |
69 | self.popover = NSPopover()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | let viewController = DSFColorPickerPopoverViewController()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:62:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
60 | #endif
61 |
62 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
63 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:71:24: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
69 | self.popover = NSPopover()
70 |
71 | let viewController = DSFColorPickerPopoverViewController()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 |
73 | // Configure the color picker view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:75:34: warning: call to main actor-isolated instance method 'configure(name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | var colorView: DSFColorPickerView?
31 |
32 | internal func configure(name: String) -> DSFColorPickerView {
| |- note: calls to instance method 'configure(name:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
33 | self.view = NSView()
34 | self.view.translatesAutoresizingMaskIntoConstraints = false
:
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
73 | // Configure the color picker view
74 |
75 | let colorView = viewController.configure(name: name)
| `- warning: call to main actor-isolated instance method 'configure(name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | colorView.selectedPalette = theme.first()
77 | colorView.showPalettes = showPalettes
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:76:13: warning: main actor-isolated property 'selectedPalette' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
74 |
75 | let colorView = viewController.configure(name: name)
76 | colorView.selectedPalette = theme.first()
| `- warning: main actor-isolated property 'selectedPalette' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 | colorView.showPalettes = showPalettes
78 | colorView.showCurrent = showCurrent
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:94:13: note: mutation of this property is only permitted within the actor
92 |
93 | /// The theme being used for the picker. If nil, uses the default built-in theme
94 | public var selectedPalette: DSFColorPickerPalette? {
| `- note: mutation of this property is only permitted within the actor
95 | didSet {
96 | self.updateLayoutForSelectedPalette()
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:77:13: warning: main actor-isolated property 'showPalettes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
75 | let colorView = viewController.configure(name: name)
76 | colorView.selectedPalette = theme.first()
77 | colorView.showPalettes = showPalettes
| `- warning: main actor-isolated property 'showPalettes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | colorView.showCurrent = showCurrent
79 | colorView.showRecents = showRecents
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:66:28: note: mutation of this property is only permitted within the actor
64 |
65 | /// Show or hide the themes popup button
66 | @IBInspectable public var showPalettes: Bool = false
| `- note: mutation of this property is only permitted within the actor
67 |
68 | /// Show or hide the button with the currently selected color
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:78:13: warning: main actor-isolated property 'showCurrent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
76 | colorView.selectedPalette = theme.first()
77 | colorView.showPalettes = showPalettes
78 | colorView.showCurrent = showCurrent
| `- warning: main actor-isolated property 'showCurrent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 | colorView.showRecents = showRecents
80 | colorView.showTitles = showTitles
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:69:28: note: mutation of this property is only permitted within the actor
67 |
68 | /// Show or hide the button with the currently selected color
69 | @IBInspectable public var showCurrent: Bool = true
| `- note: mutation of this property is only permitted within the actor
70 |
71 | /// Show or hide the recent colors list
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:79:13: warning: main actor-isolated property 'showRecents' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
77 | colorView.showPalettes = showPalettes
78 | colorView.showCurrent = showCurrent
79 | colorView.showRecents = showRecents
| `- warning: main actor-isolated property 'showRecents' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | colorView.showTitles = showTitles
81 | colorView.showColorDropper = showColorDropper
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:72:28: note: mutation of this property is only permitted within the actor
70 |
71 | /// Show or hide the recent colors list
72 | @IBInspectable public var showRecents: Bool = true
| `- note: mutation of this property is only permitted within the actor
73 |
74 | /// Show or hide the titles in the control
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:80:13: warning: main actor-isolated property 'showTitles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
78 | colorView.showCurrent = showCurrent
79 | colorView.showRecents = showRecents
80 | colorView.showTitles = showTitles
| `- warning: main actor-isolated property 'showTitles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
81 | colorView.showColorDropper = showColorDropper
82 | colorView.showColorPaletteButton = showColorPanelButton
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /// Show or hide the titles in the control
75 | @IBInspectable public var showTitles: Bool = true
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /// Show or hide the color dropper
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:81:13: warning: main actor-isolated property 'showColorDropper' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
79 | colorView.showRecents = showRecents
80 | colorView.showTitles = showTitles
81 | colorView.showColorDropper = showColorDropper
| `- warning: main actor-isolated property 'showColorDropper' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
82 | colorView.showColorPaletteButton = showColorPanelButton
83 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:78:28: note: mutation of this property is only permitted within the actor
76 |
77 | /// Show or hide the color dropper
78 | @IBInspectable public var showColorDropper: Bool = true
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /// Show or hide the 'show colors' button
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:82:13: warning: main actor-isolated property 'showColorPaletteButton' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
80 | colorView.showTitles = showTitles
81 | colorView.showColorDropper = showColorDropper
82 | colorView.showColorPaletteButton = showColorPanelButton
| `- warning: main actor-isolated property 'showColorPaletteButton' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 |
84 | colorView.updateLayoutForSelectedPalette()
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:81:28: note: mutation of this property is only permitted within the actor
79 |
80 | /// Show or hide the 'show colors' button
81 | @IBInspectable public var showColorPaletteButton: Bool = false
| `- note: mutation of this property is only permitted within the actor
82 |
83 | /// Cell width and height
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:84:13: warning: call to main actor-isolated instance method 'updateLayoutForSelectedPalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
82 | colorView.showColorPaletteButton = showColorPanelButton
83 |
84 | colorView.updateLayoutForSelectedPalette()
| `- warning: call to main actor-isolated instance method 'updateLayoutForSelectedPalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 |
86 | // Configure the popover
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerView+Private.swift:184:7: note: calls to instance method 'updateLayoutForSelectedPalette()' from outside of its actor context are implicitly asynchronous
182 |
183 | extension DSFColorPickerView {
184 | func updateLayoutForSelectedPalette() {
| |- note: calls to instance method 'updateLayoutForSelectedPalette()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
185 | self.allColorButtons.removeAll()
186 | self.recentColorButtons.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:88:28: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
86 | // Configure the popover
87 |
88 | let colorPickerPopover = NSPopover()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
89 | self.popover = colorPickerPopover
90 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:62:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
60 | #endif
61 |
62 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
63 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:91:22: warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
89 | self.popover = colorPickerPopover
90 |
91 | colorPickerPopover.contentViewController = viewController
| `- warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:121:56: note: mutation of this property is only permitted within the actor
119 | /* The view controller that manages the content of the popover. The default value is nil. You must set the content view controller of the popover to a non-nil value before the popover is shown. Changes to the popover's content view controller while the popover is shown will animate (provided animates is YES).
120 | */
121 | @property(nullable, retain) IBOutlet NSViewController *contentViewController;
| `- note: mutation of this property is only permitted within the actor
122 |
123 | /* The content size of the popover. The popover's content size is set to match the size of the content view when the content view controller is set. Changes to the content size of the popover will animate while the popover is shown (provided animates is YES).
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:92:22: warning: main actor-isolated property 'behavior' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
90 |
91 | colorPickerPopover.contentViewController = viewController
92 | colorPickerPopover.behavior = .semitransient
| `- warning: main actor-isolated property 'behavior' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
93 | colorPickerPopover.delegate = self
94 | colorPickerPopover.contentSize = colorView.fittingSize
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:113:29: note: mutation of this property is only permitted within the actor
111 | /* The behavior of the popover. The default behavior is NSPopoverBehaviorApplicationDefined. See the declaration of NSPopoverBehavior above for more information about popover behaviors.
112 | */
113 | @property NSPopoverBehavior behavior;
| `- note: mutation of this property is only permitted within the actor
114 |
115 | /* Should the popover be animated when it shows, closes, or appears to transition to a detachable window. This property also controls whether the popover animates when the content view or content size changes. AppKit does not guarantee which behaviors will be animated or that this property will be respected; it is regarded as a hint. The default value is YES.
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:93:22: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
91 | colorPickerPopover.contentViewController = viewController
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
94 | colorPickerPopover.contentSize = colorView.fittingSize
95 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:82:59: note: mutation of this property is only permitted within the actor
80 | /* The delegate of the popover. The delegate is not retained.
81 | */
82 | @property(nullable, weak) IBOutlet id <NSPopoverDelegate> delegate;
| `- note: mutation of this property is only permitted within the actor
83 |
84 | #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:94:22: warning: main actor-isolated property 'contentSize' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
94 | colorPickerPopover.contentSize = colorView.fittingSize
| `- warning: main actor-isolated property 'contentSize' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
95 |
96 | // And show it!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:125:18: note: mutation of this property is only permitted within the actor
123 | /* The content size of the popover. The popover's content size is set to match the size of the content view when the content view controller is set. Changes to the content size of the popover will animate while the popover is shown (provided animates is YES).
124 | */
125 | @property NSSize contentSize;
| `- note: mutation of this property is only permitted within the actor
126 |
127 | /* YES if the popover is being shown, NO otherwise. The popover is considered to be shown from the point when -showRelativeToRect:ofView:preferredEdge: is invoked until the popover is closed in response to an invocation of either -close or -performClose:.
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:94:46: warning: main actor-isolated property 'fittingSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
94 | colorPickerPopover.contentSize = colorView.fittingSize
| `- warning: main actor-isolated property 'fittingSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
95 |
96 | // And show it!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:373:29: note: property declared here
371 | /* like sizeToFit, but for arbitrary views, and returns the size rather than changing the view's frame. This considers everything in the receiver's subtree.
372 | */
373 | @property (readonly) NSSize fittingSize API_AVAILABLE(macos(10.7));
| `- note: property declared here
374 | @end
375 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:98:22: warning: call to main actor-isolated instance method 'show(relativeTo:of:preferredEdge:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
96 | // And show it!
97 |
98 | colorPickerPopover.show(relativeTo: sender.bounds, of: sender, preferredEdge: preferredEdge)
| `- warning: call to main actor-isolated instance method 'show(relativeTo:of:preferredEdge:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 |
AppKit.NSPopover.show:2:22: note: calls to instance method 'show(relativeTo:of:preferredEdge:)' from outside of its actor context are implicitly asynchronous
1 | class NSPopover {
2 | @MainActor open func show(relativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge: NSRectEdge)}
| |- note: calls to instance method 'show(relativeTo:of:preferredEdge:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:98:46: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
96 | // And show it!
97 |
98 | colorPickerPopover.show(relativeTo: sender.bounds, of: sender, preferredEdge: preferredEdge)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerTheme.swift:67:13: warning: let '__defaultPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | /// A palette that mimics the color palette in Preview
67 | private let __defaultPalette: DSFColorPickerPalette = {
| |- warning: let '__defaultPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__defaultPalette' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | let colorLiterals = [
69 | [#colorLiteral(red: 0.880, green: 0.929, blue: 0.831, alpha: 1), #colorLiteral(red: 0.970, green: 0.983, blue: 0.859, alpha: 1), #colorLiteral(red: 0.991, green: 0.994, blue: 0.862, alpha: 1), #colorLiteral(red: 0.997, green: 0.949, blue: 0.831, alpha: 1), #colorLiteral(red: 1.000, green: 0.928, blue: 0.833, alpha: 1), #colorLiteral(red: 1.000, green: 0.886, blue: 0.837, alpha: 1), #colorLiteral(red: 0.998, green: 0.857, blue: 0.848, alpha: 1), #colorLiteral(red: 0.971, green: 0.829, blue: 0.876, alpha: 1), #colorLiteral(red: 0.941, green: 0.790, blue: 0.998, alpha: 1), #colorLiteral(red: 0.846, green: 0.791, blue: 0.999, alpha: 1), #colorLiteral(red: 0.832, green: 0.887, blue: 0.998, alpha: 1), #colorLiteral(red: 0.791, green: 0.941, blue: 0.999, alpha: 1)],
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPalette.swift:25:14: note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
23 |
24 | /// A color palette
25 | public class DSFColorPickerPalette {
| `- note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
26 | /// The name of the palette
27 | public let name: String
[33/35] Compiling DSFColorPicker DSFColorPickerTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:65:16: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
63 |
64 | if let openPopover = self.popover {
65 | openPopover.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | self.popover = nil
67 | }
AppKit.NSPopover.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSPopover {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:69:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
67 | }
68 |
69 | self.popover = NSPopover()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | let viewController = DSFColorPickerPopoverViewController()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:62:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
60 | #endif
61 |
62 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
63 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:71:24: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
69 | self.popover = NSPopover()
70 |
71 | let viewController = DSFColorPickerPopoverViewController()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 |
73 | // Configure the color picker view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:75:34: warning: call to main actor-isolated instance method 'configure(name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | var colorView: DSFColorPickerView?
31 |
32 | internal func configure(name: String) -> DSFColorPickerView {
| |- note: calls to instance method 'configure(name:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSViewController'
33 | self.view = NSView()
34 | self.view.translatesAutoresizingMaskIntoConstraints = false
:
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
73 | // Configure the color picker view
74 |
75 | let colorView = viewController.configure(name: name)
| `- warning: call to main actor-isolated instance method 'configure(name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | colorView.selectedPalette = theme.first()
77 | colorView.showPalettes = showPalettes
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:76:13: warning: main actor-isolated property 'selectedPalette' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
74 |
75 | let colorView = viewController.configure(name: name)
76 | colorView.selectedPalette = theme.first()
| `- warning: main actor-isolated property 'selectedPalette' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 | colorView.showPalettes = showPalettes
78 | colorView.showCurrent = showCurrent
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:94:13: note: mutation of this property is only permitted within the actor
92 |
93 | /// The theme being used for the picker. If nil, uses the default built-in theme
94 | public var selectedPalette: DSFColorPickerPalette? {
| `- note: mutation of this property is only permitted within the actor
95 | didSet {
96 | self.updateLayoutForSelectedPalette()
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:77:13: warning: main actor-isolated property 'showPalettes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
75 | let colorView = viewController.configure(name: name)
76 | colorView.selectedPalette = theme.first()
77 | colorView.showPalettes = showPalettes
| `- warning: main actor-isolated property 'showPalettes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | colorView.showCurrent = showCurrent
79 | colorView.showRecents = showRecents
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:66:28: note: mutation of this property is only permitted within the actor
64 |
65 | /// Show or hide the themes popup button
66 | @IBInspectable public var showPalettes: Bool = false
| `- note: mutation of this property is only permitted within the actor
67 |
68 | /// Show or hide the button with the currently selected color
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:78:13: warning: main actor-isolated property 'showCurrent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
76 | colorView.selectedPalette = theme.first()
77 | colorView.showPalettes = showPalettes
78 | colorView.showCurrent = showCurrent
| `- warning: main actor-isolated property 'showCurrent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 | colorView.showRecents = showRecents
80 | colorView.showTitles = showTitles
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:69:28: note: mutation of this property is only permitted within the actor
67 |
68 | /// Show or hide the button with the currently selected color
69 | @IBInspectable public var showCurrent: Bool = true
| `- note: mutation of this property is only permitted within the actor
70 |
71 | /// Show or hide the recent colors list
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:79:13: warning: main actor-isolated property 'showRecents' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
77 | colorView.showPalettes = showPalettes
78 | colorView.showCurrent = showCurrent
79 | colorView.showRecents = showRecents
| `- warning: main actor-isolated property 'showRecents' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | colorView.showTitles = showTitles
81 | colorView.showColorDropper = showColorDropper
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:72:28: note: mutation of this property is only permitted within the actor
70 |
71 | /// Show or hide the recent colors list
72 | @IBInspectable public var showRecents: Bool = true
| `- note: mutation of this property is only permitted within the actor
73 |
74 | /// Show or hide the titles in the control
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:80:13: warning: main actor-isolated property 'showTitles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
78 | colorView.showCurrent = showCurrent
79 | colorView.showRecents = showRecents
80 | colorView.showTitles = showTitles
| `- warning: main actor-isolated property 'showTitles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
81 | colorView.showColorDropper = showColorDropper
82 | colorView.showColorPaletteButton = showColorPanelButton
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /// Show or hide the titles in the control
75 | @IBInspectable public var showTitles: Bool = true
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /// Show or hide the color dropper
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:81:13: warning: main actor-isolated property 'showColorDropper' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
79 | colorView.showRecents = showRecents
80 | colorView.showTitles = showTitles
81 | colorView.showColorDropper = showColorDropper
| `- warning: main actor-isolated property 'showColorDropper' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
82 | colorView.showColorPaletteButton = showColorPanelButton
83 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:78:28: note: mutation of this property is only permitted within the actor
76 |
77 | /// Show or hide the color dropper
78 | @IBInspectable public var showColorDropper: Bool = true
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /// Show or hide the 'show colors' button
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:82:13: warning: main actor-isolated property 'showColorPaletteButton' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
80 | colorView.showTitles = showTitles
81 | colorView.showColorDropper = showColorDropper
82 | colorView.showColorPaletteButton = showColorPanelButton
| `- warning: main actor-isolated property 'showColorPaletteButton' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 |
84 | colorView.updateLayoutForSelectedPalette()
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerView.swift:81:28: note: mutation of this property is only permitted within the actor
79 |
80 | /// Show or hide the 'show colors' button
81 | @IBInspectable public var showColorPaletteButton: Bool = false
| `- note: mutation of this property is only permitted within the actor
82 |
83 | /// Cell width and height
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:84:13: warning: call to main actor-isolated instance method 'updateLayoutForSelectedPalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
82 | colorView.showColorPaletteButton = showColorPanelButton
83 |
84 | colorView.updateLayoutForSelectedPalette()
| `- warning: call to main actor-isolated instance method 'updateLayoutForSelectedPalette()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 |
86 | // Configure the popover
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/DSFColorPickerView+Private.swift:184:7: note: calls to instance method 'updateLayoutForSelectedPalette()' from outside of its actor context are implicitly asynchronous
182 |
183 | extension DSFColorPickerView {
184 | func updateLayoutForSelectedPalette() {
| |- note: calls to instance method 'updateLayoutForSelectedPalette()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
185 | self.allColorButtons.removeAll()
186 | self.recentColorButtons.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:88:28: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
86 | // Configure the popover
87 |
88 | let colorPickerPopover = NSPopover()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
89 | self.popover = colorPickerPopover
90 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:62:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
60 | #endif
61 |
62 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
63 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
64 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:91:22: warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
89 | self.popover = colorPickerPopover
90 |
91 | colorPickerPopover.contentViewController = viewController
| `- warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:121:56: note: mutation of this property is only permitted within the actor
119 | /* The view controller that manages the content of the popover. The default value is nil. You must set the content view controller of the popover to a non-nil value before the popover is shown. Changes to the popover's content view controller while the popover is shown will animate (provided animates is YES).
120 | */
121 | @property(nullable, retain) IBOutlet NSViewController *contentViewController;
| `- note: mutation of this property is only permitted within the actor
122 |
123 | /* The content size of the popover. The popover's content size is set to match the size of the content view when the content view controller is set. Changes to the content size of the popover will animate while the popover is shown (provided animates is YES).
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:92:22: warning: main actor-isolated property 'behavior' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
90 |
91 | colorPickerPopover.contentViewController = viewController
92 | colorPickerPopover.behavior = .semitransient
| `- warning: main actor-isolated property 'behavior' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
93 | colorPickerPopover.delegate = self
94 | colorPickerPopover.contentSize = colorView.fittingSize
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:113:29: note: mutation of this property is only permitted within the actor
111 | /* The behavior of the popover. The default behavior is NSPopoverBehaviorApplicationDefined. See the declaration of NSPopoverBehavior above for more information about popover behaviors.
112 | */
113 | @property NSPopoverBehavior behavior;
| `- note: mutation of this property is only permitted within the actor
114 |
115 | /* Should the popover be animated when it shows, closes, or appears to transition to a detachable window. This property also controls whether the popover animates when the content view or content size changes. AppKit does not guarantee which behaviors will be animated or that this property will be respected; it is regarded as a hint. The default value is YES.
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:93:22: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
91 | colorPickerPopover.contentViewController = viewController
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
94 | colorPickerPopover.contentSize = colorView.fittingSize
95 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:82:59: note: mutation of this property is only permitted within the actor
80 | /* The delegate of the popover. The delegate is not retained.
81 | */
82 | @property(nullable, weak) IBOutlet id <NSPopoverDelegate> delegate;
| `- note: mutation of this property is only permitted within the actor
83 |
84 | #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:94:22: warning: main actor-isolated property 'contentSize' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
94 | colorPickerPopover.contentSize = colorView.fittingSize
| `- warning: main actor-isolated property 'contentSize' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
95 |
96 | // And show it!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPopover.h:125:18: note: mutation of this property is only permitted within the actor
123 | /* The content size of the popover. The popover's content size is set to match the size of the content view when the content view controller is set. Changes to the content size of the popover will animate while the popover is shown (provided animates is YES).
124 | */
125 | @property NSSize contentSize;
| `- note: mutation of this property is only permitted within the actor
126 |
127 | /* YES if the popover is being shown, NO otherwise. The popover is considered to be shown from the point when -showRelativeToRect:ofView:preferredEdge: is invoked until the popover is closed in response to an invocation of either -close or -performClose:.
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:94:46: warning: main actor-isolated property 'fittingSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
92 | colorPickerPopover.behavior = .semitransient
93 | colorPickerPopover.delegate = self
94 | colorPickerPopover.contentSize = colorView.fittingSize
| `- warning: main actor-isolated property 'fittingSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
95 |
96 | // And show it!
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:373:29: note: property declared here
371 | /* like sizeToFit, but for arbitrary views, and returns the size rather than changing the view's frame. This considers everything in the receiver's subtree.
372 | */
373 | @property (readonly) NSSize fittingSize API_AVAILABLE(macos(10.7));
| `- note: property declared here
374 | @end
375 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:98:22: warning: call to main actor-isolated instance method 'show(relativeTo:of:preferredEdge:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
96 | // And show it!
97 |
98 | colorPickerPopover.show(relativeTo: sender.bounds, of: sender, preferredEdge: preferredEdge)
| `- warning: call to main actor-isolated instance method 'show(relativeTo:of:preferredEdge:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 |
AppKit.NSPopover.show:2:22: note: calls to instance method 'show(relativeTo:of:preferredEdge:)' from outside of its actor context are implicitly asynchronous
1 | class NSPopover {
2 | @MainActor open func show(relativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge: NSRectEdge)}
| |- note: calls to instance method 'show(relativeTo:of:preferredEdge:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPopover.swift:98:46: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 |
52 | public func showPopover(
| `- note: add '@MainActor' to make instance method 'showPopover(named:theme:showPalettes:showCurrent:showRecents:showTitles:showColorDropper:showColorPanelButton:sender:preferredEdge:)' part of global actor 'MainActor'
53 | named name: String,
54 | theme: DSFColorPickerTheme,
:
96 | // And show it!
97 |
98 | colorPickerPopover.show(relativeTo: sender.bounds, of: sender, preferredEdge: preferredEdge)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerTheme.swift:67:13: warning: let '__defaultPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | /// A palette that mimics the color palette in Preview
67 | private let __defaultPalette: DSFColorPickerPalette = {
| |- warning: let '__defaultPalette' is not concurrency-safe because non-'Sendable' type 'DSFColorPickerPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__defaultPalette' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | let colorLiterals = [
69 | [#colorLiteral(red: 0.880, green: 0.929, blue: 0.831, alpha: 1), #colorLiteral(red: 0.970, green: 0.983, blue: 0.859, alpha: 1), #colorLiteral(red: 0.991, green: 0.994, blue: 0.862, alpha: 1), #colorLiteral(red: 0.997, green: 0.949, blue: 0.831, alpha: 1), #colorLiteral(red: 1.000, green: 0.928, blue: 0.833, alpha: 1), #colorLiteral(red: 1.000, green: 0.886, blue: 0.837, alpha: 1), #colorLiteral(red: 0.998, green: 0.857, blue: 0.848, alpha: 1), #colorLiteral(red: 0.971, green: 0.829, blue: 0.876, alpha: 1), #colorLiteral(red: 0.941, green: 0.790, blue: 0.998, alpha: 1), #colorLiteral(red: 0.846, green: 0.791, blue: 0.999, alpha: 1), #colorLiteral(red: 0.832, green: 0.887, blue: 0.998, alpha: 1), #colorLiteral(red: 0.791, green: 0.941, blue: 0.999, alpha: 1)],
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/DSFColorPickerPalette.swift:25:14: note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
23 |
24 | /// A color palette
25 | public class DSFColorPickerPalette {
| `- note: class 'DSFColorPickerPalette' does not conform to the 'Sendable' protocol
26 | /// The name of the palette
27 | public let name: String
[34/35] Compiling DSFColorPicker DSFColorPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/ColorPanelButton.swift:125:7: warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated requirement from protocol 'DSFAppearanceCacheNotifiable'; this is an error in the Swift 6 language mode
25 | // Internal class for displaying the system color panel and handling the
26 | // well interactions
27 | internal class ColorPanelButton: NSButton, DSFAppearanceCacheNotifiable {
| `- note: add '@preconcurrency' to the 'DSFAppearanceCacheNotifiable' conformance to defer isolation checking to run time
28 | override init(frame frameRect: NSRect) {
29 | super.init(frame: frameRect)
:
123 |
124 | // Called when the system appearance changes
125 | func appearanceDidChange() {
| |- warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated requirement from protocol 'DSFAppearanceCacheNotifiable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'appearanceDidChange()' to make this instance method not isolated to the actor
126 | self.usingEffectiveAppearance {
127 | if self.fakeWell.isActive {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFAppearanceManager/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:38:13: note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
36 | /// A protocol for receiving appearance notifications
37 | @objc public protocol DSFAppearanceCacheNotifiable: NSObjectProtocol {
38 | @objc func appearanceDidChange()
| `- note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/ColorPanelButton.swift:114:11: warning: main actor-isolated property 'colorChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
36 | // Color change handling
37 | var colorObserver: NSKeyValueObservation?
38 | var colorChange: ((NSColor) -> Void)?
| `- note: property declared here
39 |
40 | // Reentrancy lock
:
112 | self.colorObserver = self.fakeWell.observe(\.color, options: [.old, .new], changeHandler: { [weak self] obj, change in
113 | if let value = change.newValue {
114 | self?.colorChange?(value)
| `- warning: main actor-isolated property 'colorChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
115 | }
116 | })
[35/35] Compiling DSFColorPicker ColorPanelButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/ColorPanelButton.swift:125:7: warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated requirement from protocol 'DSFAppearanceCacheNotifiable'; this is an error in the Swift 6 language mode
25 | // Internal class for displaying the system color panel and handling the
26 | // well interactions
27 | internal class ColorPanelButton: NSButton, DSFAppearanceCacheNotifiable {
| `- note: add '@preconcurrency' to the 'DSFAppearanceCacheNotifiable' conformance to defer isolation checking to run time
28 | override init(frame frameRect: NSRect) {
29 | super.init(frame: frameRect)
:
123 |
124 | // Called when the system appearance changes
125 | func appearanceDidChange() {
| |- warning: main actor-isolated instance method 'appearanceDidChange()' cannot be used to satisfy nonisolated requirement from protocol 'DSFAppearanceCacheNotifiable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'appearanceDidChange()' to make this instance method not isolated to the actor
126 | self.usingEffectiveAppearance {
127 | if self.fakeWell.isActive {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DSFAppearanceManager/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:38:13: note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
36 | /// A protocol for receiving appearance notifications
37 | @objc public protocol DSFAppearanceCacheNotifiable: NSObjectProtocol {
38 | @objc func appearanceDidChange()
| `- note: mark the protocol requirement 'appearanceDidChange()' 'async' to allow actor-isolated conformances
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/private/ColorPanelButton.swift:114:11: warning: main actor-isolated property 'colorChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
36 | // Color change handling
37 | var colorObserver: NSKeyValueObservation?
38 | var colorChange: ((NSColor) -> Void)?
| `- note: property declared here
39 |
40 | // Reentrancy lock
:
112 | self.colorObserver = self.fakeWell.observe(\.color, options: [.old, .new], changeHandler: { [weak self] obj, change in
113 | if let value = change.newValue {
114 | self?.colorChange?(value)
| `- warning: main actor-isolated property 'colorChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
115 | }
116 | })
Build complete! (10.24s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/Info.plist
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "dsfcolorsampler",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "3.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/DSFColorSampler"
},
{
"identity" : "dsfappearancemanager",
"requirement" : {
"range" : [
{
"lower_bound" : "3.5.0",
"upper_bound" : "3.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/DSFAppearanceManager"
}
],
"manifest_display_name" : "DSFColorPicker",
"name" : "DSFColorPicker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFColorPicker",
"targets" : [
"DSFColorPicker"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFColorPicker",
"module_type" : "SwiftTarget",
"name" : "DSFColorPicker",
"path" : "Sources/DSFColorPicker",
"product_dependencies" : [
"DSFColorSampler",
"DSFAppearanceManager"
],
"product_memberships" : [
"DSFColorPicker"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFColorPicker/localizations/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"DSFColorPicker+SwiftUI.swift",
"DSFColorPickerPalette.swift",
"DSFColorPickerPopover.swift",
"DSFColorPickerTheme.swift",
"DSFColorPickerView.swift",
"private/ColorPanelButton.swift",
"private/DSFColorPickerButton+Private.swift",
"private/DSFColorPickerView+Private.swift",
"private/DSFColorSampler+icon.swift",
"private/NSColor+dsfextensions.swift",
"private/SemLock.swift",
"private/Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.