Build Information
Failed to build FluentUI, reference main (4ed319), with Swift 6.1 for macOS (SPM) on 29 Oct 2026 04:26:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:148:14: warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
| |- warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:150:14: warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
| |- warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:151:14: warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
| |- warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:64:16: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
32 | /// stepper for moving between months. Increment to move forwards, decrement to
33 | /// move backwards.
34 | class AccessibleCalendarHeaderStackView: NSStackView, NSAccessibilityStepper {
| `- note: add '@preconcurrency' to the 'NSAccessibilityStepper' conformance to defer isolation checking to run time
35 | init(monthYearLabel: NSTextField, leadingButton: NSButton, trailingButton: NSButton) {
36 | self.monthYearLabel = monthYearLabel
:
62 | }
63 |
64 | override func accessibilityLabel() -> String? {
| |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityLabel()' to make this instance method not isolated to the actor
65 | return monthYearLabel.accessibilityLabel()
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:56:16: warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
54 | // MARK: NSAccessibilityStepper methods
55 |
56 | override func accessibilityPerformIncrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformIncrement()' to make this instance method not isolated to the actor
57 | return performStep(trailingButton)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:60:16: warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
58 | }
59 |
60 | override func accessibilityPerformDecrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformDecrement()' to make this instance method not isolated to the actor
61 | return performStep(leadingButton)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:68:16: warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
66 | }
67 |
68 | override func accessibilityValue() -> Any? {
| |- warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityValue()' to make this instance method not isolated to the actor
69 | return monthYearLabel.accessibilityValue()
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:321:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
302 | }
303 |
304 | extension DatePickerController: DatePickerViewDelegate {
| `- note: add '@preconcurrency' to the 'DatePickerViewDelegate' conformance to defer isolation checking to run time
305 |
306 | /// Decides whether a given button should be highlighted.
:
319 | /// - datePicker: The date picker view.
320 | /// - date: The selected date. The time components will be discarded.
321 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDate:)' to make this instance method not isolated to the actor
322 | handleDateOnlySelection(of: date)
323 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:420:7: note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
418 | /// - datePicker: The date picker that sent the message.
419 | /// - date: The date that was selected.
420 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
421 |
422 | /// Tells the delegate that a new date and time was selected.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:330:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
328 | /// - datePicker: The date picker view.
329 | /// - date: The selected date.
330 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDateTime:)' to make this instance method not isolated to the actor
331 | handleDateTimeSelection(of: date, shouldNotifyDelegate: true)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:427:7: note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
425 | /// - datePicker: The date picker that sent the message.
426 | /// - date: The date and time that was selected.
427 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
428 |
429 | /// Tells the delegate that the next month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:338:7: warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
336 | /// - Parameters:
337 | /// - datePicker: The date picker view.
338 | func datePickerDidPressNext(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressNext' to make this instance method not isolated to the actor
339 | advanceMonth(by: 1)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:433:7: note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
431 | /// - Parameters:
432 | /// - datePicker: The date picker that sent the message.
433 | func datePickerDidPressNext(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
434 |
435 | /// Tells the delegate that the previous month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:346:7: warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
344 | /// - Parameters:
345 | /// - datePicker: The date picker view.
346 | func datePickerDidPressPrevious(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressPrevious' to make this instance method not isolated to the actor
347 | advanceMonth(by: -1)
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:439:7: note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
437 | /// - Parameters:
438 | /// - datePicker: The date picker that sent the message.
439 | func datePickerDidPressPrevious(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
440 |
441 | /// Asks the delegate whether a given calendar day button should be highlighted.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:312:7: warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
310 | /// - button: The calendar day button.
311 | /// - Returns: True if the button should highlight.
312 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool {
| |- warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:shouldHighlightButton:)' to make this instance method not isolated to the actor
313 | return button.day.date == selectedDate
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:447:7: note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
445 | /// - button: The calendar day button.
446 | /// - Returns: True if the button should be highlighted, false otherwise.
447 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool
| `- note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
448 | }
449 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:101:6: warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
99 |
100 | /// Currently selected date
101 | var selectedDate: Date {
| `- warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
102 | return calendar.startOfDay(for: selectedDateTime)
103 | }
:
371 | }
372 |
373 | extension DatePickerController: DatePickerViewDataSource {
| `- note: add '@preconcurrency' to the 'DatePickerViewDataSource' conformance to defer isolation checking to run time
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:469:6: note: requirement 'selectedDate' declared here
467 |
468 | /// Currently selected date
469 | var selectedDate: Date { get }
| `- note: requirement 'selectedDate' declared here
470 |
471 | /// Currently selected date and time
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:142:19: warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
140 |
141 | /// Internal storage of the currently selected date and time
142 | private(set) var selectedDateTime: Date
| `- warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:472:6: note: requirement 'selectedDateTime' declared here
470 |
471 | /// Currently selected date and time
472 | var selectedDateTime: Date { get }
| `- note: requirement 'selectedDateTime' declared here
473 |
474 | /// Currently visible date range
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:145:19: warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
145 | private(set) var visibleRange: (first: Date, last: Date) {
| `- warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
146 | didSet {
147 | assert(
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:475:6: note: requirement 'visibleRange' declared here
473 |
474 | /// Currently visible date range
475 | var visibleRange: (first: Date, last: Date) { get }
| `- note: requirement 'visibleRange' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:106:6: warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
104 |
105 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
106 | var paddedDays: PaddedCalendarDays {
| `- warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
107 | var dateComponents = calendar.dateComponents([.month, .year], from: visibleRange.first)
108 | dateComponents.weekday = calendar.firstWeekday
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:478:6: note: requirement 'paddedDays' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
478 | var paddedDays: PaddedCalendarDays { get }
| `- note: requirement 'paddedDays' declared here
479 |
480 | /// Calendar that's currently being used
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:376:6: warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
376 | var shortWeekdays: [String] {
| `- warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
377 | let weekdaySymbols = calendar.shortWeekdaySymbols
378 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:484:6: note: requirement 'shortWeekdays' declared here
482 |
483 | /// List of short weekday labels in the order to be displayed
484 | var shortWeekdays: [String] { get }
| `- note: requirement 'shortWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:382:6: warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
380 |
381 | /// List of long weekday labels, correctly ordered and localized.
382 | var longWeekdays: [String] {
| `- warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
383 | let weekdaySymbols = calendar.standaloneWeekdaySymbols
384 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:487:6: note: requirement 'longWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
487 | var longWeekdays: [String] { get }
| `- note: requirement 'longWeekdays' declared here
488 | }
489 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:360:7: warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
351 | }
352 |
353 | extension DatePickerView: CalendarViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarViewDelegate' conformance to defer isolation checking to run time
354 |
355 | /// Propagates date selection to the delegate if the view isn't animating.
:
358 | /// - calendarView: The calendar on which a date was selected.
359 | /// - date: The date that was selected.
360 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarView(_:didSelectDate:)' to make this instance method not isolated to the actor
361 | guard !isAnimating else {
362 | return
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarView.swift:149:7: note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
147 | /// - calendarView: The calendar on which a date was selected.
148 | /// - date: The date that was selected.
149 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
150 | }
151 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:376:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
367 | }
368 |
369 | extension DatePickerView: CalendarHeaderViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarHeaderViewDelegate' conformance to defer isolation checking to run time
370 |
371 | /// Passes a leading header button press down to the delegate if the view is not animating
:
374 | /// - calendarHeader: The header view that the button is in.
375 | /// - button: The button that was pressed.
376 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressLeading:)' to make this instance method not isolated to the actor
377 | if isAnimating {
378 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:207:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
205 | /// - calendarHeader: The calendar header.
206 | /// - button: The button that was pressed.
207 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
208 |
209 | /// Tells the delegate that the trailing arrow button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:391:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
389 | /// - calendarHeader: The header view that the button is in.
390 | /// - button: The button that was pressed.
391 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressTrailing:)' to make this instance method not isolated to the actor
392 | if isAnimating {
393 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:214:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
212 | /// - calendarHeader: The calendar header.
213 | /// - button: The button that was pressed.
214 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
215 | }
216 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:152:13: warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
| |- warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'linkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:154:13: warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
| |- warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'underlinedLinkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | .underlineStyle: NSUnderlineStyle.single.rawValue
156 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/MessageBar/MessageBar.swift:11:29: warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
9 | public struct MessageBar: View, TokenizedControlView {
10 | public typealias TokenSetKeyType = MessageBarTokenSet.Tokens
11 | @ObservedObject public var tokenSet: MessageBarTokenSet = .init()
| `- warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
12 |
13 | /// The fixed height of a single message bar row.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_common/Core/Theme/Tokens/TokenizedControl.swift:15:9: note: requirement 'tokenSet' declared here
13 |
14 | /// The set of tokens associated with this `TokenizedControl`.
15 | var tokenSet: TokenSetType { get }
| `- note: requirement 'tokenSet' declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:519:26: warning: static property 'colorProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
517 | /// Color provider object. When a Color Provider is present, colors will be retrieved from the provider vs. internally.
518 | /// Setting this property also updates `FluentTheme.shared` with the provider's brand colors.
519 | @objc public static var colorProvider: ColorProviding? {
| |- warning: static property 'colorProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'colorProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'colorProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
520 | didSet {
521 | FluentTheme.setSharedThemeColorProvider(colorProvider)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:526:21: warning: static property '_primary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
524 |
525 | /// These are initialized with the Communication Blue defaults.
526 | private static var _primary: NSColor = Colors.Palette.communicationBlue.color
| |- warning: static property '_primary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
527 | private static var _primaryShade10: NSColor = Colors.Palette.communicationBlueShade10.color
528 | private static var _primaryShade20: NSColor = Colors.Palette.communicationBlueShade20.color
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:527:21: warning: static property '_primaryShade10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
525 | /// These are initialized with the Communication Blue defaults.
526 | private static var _primary: NSColor = Colors.Palette.communicationBlue.color
527 | private static var _primaryShade10: NSColor = Colors.Palette.communicationBlueShade10.color
| |- warning: static property '_primaryShade10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primaryShade10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primaryShade10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
528 | private static var _primaryShade20: NSColor = Colors.Palette.communicationBlueShade20.color
529 | private static var _primaryShade30: NSColor = Colors.Palette.communicationBlueShade30.color
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:528:21: warning: static property '_primaryShade20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
526 | private static var _primary: NSColor = Colors.Palette.communicationBlue.color
527 | private static var _primaryShade10: NSColor = Colors.Palette.communicationBlueShade10.color
528 | private static var _primaryShade20: NSColor = Colors.Palette.communicationBlueShade20.color
| |- warning: static property '_primaryShade20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primaryShade20' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primaryShade20' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
529 | private static var _primaryShade30: NSColor = Colors.Palette.communicationBlueShade30.color
530 | private static var _primaryTint10: NSColor = Colors.Palette.communicationBlueTint10.color
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:529:21: warning: static property '_primaryShade30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
527 | private static var _primaryShade10: NSColor = Colors.Palette.communicationBlueShade10.color
528 | private static var _primaryShade20: NSColor = Colors.Palette.communicationBlueShade20.color
529 | private static var _primaryShade30: NSColor = Colors.Palette.communicationBlueShade30.color
| |- warning: static property '_primaryShade30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primaryShade30' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primaryShade30' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
530 | private static var _primaryTint10: NSColor = Colors.Palette.communicationBlueTint10.color
531 | private static var _primaryTint20: NSColor = Colors.Palette.communicationBlueTint20.color
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:530:21: warning: static property '_primaryTint10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
528 | private static var _primaryShade20: NSColor = Colors.Palette.communicationBlueShade20.color
529 | private static var _primaryShade30: NSColor = Colors.Palette.communicationBlueShade30.color
530 | private static var _primaryTint10: NSColor = Colors.Palette.communicationBlueTint10.color
| |- warning: static property '_primaryTint10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primaryTint10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primaryTint10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
531 | private static var _primaryTint20: NSColor = Colors.Palette.communicationBlueTint20.color
532 | private static var _primaryTint30: NSColor = Colors.Palette.communicationBlueTint30.color
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:531:21: warning: static property '_primaryTint20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
529 | private static var _primaryShade30: NSColor = Colors.Palette.communicationBlueShade30.color
530 | private static var _primaryTint10: NSColor = Colors.Palette.communicationBlueTint10.color
531 | private static var _primaryTint20: NSColor = Colors.Palette.communicationBlueTint20.color
| |- warning: static property '_primaryTint20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primaryTint20' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primaryTint20' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
532 | private static var _primaryTint30: NSColor = Colors.Palette.communicationBlueTint30.color
533 | private static var _primaryTint40: NSColor = Colors.Palette.communicationBlueTint40.color
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:532:21: warning: static property '_primaryTint30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
530 | private static var _primaryTint10: NSColor = Colors.Palette.communicationBlueTint10.color
531 | private static var _primaryTint20: NSColor = Colors.Palette.communicationBlueTint20.color
532 | private static var _primaryTint30: NSColor = Colors.Palette.communicationBlueTint30.color
| |- warning: static property '_primaryTint30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primaryTint30' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primaryTint30' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
533 | private static var _primaryTint40: NSColor = Colors.Palette.communicationBlueTint40.color
534 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/Colors.swift:533:21: warning: static property '_primaryTint40' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
531 | private static var _primaryTint20: NSColor = Colors.Palette.communicationBlueTint20.color
532 | private static var _primaryTint30: NSColor = Colors.Palette.communicationBlueTint30.color
533 | private static var _primaryTint40: NSColor = Colors.Palette.communicationBlueTint40.color
| |- warning: static property '_primaryTint40' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_primaryTint40' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_primaryTint40' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
534 | }
535 |
[86/106] Compiling FluentUI_macos ShadowInfo+AppKit.swift
[87/106] Compiling FluentUI_macos FluentUI_macOS.swift
[88/106] Compiling FluentUI_macos resource_bundle_accessor.swift
[89/106] Compiling FluentUI_macos MultilinePillPicker.swift
[90/106] Compiling FluentUI_macos MultilinePillPickerView.swift
[91/106] Compiling FluentUI_macos NotificationBarView.swift
[92/106] Compiling FluentUI_macos CalendarDayButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:64:16: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
32 | /// stepper for moving between months. Increment to move forwards, decrement to
33 | /// move backwards.
34 | class AccessibleCalendarHeaderStackView: NSStackView, NSAccessibilityStepper {
| `- note: add '@preconcurrency' to the 'NSAccessibilityStepper' conformance to defer isolation checking to run time
35 | init(monthYearLabel: NSTextField, leadingButton: NSButton, trailingButton: NSButton) {
36 | self.monthYearLabel = monthYearLabel
:
62 | }
63 |
64 | override func accessibilityLabel() -> String? {
| |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityLabel()' to make this instance method not isolated to the actor
65 | return monthYearLabel.accessibilityLabel()
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:56:16: warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
54 | // MARK: NSAccessibilityStepper methods
55 |
56 | override func accessibilityPerformIncrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformIncrement()' to make this instance method not isolated to the actor
57 | return performStep(trailingButton)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:60:16: warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
58 | }
59 |
60 | override func accessibilityPerformDecrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformDecrement()' to make this instance method not isolated to the actor
61 | return performStep(leadingButton)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:68:16: warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
66 | }
67 |
68 | override func accessibilityValue() -> Any? {
| |- warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityValue()' to make this instance method not isolated to the actor
69 | return monthYearLabel.accessibilityValue()
70 | }
[93/106] Compiling FluentUI_macos CalendarHeaderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:64:16: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
32 | /// stepper for moving between months. Increment to move forwards, decrement to
33 | /// move backwards.
34 | class AccessibleCalendarHeaderStackView: NSStackView, NSAccessibilityStepper {
| `- note: add '@preconcurrency' to the 'NSAccessibilityStepper' conformance to defer isolation checking to run time
35 | init(monthYearLabel: NSTextField, leadingButton: NSButton, trailingButton: NSButton) {
36 | self.monthYearLabel = monthYearLabel
:
62 | }
63 |
64 | override func accessibilityLabel() -> String? {
| |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityLabel()' to make this instance method not isolated to the actor
65 | return monthYearLabel.accessibilityLabel()
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:56:16: warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
54 | // MARK: NSAccessibilityStepper methods
55 |
56 | override func accessibilityPerformIncrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformIncrement()' to make this instance method not isolated to the actor
57 | return performStep(trailingButton)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:60:16: warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
58 | }
59 |
60 | override func accessibilityPerformDecrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformDecrement()' to make this instance method not isolated to the actor
61 | return performStep(leadingButton)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:68:16: warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
66 | }
67 |
68 | override func accessibilityValue() -> Any? {
| |- warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityValue()' to make this instance method not isolated to the actor
69 | return monthYearLabel.accessibilityValue()
70 | }
[94/106] Compiling FluentUI_macos CalendarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:64:16: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
32 | /// stepper for moving between months. Increment to move forwards, decrement to
33 | /// move backwards.
34 | class AccessibleCalendarHeaderStackView: NSStackView, NSAccessibilityStepper {
| `- note: add '@preconcurrency' to the 'NSAccessibilityStepper' conformance to defer isolation checking to run time
35 | init(monthYearLabel: NSTextField, leadingButton: NSButton, trailingButton: NSButton) {
36 | self.monthYearLabel = monthYearLabel
:
62 | }
63 |
64 | override func accessibilityLabel() -> String? {
| |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityLabel()' to make this instance method not isolated to the actor
65 | return monthYearLabel.accessibilityLabel()
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:56:16: warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
54 | // MARK: NSAccessibilityStepper methods
55 |
56 | override func accessibilityPerformIncrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformIncrement()' to make this instance method not isolated to the actor
57 | return performStep(trailingButton)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:60:16: warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
58 | }
59 |
60 | override func accessibilityPerformDecrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformDecrement()' to make this instance method not isolated to the actor
61 | return performStep(leadingButton)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:68:16: warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
66 | }
67 |
68 | override func accessibilityValue() -> Any? {
| |- warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilityStepper'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityValue()' to make this instance method not isolated to the actor
69 | return monthYearLabel.accessibilityValue()
70 | }
[95/106] Compiling FluentUI_macos DatePickerController.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:321:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
302 | }
303 |
304 | extension DatePickerController: DatePickerViewDelegate {
| `- note: add '@preconcurrency' to the 'DatePickerViewDelegate' conformance to defer isolation checking to run time
305 |
306 | /// Decides whether a given button should be highlighted.
:
319 | /// - datePicker: The date picker view.
320 | /// - date: The selected date. The time components will be discarded.
321 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDate:)' to make this instance method not isolated to the actor
322 | handleDateOnlySelection(of: date)
323 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:420:7: note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
418 | /// - datePicker: The date picker that sent the message.
419 | /// - date: The date that was selected.
420 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
421 |
422 | /// Tells the delegate that a new date and time was selected.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:330:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
328 | /// - datePicker: The date picker view.
329 | /// - date: The selected date.
330 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDateTime:)' to make this instance method not isolated to the actor
331 | handleDateTimeSelection(of: date, shouldNotifyDelegate: true)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:427:7: note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
425 | /// - datePicker: The date picker that sent the message.
426 | /// - date: The date and time that was selected.
427 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
428 |
429 | /// Tells the delegate that the next month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:338:7: warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
336 | /// - Parameters:
337 | /// - datePicker: The date picker view.
338 | func datePickerDidPressNext(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressNext' to make this instance method not isolated to the actor
339 | advanceMonth(by: 1)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:433:7: note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
431 | /// - Parameters:
432 | /// - datePicker: The date picker that sent the message.
433 | func datePickerDidPressNext(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
434 |
435 | /// Tells the delegate that the previous month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:346:7: warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
344 | /// - Parameters:
345 | /// - datePicker: The date picker view.
346 | func datePickerDidPressPrevious(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressPrevious' to make this instance method not isolated to the actor
347 | advanceMonth(by: -1)
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:439:7: note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
437 | /// - Parameters:
438 | /// - datePicker: The date picker that sent the message.
439 | func datePickerDidPressPrevious(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
440 |
441 | /// Asks the delegate whether a given calendar day button should be highlighted.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:312:7: warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
310 | /// - button: The calendar day button.
311 | /// - Returns: True if the button should highlight.
312 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool {
| |- warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:shouldHighlightButton:)' to make this instance method not isolated to the actor
313 | return button.day.date == selectedDate
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:447:7: note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
445 | /// - button: The calendar day button.
446 | /// - Returns: True if the button should be highlighted, false otherwise.
447 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool
| `- note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
448 | }
449 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:101:6: warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
99 |
100 | /// Currently selected date
101 | var selectedDate: Date {
| `- warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
102 | return calendar.startOfDay(for: selectedDateTime)
103 | }
:
371 | }
372 |
373 | extension DatePickerController: DatePickerViewDataSource {
| `- note: add '@preconcurrency' to the 'DatePickerViewDataSource' conformance to defer isolation checking to run time
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:469:6: note: requirement 'selectedDate' declared here
467 |
468 | /// Currently selected date
469 | var selectedDate: Date { get }
| `- note: requirement 'selectedDate' declared here
470 |
471 | /// Currently selected date and time
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:142:19: warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
140 |
141 | /// Internal storage of the currently selected date and time
142 | private(set) var selectedDateTime: Date
| `- warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:472:6: note: requirement 'selectedDateTime' declared here
470 |
471 | /// Currently selected date and time
472 | var selectedDateTime: Date { get }
| `- note: requirement 'selectedDateTime' declared here
473 |
474 | /// Currently visible date range
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:145:19: warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
145 | private(set) var visibleRange: (first: Date, last: Date) {
| `- warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
146 | didSet {
147 | assert(
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:475:6: note: requirement 'visibleRange' declared here
473 |
474 | /// Currently visible date range
475 | var visibleRange: (first: Date, last: Date) { get }
| `- note: requirement 'visibleRange' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:106:6: warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
104 |
105 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
106 | var paddedDays: PaddedCalendarDays {
| `- warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
107 | var dateComponents = calendar.dateComponents([.month, .year], from: visibleRange.first)
108 | dateComponents.weekday = calendar.firstWeekday
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:478:6: note: requirement 'paddedDays' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
478 | var paddedDays: PaddedCalendarDays { get }
| `- note: requirement 'paddedDays' declared here
479 |
480 | /// Calendar that's currently being used
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:376:6: warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
376 | var shortWeekdays: [String] {
| `- warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
377 | let weekdaySymbols = calendar.shortWeekdaySymbols
378 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:484:6: note: requirement 'shortWeekdays' declared here
482 |
483 | /// List of short weekday labels in the order to be displayed
484 | var shortWeekdays: [String] { get }
| `- note: requirement 'shortWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:382:6: warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
380 |
381 | /// List of long weekday labels, correctly ordered and localized.
382 | var longWeekdays: [String] {
| `- warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
383 | let weekdaySymbols = calendar.standaloneWeekdaySymbols
384 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:487:6: note: requirement 'longWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
487 | var longWeekdays: [String] { get }
| `- note: requirement 'longWeekdays' declared here
488 | }
489 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:360:7: warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
351 | }
352 |
353 | extension DatePickerView: CalendarViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarViewDelegate' conformance to defer isolation checking to run time
354 |
355 | /// Propagates date selection to the delegate if the view isn't animating.
:
358 | /// - calendarView: The calendar on which a date was selected.
359 | /// - date: The date that was selected.
360 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarView(_:didSelectDate:)' to make this instance method not isolated to the actor
361 | guard !isAnimating else {
362 | return
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarView.swift:149:7: note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
147 | /// - calendarView: The calendar on which a date was selected.
148 | /// - date: The date that was selected.
149 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
150 | }
151 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:376:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
367 | }
368 |
369 | extension DatePickerView: CalendarHeaderViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarHeaderViewDelegate' conformance to defer isolation checking to run time
370 |
371 | /// Passes a leading header button press down to the delegate if the view is not animating
:
374 | /// - calendarHeader: The header view that the button is in.
375 | /// - button: The button that was pressed.
376 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressLeading:)' to make this instance method not isolated to the actor
377 | if isAnimating {
378 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:207:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
205 | /// - calendarHeader: The calendar header.
206 | /// - button: The button that was pressed.
207 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
208 |
209 | /// Tells the delegate that the trailing arrow button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:391:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
389 | /// - calendarHeader: The header view that the button is in.
390 | /// - button: The button that was pressed.
391 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressTrailing:)' to make this instance method not isolated to the actor
392 | if isAnimating {
393 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:214:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
212 | /// - calendarHeader: The calendar header.
213 | /// - button: The button that was pressed.
214 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
215 | }
216 |
[96/106] Compiling FluentUI_macos DatePickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:321:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
302 | }
303 |
304 | extension DatePickerController: DatePickerViewDelegate {
| `- note: add '@preconcurrency' to the 'DatePickerViewDelegate' conformance to defer isolation checking to run time
305 |
306 | /// Decides whether a given button should be highlighted.
:
319 | /// - datePicker: The date picker view.
320 | /// - date: The selected date. The time components will be discarded.
321 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDate:)' to make this instance method not isolated to the actor
322 | handleDateOnlySelection(of: date)
323 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:420:7: note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
418 | /// - datePicker: The date picker that sent the message.
419 | /// - date: The date that was selected.
420 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
421 |
422 | /// Tells the delegate that a new date and time was selected.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:330:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
328 | /// - datePicker: The date picker view.
329 | /// - date: The selected date.
330 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDateTime:)' to make this instance method not isolated to the actor
331 | handleDateTimeSelection(of: date, shouldNotifyDelegate: true)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:427:7: note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
425 | /// - datePicker: The date picker that sent the message.
426 | /// - date: The date and time that was selected.
427 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
428 |
429 | /// Tells the delegate that the next month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:338:7: warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
336 | /// - Parameters:
337 | /// - datePicker: The date picker view.
338 | func datePickerDidPressNext(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressNext' to make this instance method not isolated to the actor
339 | advanceMonth(by: 1)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:433:7: note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
431 | /// - Parameters:
432 | /// - datePicker: The date picker that sent the message.
433 | func datePickerDidPressNext(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
434 |
435 | /// Tells the delegate that the previous month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:346:7: warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
344 | /// - Parameters:
345 | /// - datePicker: The date picker view.
346 | func datePickerDidPressPrevious(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressPrevious' to make this instance method not isolated to the actor
347 | advanceMonth(by: -1)
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:439:7: note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
437 | /// - Parameters:
438 | /// - datePicker: The date picker that sent the message.
439 | func datePickerDidPressPrevious(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
440 |
441 | /// Asks the delegate whether a given calendar day button should be highlighted.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:312:7: warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
310 | /// - button: The calendar day button.
311 | /// - Returns: True if the button should highlight.
312 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool {
| |- warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:shouldHighlightButton:)' to make this instance method not isolated to the actor
313 | return button.day.date == selectedDate
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:447:7: note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
445 | /// - button: The calendar day button.
446 | /// - Returns: True if the button should be highlighted, false otherwise.
447 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool
| `- note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
448 | }
449 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:101:6: warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
99 |
100 | /// Currently selected date
101 | var selectedDate: Date {
| `- warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
102 | return calendar.startOfDay(for: selectedDateTime)
103 | }
:
371 | }
372 |
373 | extension DatePickerController: DatePickerViewDataSource {
| `- note: add '@preconcurrency' to the 'DatePickerViewDataSource' conformance to defer isolation checking to run time
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:469:6: note: requirement 'selectedDate' declared here
467 |
468 | /// Currently selected date
469 | var selectedDate: Date { get }
| `- note: requirement 'selectedDate' declared here
470 |
471 | /// Currently selected date and time
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:142:19: warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
140 |
141 | /// Internal storage of the currently selected date and time
142 | private(set) var selectedDateTime: Date
| `- warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:472:6: note: requirement 'selectedDateTime' declared here
470 |
471 | /// Currently selected date and time
472 | var selectedDateTime: Date { get }
| `- note: requirement 'selectedDateTime' declared here
473 |
474 | /// Currently visible date range
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:145:19: warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
145 | private(set) var visibleRange: (first: Date, last: Date) {
| `- warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
146 | didSet {
147 | assert(
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:475:6: note: requirement 'visibleRange' declared here
473 |
474 | /// Currently visible date range
475 | var visibleRange: (first: Date, last: Date) { get }
| `- note: requirement 'visibleRange' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:106:6: warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
104 |
105 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
106 | var paddedDays: PaddedCalendarDays {
| `- warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
107 | var dateComponents = calendar.dateComponents([.month, .year], from: visibleRange.first)
108 | dateComponents.weekday = calendar.firstWeekday
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:478:6: note: requirement 'paddedDays' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
478 | var paddedDays: PaddedCalendarDays { get }
| `- note: requirement 'paddedDays' declared here
479 |
480 | /// Calendar that's currently being used
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:376:6: warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
376 | var shortWeekdays: [String] {
| `- warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
377 | let weekdaySymbols = calendar.shortWeekdaySymbols
378 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:484:6: note: requirement 'shortWeekdays' declared here
482 |
483 | /// List of short weekday labels in the order to be displayed
484 | var shortWeekdays: [String] { get }
| `- note: requirement 'shortWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:382:6: warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
380 |
381 | /// List of long weekday labels, correctly ordered and localized.
382 | var longWeekdays: [String] {
| `- warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
383 | let weekdaySymbols = calendar.standaloneWeekdaySymbols
384 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:487:6: note: requirement 'longWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
487 | var longWeekdays: [String] { get }
| `- note: requirement 'longWeekdays' declared here
488 | }
489 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:360:7: warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
351 | }
352 |
353 | extension DatePickerView: CalendarViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarViewDelegate' conformance to defer isolation checking to run time
354 |
355 | /// Propagates date selection to the delegate if the view isn't animating.
:
358 | /// - calendarView: The calendar on which a date was selected.
359 | /// - date: The date that was selected.
360 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarView(_:didSelectDate:)' to make this instance method not isolated to the actor
361 | guard !isAnimating else {
362 | return
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarView.swift:149:7: note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
147 | /// - calendarView: The calendar on which a date was selected.
148 | /// - date: The date that was selected.
149 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
150 | }
151 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:376:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
367 | }
368 |
369 | extension DatePickerView: CalendarHeaderViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarHeaderViewDelegate' conformance to defer isolation checking to run time
370 |
371 | /// Passes a leading header button press down to the delegate if the view is not animating
:
374 | /// - calendarHeader: The header view that the button is in.
375 | /// - button: The button that was pressed.
376 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressLeading:)' to make this instance method not isolated to the actor
377 | if isAnimating {
378 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:207:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
205 | /// - calendarHeader: The calendar header.
206 | /// - button: The button that was pressed.
207 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
208 |
209 | /// Tells the delegate that the trailing arrow button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:391:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
389 | /// - calendarHeader: The header view that the button is in.
390 | /// - button: The button that was pressed.
391 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressTrailing:)' to make this instance method not isolated to the actor
392 | if isAnimating {
393 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:214:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
212 | /// - calendarHeader: The calendar header.
213 | /// - button: The button that was pressed.
214 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
215 | }
216 |
[97/106] Compiling FluentUI_macos FilledTemplateImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:321:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
302 | }
303 |
304 | extension DatePickerController: DatePickerViewDelegate {
| `- note: add '@preconcurrency' to the 'DatePickerViewDelegate' conformance to defer isolation checking to run time
305 |
306 | /// Decides whether a given button should be highlighted.
:
319 | /// - datePicker: The date picker view.
320 | /// - date: The selected date. The time components will be discarded.
321 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDate:)' to make this instance method not isolated to the actor
322 | handleDateOnlySelection(of: date)
323 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:420:7: note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
418 | /// - datePicker: The date picker that sent the message.
419 | /// - date: The date that was selected.
420 | func datePicker(_ datePicker: DatePickerView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDate:)' 'async' to allow actor-isolated conformances
421 |
422 | /// Tells the delegate that a new date and time was selected.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:330:7: warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
328 | /// - datePicker: The date picker view.
329 | /// - date: The selected date.
330 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date) {
| |- warning: main actor-isolated instance method 'datePicker(_:didSelectDateTime:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:didSelectDateTime:)' to make this instance method not isolated to the actor
331 | handleDateTimeSelection(of: date, shouldNotifyDelegate: true)
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:427:7: note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
425 | /// - datePicker: The date picker that sent the message.
426 | /// - date: The date and time that was selected.
427 | func datePicker(_ datePicker: DatePickerView, didSelectDateTime date: Date)
| `- note: mark the protocol requirement 'datePicker(_:didSelectDateTime:)' 'async' to allow actor-isolated conformances
428 |
429 | /// Tells the delegate that the next month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:338:7: warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
336 | /// - Parameters:
337 | /// - datePicker: The date picker view.
338 | func datePickerDidPressNext(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressNext' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressNext' to make this instance method not isolated to the actor
339 | advanceMonth(by: 1)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:433:7: note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
431 | /// - Parameters:
432 | /// - datePicker: The date picker that sent the message.
433 | func datePickerDidPressNext(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressNext' 'async' to allow actor-isolated conformances
434 |
435 | /// Tells the delegate that the previous month button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:346:7: warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
344 | /// - Parameters:
345 | /// - datePicker: The date picker view.
346 | func datePickerDidPressPrevious(_ datePicker: DatePickerView) {
| |- warning: main actor-isolated instance method 'datePickerDidPressPrevious' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePickerDidPressPrevious' to make this instance method not isolated to the actor
347 | advanceMonth(by: -1)
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:439:7: note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
437 | /// - Parameters:
438 | /// - datePicker: The date picker that sent the message.
439 | func datePickerDidPressPrevious(_ datePicker: DatePickerView)
| `- note: mark the protocol requirement 'datePickerDidPressPrevious' 'async' to allow actor-isolated conformances
440 |
441 | /// Asks the delegate whether a given calendar day button should be highlighted.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:312:7: warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
310 | /// - button: The calendar day button.
311 | /// - Returns: True if the button should highlight.
312 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool {
| |- warning: main actor-isolated instance method 'datePicker(_:shouldHighlightButton:)' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'datePicker(_:shouldHighlightButton:)' to make this instance method not isolated to the actor
313 | return button.day.date == selectedDate
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:447:7: note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
445 | /// - button: The calendar day button.
446 | /// - Returns: True if the button should be highlighted, false otherwise.
447 | func datePicker(_ datePicker: DatePickerView, shouldHighlightButton button: CalendarDayButton) -> Bool
| `- note: mark the protocol requirement 'datePicker(_:shouldHighlightButton:)' 'async' to allow actor-isolated conformances
448 | }
449 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:101:6: warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
99 |
100 | /// Currently selected date
101 | var selectedDate: Date {
| `- warning: main actor-isolated property 'selectedDate' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
102 | return calendar.startOfDay(for: selectedDateTime)
103 | }
:
371 | }
372 |
373 | extension DatePickerController: DatePickerViewDataSource {
| `- note: add '@preconcurrency' to the 'DatePickerViewDataSource' conformance to defer isolation checking to run time
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:469:6: note: requirement 'selectedDate' declared here
467 |
468 | /// Currently selected date
469 | var selectedDate: Date { get }
| `- note: requirement 'selectedDate' declared here
470 |
471 | /// Currently selected date and time
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:142:19: warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
140 |
141 | /// Internal storage of the currently selected date and time
142 | private(set) var selectedDateTime: Date
| `- warning: main actor-isolated property 'selectedDateTime' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:472:6: note: requirement 'selectedDateTime' declared here
470 |
471 | /// Currently selected date and time
472 | var selectedDateTime: Date { get }
| `- note: requirement 'selectedDateTime' declared here
473 |
474 | /// Currently visible date range
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:145:19: warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
143 |
144 | /// First and last day of the month that is currently visible.
145 | private(set) var visibleRange: (first: Date, last: Date) {
| `- warning: main actor-isolated property 'visibleRange' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
146 | didSet {
147 | assert(
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:475:6: note: requirement 'visibleRange' declared here
473 |
474 | /// Currently visible date range
475 | var visibleRange: (first: Date, last: Date) { get }
| `- note: requirement 'visibleRange' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:106:6: warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
104 |
105 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
106 | var paddedDays: PaddedCalendarDays {
| `- warning: main actor-isolated property 'paddedDays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
107 | var dateComponents = calendar.dateComponents([.month, .year], from: visibleRange.first)
108 | dateComponents.weekday = calendar.firstWeekday
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:478:6: note: requirement 'paddedDays' declared here
476 |
477 | /// All current month days, possibly padded by days from the previous and next month to align with the calendar grid
478 | var paddedDays: PaddedCalendarDays { get }
| `- note: requirement 'paddedDays' declared here
479 |
480 | /// Calendar that's currently being used
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:376:6: warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
374 |
375 | /// List of short weekday labels, correctly ordered and localized.
376 | var shortWeekdays: [String] {
| `- warning: main actor-isolated property 'shortWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
377 | let weekdaySymbols = calendar.shortWeekdaySymbols
378 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:484:6: note: requirement 'shortWeekdays' declared here
482 |
483 | /// List of short weekday labels in the order to be displayed
484 | var shortWeekdays: [String] { get }
| `- note: requirement 'shortWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerController.swift:382:6: warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
380 |
381 | /// List of long weekday labels, correctly ordered and localized.
382 | var longWeekdays: [String] {
| `- warning: main actor-isolated property 'longWeekdays' cannot be used to satisfy nonisolated requirement from protocol 'DatePickerViewDataSource'; this is an error in the Swift 6 language mode
383 | let weekdaySymbols = calendar.standaloneWeekdaySymbols
384 | return rotateWeekdays(weekdaySymbols)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:487:6: note: requirement 'longWeekdays' declared here
485 |
486 | /// List of long weekday labels in the order to be displayed
487 | var longWeekdays: [String] { get }
| `- note: requirement 'longWeekdays' declared here
488 | }
489 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:360:7: warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
351 | }
352 |
353 | extension DatePickerView: CalendarViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarViewDelegate' conformance to defer isolation checking to run time
354 |
355 | /// Propagates date selection to the delegate if the view isn't animating.
:
358 | /// - calendarView: The calendar on which a date was selected.
359 | /// - date: The date that was selected.
360 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date) {
| |- warning: main actor-isolated instance method 'calendarView(_:didSelectDate:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarView(_:didSelectDate:)' to make this instance method not isolated to the actor
361 | guard !isAnimating else {
362 | return
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarView.swift:149:7: note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
147 | /// - calendarView: The calendar on which a date was selected.
148 | /// - date: The date that was selected.
149 | func calendarView(_ calendarView: CalendarView, didSelectDate date: Date)
| `- note: mark the protocol requirement 'calendarView(_:didSelectDate:)' 'async' to allow actor-isolated conformances
150 | }
151 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:376:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
367 | }
368 |
369 | extension DatePickerView: CalendarHeaderViewDelegate {
| `- note: add '@preconcurrency' to the 'CalendarHeaderViewDelegate' conformance to defer isolation checking to run time
370 |
371 | /// Passes a leading header button press down to the delegate if the view is not animating
:
374 | /// - calendarHeader: The header view that the button is in.
375 | /// - button: The button that was pressed.
376 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressLeading:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressLeading:)' to make this instance method not isolated to the actor
377 | if isAnimating {
378 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:207:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
205 | /// - calendarHeader: The calendar header.
206 | /// - button: The button that was pressed.
207 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressLeading button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressLeading:)' 'async' to allow actor-isolated conformances
208 |
209 | /// Tells the delegate that the trailing arrow button was pressed.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/DatePickerView.swift:391:7: warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
389 | /// - calendarHeader: The header view that the button is in.
390 | /// - button: The button that was pressed.
391 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton) {
| |- warning: main actor-isolated instance method 'calendarHeaderView(_:didPressTrailing:)' cannot be used to satisfy nonisolated requirement from protocol 'CalendarHeaderViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'calendarHeaderView(_:didPressTrailing:)' to make this instance method not isolated to the actor
392 | if isAnimating {
393 | completePagingAnimation(completionHandler: {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/DatePicker/CalendarHeaderView.swift:214:7: note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
212 | /// - calendarHeader: The calendar header.
213 | /// - button: The button that was pressed.
214 | func calendarHeaderView(_ calendarHeader: CalendarHeaderView, didPressTrailing button: NSButton)
| `- note: mark the protocol requirement 'calendarHeaderView(_:didPressTrailing:)' 'async' to allow actor-isolated conformances
215 | }
216 |
[98/106] Compiling FluentUI_macos Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:152:13: warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
| |- warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'linkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:154:13: warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
| |- warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'underlinedLinkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | .underlineStyle: NSUnderlineStyle.single.rawValue
156 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/MessageBar/MessageBar.swift:11:29: warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
9 | public struct MessageBar: View, TokenizedControlView {
10 | public typealias TokenSetKeyType = MessageBarTokenSet.Tokens
11 | @ObservedObject public var tokenSet: MessageBarTokenSet = .init()
| `- warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
12 |
13 | /// The fixed height of a single message bar row.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_common/Core/Theme/Tokens/TokenizedControl.swift:15:9: note: requirement 'tokenSet' declared here
13 |
14 | /// The set of tokens associated with this `TokenizedControl`.
15 | var tokenSet: TokenSetType { get }
| `- note: requirement 'tokenSet' declared here
16 | }
17 |
[99/106] Compiling FluentUI_macos MessageBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:152:13: warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
| |- warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'linkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:154:13: warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
| |- warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'underlinedLinkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | .underlineStyle: NSUnderlineStyle.single.rawValue
156 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/MessageBar/MessageBar.swift:11:29: warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
9 | public struct MessageBar: View, TokenizedControlView {
10 | public typealias TokenSetKeyType = MessageBarTokenSet.Tokens
11 | @ObservedObject public var tokenSet: MessageBarTokenSet = .init()
| `- warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
12 |
13 | /// The fixed height of a single message bar row.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_common/Core/Theme/Tokens/TokenizedControl.swift:15:9: note: requirement 'tokenSet' declared here
13 |
14 | /// The set of tokens associated with this `TokenizedControl`.
15 | var tokenSet: TokenSetType { get }
| `- note: requirement 'tokenSet' declared here
16 | }
17 |
[100/106] Compiling FluentUI_macos MessageBarConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:152:13: warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
| |- warning: let 'linkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'linkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Link/Link.swift:154:13: warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
152 | private let linkAttributes: [NSAttributedString.Key: Any] = [:]
153 |
154 | private let underlinedLinkAttributes: [NSAttributedString.Key: Any] = [
| |- warning: let 'underlinedLinkAttributes' is not concurrency-safe because non-'Sendable' type '[NSAttributedString.Key : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'underlinedLinkAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | .underlineStyle: NSUnderlineStyle.single.rawValue
156 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/MessageBar/MessageBar.swift:11:29: warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
9 | public struct MessageBar: View, TokenizedControlView {
10 | public typealias TokenSetKeyType = MessageBarTokenSet.Tokens
11 | @ObservedObject public var tokenSet: MessageBarTokenSet = .init()
| `- warning: main actor-isolated property 'tokenSet' cannot be used to satisfy nonisolated requirement from protocol 'TokenizedControl'; this is an error in the Swift 6 language mode
12 |
13 | /// The fixed height of a single message bar row.
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_common/Core/Theme/Tokens/TokenizedControl.swift:15:9: note: requirement 'tokenSet' declared here
13 |
14 | /// The set of tokens associated with this `TokenizedControl`.
15 | var tokenSet: TokenSetType { get }
| `- note: requirement 'tokenSet' declared here
16 | }
17 |
[101/106] Compiling FluentUI_macos AvatarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:15: warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
353 | }
354 |
355 | private func updateAppearance(_ appearance: NSAppearance? = nil) {
| |- note: calls to instance method 'updateAppearance' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
356 | if displayStyle != .initials {
357 | return
:
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
566 | }
567 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:39: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
566 | }
567 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:90:44: note: property declared here
88 | /* This returns the appearance that would be used when drawing the receiver, taking inherited appearances into account.
89 | */
90 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.9));
| `- note: property declared here
91 |
92 | @end
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:584:37: warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 |
440 | /// the font size in the initials view will be scaled to this fraction of the avatarSize passed in
441 | static let fontSizeScalingDefault: CGFloat = 0.4
| `- note: static property declared here
442 |
443 | /// fall back to this text in the initials view when no usable name or email is provided
:
581 | /// - Returns: the appropriate font size to fit within a circle of the given size
582 | /// - note: font sizes will be rounded to the nearest 0.5 point for rendering fidelity
583 | private func fontSize(forCircleDiameter diameter: CGFloat) -> CGFloat {
| `- note: add '@MainActor' to make global function 'fontSize(forCircleDiameter:)' part of global actor 'MainActor'
584 | return floor(diameter * AvatarView.fontSizeScalingDefault * 2) / 2
| `- warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
585 | }
586 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:147:14: warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
| |- warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:148:14: warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
| |- warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:150:14: warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
| |- warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:151:14: warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
| |- warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:124:10: warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
122 | object: nil,
123 | queue: nil) {[weak self] _ in
124 | self?.increaseContrastEnabled = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast
| `- warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
125 | }
126 | }
:
684 |
685 | /// Indicates if the `Increase Contrast` Accessibility Setting is enabled
686 | var increaseContrastEnabled: Bool = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast {
| `- note: mutation of this property is only permitted within the actor
687 | didSet {
688 | guard oldValue != increaseContrastEnabled else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:380:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
378 | object: window,
379 | queue: nil) {[weak self] _ in
380 | self?.isWindowInactive = true
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
381 | }
382 |
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:386:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
384 | object: window,
385 | queue: nil) {[weak self] _ in
386 | self?.isWindowInactive = false
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
387 | }
388 | }
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
[102/106] Compiling FluentUI_macos BadgeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:15: warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
353 | }
354 |
355 | private func updateAppearance(_ appearance: NSAppearance? = nil) {
| |- note: calls to instance method 'updateAppearance' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
356 | if displayStyle != .initials {
357 | return
:
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
566 | }
567 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:39: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
566 | }
567 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:90:44: note: property declared here
88 | /* This returns the appearance that would be used when drawing the receiver, taking inherited appearances into account.
89 | */
90 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.9));
| `- note: property declared here
91 |
92 | @end
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:584:37: warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 |
440 | /// the font size in the initials view will be scaled to this fraction of the avatarSize passed in
441 | static let fontSizeScalingDefault: CGFloat = 0.4
| `- note: static property declared here
442 |
443 | /// fall back to this text in the initials view when no usable name or email is provided
:
581 | /// - Returns: the appropriate font size to fit within a circle of the given size
582 | /// - note: font sizes will be rounded to the nearest 0.5 point for rendering fidelity
583 | private func fontSize(forCircleDiameter diameter: CGFloat) -> CGFloat {
| `- note: add '@MainActor' to make global function 'fontSize(forCircleDiameter:)' part of global actor 'MainActor'
584 | return floor(diameter * AvatarView.fontSizeScalingDefault * 2) / 2
| `- warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
585 | }
586 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:147:14: warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
| |- warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:148:14: warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
| |- warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:150:14: warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
| |- warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:151:14: warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
| |- warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:124:10: warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
122 | object: nil,
123 | queue: nil) {[weak self] _ in
124 | self?.increaseContrastEnabled = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast
| `- warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
125 | }
126 | }
:
684 |
685 | /// Indicates if the `Increase Contrast` Accessibility Setting is enabled
686 | var increaseContrastEnabled: Bool = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast {
| `- note: mutation of this property is only permitted within the actor
687 | didSet {
688 | guard oldValue != increaseContrastEnabled else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:380:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
378 | object: window,
379 | queue: nil) {[weak self] _ in
380 | self?.isWindowInactive = true
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
381 | }
382 |
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:386:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
384 | object: window,
385 | queue: nil) {[weak self] _ in
386 | self?.isWindowInactive = false
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
387 | }
388 | }
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
[103/106] Compiling FluentUI_macos Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:15: warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
353 | }
354 |
355 | private func updateAppearance(_ appearance: NSAppearance? = nil) {
| |- note: calls to instance method 'updateAppearance' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
356 | if displayStyle != .initials {
357 | return
:
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
566 | }
567 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:39: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
566 | }
567 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:90:44: note: property declared here
88 | /* This returns the appearance that would be used when drawing the receiver, taking inherited appearances into account.
89 | */
90 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.9));
| `- note: property declared here
91 |
92 | @end
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:584:37: warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 |
440 | /// the font size in the initials view will be scaled to this fraction of the avatarSize passed in
441 | static let fontSizeScalingDefault: CGFloat = 0.4
| `- note: static property declared here
442 |
443 | /// fall back to this text in the initials view when no usable name or email is provided
:
581 | /// - Returns: the appropriate font size to fit within a circle of the given size
582 | /// - note: font sizes will be rounded to the nearest 0.5 point for rendering fidelity
583 | private func fontSize(forCircleDiameter diameter: CGFloat) -> CGFloat {
| `- note: add '@MainActor' to make global function 'fontSize(forCircleDiameter:)' part of global actor 'MainActor'
584 | return floor(diameter * AvatarView.fontSizeScalingDefault * 2) / 2
| `- warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
585 | }
586 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:147:14: warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
| |- warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:148:14: warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
| |- warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:150:14: warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
| |- warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:151:14: warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
| |- warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:124:10: warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
122 | object: nil,
123 | queue: nil) {[weak self] _ in
124 | self?.increaseContrastEnabled = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast
| `- warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
125 | }
126 | }
:
684 |
685 | /// Indicates if the `Increase Contrast` Accessibility Setting is enabled
686 | var increaseContrastEnabled: Bool = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast {
| `- note: mutation of this property is only permitted within the actor
687 | didSet {
688 | guard oldValue != increaseContrastEnabled else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:380:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
378 | object: window,
379 | queue: nil) {[weak self] _ in
380 | self?.isWindowInactive = true
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
381 | }
382 |
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:386:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
384 | object: window,
385 | queue: nil) {[weak self] _ in
386 | self?.isWindowInactive = false
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
387 | }
388 | }
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
[104/106] Compiling FluentUI_macos GlassButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:15: warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
353 | }
354 |
355 | private func updateAppearance(_ appearance: NSAppearance? = nil) {
| |- note: calls to instance method 'updateAppearance' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
356 | if displayStyle != .initials {
357 | return
:
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: call to main actor-isolated instance method 'updateAppearance' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
566 | }
567 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:565:39: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
563 | return
564 | }
565 | strongSelf.updateAppearance(window.effectiveAppearance)
| `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
566 | }
567 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:90:44: note: property declared here
88 | /* This returns the appearance that would be used when drawing the receiver, taking inherited appearances into account.
89 | */
90 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.9));
| `- note: property declared here
91 |
92 | @end
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/AvatarView/AvatarView.swift:584:37: warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 |
440 | /// the font size in the initials view will be scaled to this fraction of the avatarSize passed in
441 | static let fontSizeScalingDefault: CGFloat = 0.4
| `- note: static property declared here
442 |
443 | /// fall back to this text in the initials view when no usable name or email is provided
:
581 | /// - Returns: the appropriate font size to fit within a circle of the given size
582 | /// - note: font sizes will be rounded to the nearest 0.5 point for rendering fidelity
583 | private func fontSize(forCircleDiameter diameter: CGFloat) -> CGFloat {
| `- note: add '@MainActor' to make global function 'fontSize(forCircleDiameter:)' part of global actor 'MainActor'
584 | return floor(diameter * AvatarView.fontSizeScalingDefault * 2) / 2
| `- warning: main actor-isolated static property 'fontSizeScalingDefault' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
585 | }
586 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:147:14: warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
| |- warning: static property 'defaultBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:148:14: warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
146 | private struct Constants {
147 | static let defaultBackgroundColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueTint40.color, dark: Colors.Palette.communicationBlueTint30.color)
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
| |- warning: static property 'defaultTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:150:14: warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
148 | static let defaultTextColor: LegacyDynamicColor = .init(light: Colors.Palette.communicationBlueShade20.color, dark: Colors.Palette.communicationBlueShade20.color)
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
| |- warning: static property 'primaryBackgroundColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryBackgroundColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Badge/BadgeView.swift:151:14: warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | static let primaryBackgroundColor: LegacyDynamicColor = .init(light: Colors.primaryTint40, dark: Colors.primaryTint30)
151 | static let primaryTextColor: LegacyDynamicColor = .init(light: Colors.primary, dark: Colors.primaryShade20)
| |- warning: static property 'primaryTextColor' is not concurrency-safe because non-'Sendable' type 'LegacyDynamicColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryTextColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Core/LegacyDynamicColor.swift:22:14: note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
20 | /// Note: this class will be removed once the core iOS color system has been migrated cross-platform.
21 | @objc(MSFLegacyDynamicColor)
22 | public class LegacyDynamicColor: NSObject {
| `- note: class 'LegacyDynamicColor' does not conform to the 'Sendable' protocol
23 |
24 | @objc public let light: NSColor
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:124:10: warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
122 | object: nil,
123 | queue: nil) {[weak self] _ in
124 | self?.increaseContrastEnabled = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast
| `- warning: main actor-isolated property 'increaseContrastEnabled' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
125 | }
126 | }
:
684 |
685 | /// Indicates if the `Increase Contrast` Accessibility Setting is enabled
686 | var increaseContrastEnabled: Bool = NSWorkspace.shared.accessibilityDisplayShouldIncreaseContrast {
| `- note: mutation of this property is only permitted within the actor
687 | didSet {
688 | guard oldValue != increaseContrastEnabled else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:380:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
378 | object: window,
379 | queue: nil) {[weak self] _ in
380 | self?.isWindowInactive = true
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
381 | }
382 |
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/Button.swift:386:11: warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
384 | object: window,
385 | queue: nil) {[weak self] _ in
386 | self?.isWindowInactive = false
| `- warning: main actor-isolated property 'isWindowInactive' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
387 | }
388 | }
:
672 |
673 | /// Indicates if the Window that the button view has been added to, is inactive/backgrounded
674 | var isWindowInactive: Bool = false {
| `- note: mutation of this property is only permitted within the actor
675 | didSet {
676 | guard oldValue != isWindowInactive else {
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/CONTRIBUTING.md
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/FluentUI-Info.plist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/README.md
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Resources/FluentUI-macos.xcassets
warning: 'spi-builder-workspace': found 17 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TwoLineTitleView/TwoLineTitleView.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/CONTRIBUTING.md
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TableView/TableView.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/BottomCommanding/BottomCommanding.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Avatar/Avatar.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/README.md
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Notification/Notification.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Core/Core.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/OtherCells/OtherCells.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/HUD/HUD.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TextField/TextField.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Navigation/Navigation.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Tooltip/Tooltip.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Resources/FluentUI-ios.xcassets
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TableViewListShared/TableViewListShared.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/BarButtonItems/BarButtonItems.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Resources/Localization/CultureMapping.json
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
[2/31] Emitting module FluentUI_common
[3/34] Compiling FluentUI_common UIColor+Extensions.swift
[4/34] Compiling FluentUI_common UIFont+Extensions.swift
[5/34] Compiling FluentUI_common View+Modifiers.swift
[6/34] Compiling FluentUI_common LinearGradientInfo.swift
[7/34] Compiling FluentUI_common ShadowInfo.swift
[8/34] Compiling FluentUI_common TokenSet.swift
[9/34] Compiling FluentUI_common FluentTheme+Tokens.swift
[10/34] Compiling FluentUI_common FluentTheme+iOS.swift
[11/34] Compiling FluentUI_common FluentTheme+visionOS.swift
[12/34] Compiling FluentUI_common FontInfo+iOS.swift
[13/34] Compiling FluentUI_common GlobalTokens+iOS.swift
[14/34] Compiling FluentUI_common FluentTheme+macOS.swift
[15/34] Compiling FluentUI_common FontInfo+macOS.swift
[16/34] Compiling FluentUI_common GlobalTokens+macOS.swift
[17/34] Compiling FluentUI_common FluentTheme.swift
[18/34] Compiling FluentUI_common TokenizedControl.swift
[19/34] Compiling FluentUI_common TokenizedControlView.swift
[20/34] Compiling FluentUI_common AnimationSynchronizer.swift
[21/34] Compiling FluentUI_common PlatformThemeProviding.swift
[22/34] Compiling FluentUI_common ControlTokenSet.swift
[23/34] Compiling FluentUI_common DynamicColor.swift
[24/34] Compiling FluentUI_common FluentThemeable.swift
[25/34] Compiling FluentUI_common PlatformFontInfoProviding.swift
[26/34] Compiling FluentUI_common PlatformGlobalTokensProviding.swift
[27/34] Compiling FluentUI_common Color+Extensions.swift
[28/34] Compiling FluentUI_common NSColor+Extensions.swift
[29/34] Compiling FluentUI_common NSFont+Extensions.swift
[30/34] Compiling FluentUI_common EmptyTokenSet.swift
[31/34] Compiling FluentUI_common FontInfo.swift
[32/34] Compiling FluentUI_common GlobalTokens.swift
[33/63] Compiling FluentUI_macos ControlHostingView.swift
[34/63] Compiling FluentUI_macos Apperance+Theme.swift
[35/63] Compiling FluentUI_macos FluentUIResources.swift
[36/66] Compiling FluentUI_macos Separator.swift
[37/66] Compiling FluentUI_macos ColorProviding.swift
[38/66] Compiling FluentUI_macos Colors.swift
[39/66] Compiling FluentUI_macos MessageBarStack.swift
[40/66] Compiling FluentUI_macos MessageBarStackHostingView.swift
[41/66] Compiling FluentUI_macos MessageBarTokenSet.swift
[42/66] Emitting module FluentUI_macos
[43/66] Compiling FluentUI_macos Link.swift
[44/66] Compiling FluentUI_macos MessageBar.swift
[45/66] Compiling FluentUI_macos MessageBarConfiguration.swift
[46/66] Compiling FluentUI_macos ShadowInfo+AppKit.swift
[47/66] Compiling FluentUI_macos FluentUI_macOS.swift
[48/66] Compiling FluentUI_macos resource_bundle_accessor.swift
[49/66] Compiling FluentUI_macos CalendarDayButton.swift
[50/66] Compiling FluentUI_macos CalendarHeaderView.swift
[51/66] Compiling FluentUI_macos CalendarView.swift
[52/66] Compiling FluentUI_macos DatePickerController.swift
[53/66] Compiling FluentUI_macos DatePickerView.swift
[54/66] Compiling FluentUI_macos FilledTemplateImageView.swift
[55/66] Compiling FluentUI_macos LegacyDynamicColor.swift
[56/66] Compiling FluentUI_macos FluentTheme+AppKit.swift
[57/66] Compiling FluentUI_macos GlobalTokens+AppKit.swift
[58/66] Compiling FluentUI_macos MultilinePillPicker.swift
[59/66] Compiling FluentUI_macos MultilinePillPickerView.swift
[60/66] Compiling FluentUI_macos NotificationBarView.swift
[61/66] Compiling FluentUI_macos AvatarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
[62/66] Compiling FluentUI_macos BadgeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
[63/66] Compiling FluentUI_macos Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
[64/66] Compiling FluentUI_macos GlassButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:355:17: error: type 'NSButton.BezelStyle' has no member 'glass'
353 | // A bordered push-in button enables system bezel drawing and highlighting.
354 | isBordered = true
355 | bezelStyle = .glass
| `- error: type 'NSButton.BezelStyle' has no member 'glass'
356 | borderShape = .capsule
357 | setButtonType(.momentaryPushIn)
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:356:3: error: cannot find 'borderShape' in scope
354 | isBordered = true
355 | bezelStyle = .glass
356 | borderShape = .capsule
| `- error: cannot find 'borderShape' in scope
357 | setButtonType(.momentaryPushIn)
358 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:375:4: error: cannot find 'tintProminence' in scope
373 | case .primary:
374 | bezelColor = accentColor
375 | tintProminence = .primary
| `- error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Components/Button/GlassButton.swift:378:4: error: cannot find 'tintProminence' in scope
376 | default:
377 | bezelColor = nil
378 | tintProminence = .automatic
| `- error: cannot find 'tintProminence' in scope
379 | }
380 | }
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/Tests/FluentUI_iOS_Tests/Info.plist
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/FluentUI-Info.plist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/CONTRIBUTING.md
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/README.md
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_macOS/Resources/FluentUI-macos.xcassets
warning: 'spi-builder-workspace': found 17 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/BarButtonItems/BarButtonItems.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Navigation/Navigation.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/HUD/HUD.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TextField/TextField.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Tooltip/Tooltip.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TableView/TableView.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TableViewListShared/TableViewListShared.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Core/Core.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Notification/Notification.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/Avatar/Avatar.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Resources/FluentUI-ios.xcassets
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Resources/Localization/CultureMapping.json
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/TwoLineTitleView/TwoLineTitleView.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/BottomCommanding/BottomCommanding.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/README.md
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/Components/OtherCells/OtherCells.resources.xcfilelist
/Users/admin/builder/spi-builder-workspace/Sources/FluentUI_iOS/CONTRIBUTING.md
BUILD FAILURE 6.1 macosSpm